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)
-
putFile
Ample.TabletMutator putFile(StoredTabletFile 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(TabletMetadata.Location location)
-
deleteLocation
Ample.TabletMutator deleteLocation(TabletMetadata.Location location)
-
putZooLock
Ample.TabletMutator putZooLock(ServiceLock 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(TabletFile bulkref)
-
putChopped
Ample.TabletMutator putChopped()
-
putSuspension
Ample.TabletMutator putSuspension(TServerInstance tserver, long suspensionTime)
-
deleteSuspension
Ample.TabletMutator deleteSuspension()
-
putExternalCompaction
Ample.TabletMutator putExternalCompaction(ExternalCompactionId ecid, ExternalCompactionMetadata ecMeta)
-
deleteExternalCompaction
Ample.TabletMutator deleteExternalCompaction(ExternalCompactionId ecid)
-
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.
-
-