public class HBaseTransaction extends AbstractTransaction<HBaseCellId>
AbstractTransaction.VisibilityLevelTransaction.StatusreadTimestamp, writeTimestamp| Constructor and Description |
|---|
HBaseTransaction(long transactionId,
long readTimestamp,
AbstractTransaction.VisibilityLevel visibilityLevel,
long epoch,
Set<HBaseCellId> writeSet,
Set<HBaseCellId> conflictFreeWriteSet,
AbstractTransactionManager tm,
boolean isLowLatency) |
HBaseTransaction(long transactionId,
long epoch,
Set<HBaseCellId> writeSet,
Set<HBaseCellId> conflictFreeWriteSet,
AbstractTransactionManager tm,
boolean isLowLatency) |
HBaseTransaction(long transactionId,
long epoch,
Set<HBaseCellId> writeSet,
Set<HBaseCellId> conflictFreeWriteSet,
AbstractTransactionManager tm,
long readTimestamp,
long writeTimestamp,
boolean isLowLatency) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
void |
flushTables()
Flushes pending operations for tables touched by transaction
|
addConflictFreeWriteSetElement, addWriteSetElement, appendMetadata, checkpoint, getCommitTimestamp, getConflictFreeWriteSet, getEpoch, getMetadata, getReadTimestamp, getStartTimestamp, getStatus, getTransactionId, getTransactionManager, getVisibilityLevel, getWriteSet, getWriteTimestamp, isLowLatency, isRollbackOnly, setCommitTimestamp, setMetadata, setRollbackOnly, setStatus, setVisibilityLevel, toStringpublic HBaseTransaction(long transactionId,
long epoch,
Set<HBaseCellId> writeSet,
Set<HBaseCellId> conflictFreeWriteSet,
AbstractTransactionManager tm,
boolean isLowLatency)
public HBaseTransaction(long transactionId,
long epoch,
Set<HBaseCellId> writeSet,
Set<HBaseCellId> conflictFreeWriteSet,
AbstractTransactionManager tm,
long readTimestamp,
long writeTimestamp,
boolean isLowLatency)
public HBaseTransaction(long transactionId,
long readTimestamp,
AbstractTransaction.VisibilityLevel visibilityLevel,
long epoch,
Set<HBaseCellId> writeSet,
Set<HBaseCellId> conflictFreeWriteSet,
AbstractTransactionManager tm,
boolean isLowLatency)
public void cleanup()
cleanup in class AbstractTransaction<HBaseCellId>public void flushTables()
throws IOException
IOException - in case of any I/O related issuesCopyright © 2011–2020 Apache Software Foundation. All rights reserved.