Interface Ample.TabletMutator
-
- Enclosing interface:
- Ample
public static interface Ample.TabletMutator
Interface for changing a tablets persistent data.
-
-
Method Summary
-
-
-
Method Detail
-
putPrevEndRow
Ample.TabletMutator putPrevEndRow(org.apache.hadoop.io.Text per)
-
putFile
Ample.TabletMutator putFile(TabletFile path, DataFileValue dfv)
-
deleteFile
Ample.TabletMutator deleteFile(StoredTabletFile path)
-
putScan
Ample.TabletMutator putScan(TabletFile path)
-
deleteScan
Ample.TabletMutator deleteScan(StoredTabletFile path)
-
putCompactionId
Ample.TabletMutator putCompactionId(long compactionId)
-
putFlushId
Ample.TabletMutator putFlushId(long flushId)
-
putLocation
Ample.TabletMutator putLocation(Ample.TServer tserver, TabletMetadata.LocationType type)
-
deleteLocation
Ample.TabletMutator deleteLocation(Ample.TServer tserver, TabletMetadata.LocationType type)
-
putZooLock
Ample.TabletMutator putZooLock(ZooLock zooLock)
-
putDirName
Ample.TabletMutator putDirName(String dirName)
-
putWal
Ample.TabletMutator putWal(LogEntry logEntry)
-
deleteWal
Ample.TabletMutator deleteWal(String wal)
-
deleteWal
Ample.TabletMutator deleteWal(LogEntry logEntry)
-
putTime
Ample.TabletMutator putTime(MetadataTime time)
-
putBulkFile
Ample.TabletMutator putBulkFile(TabletFile bulkref, long tid)
-
deleteBulkFile
Ample.TabletMutator deleteBulkFile(Ample.FileMeta bulkref)
-
putChopped
Ample.TabletMutator putChopped()
-
mutate
void mutate()
This method persist (or queues for persisting) previous put and deletes against this object. Unless this method is called, previous calls will never be persisted. The purpose of this method is to prevent partial changes in the case of an exception.Implementors of this interface should ensure either all requested changes are persisted or none.
After this method is called, calling any method on this object will result in an exception.
-
-