public class TxLog extends Object
RecordingTransaction
Constructor and Description |
---|
TxLog() |
Modifier and Type | Method and Description |
---|---|
void |
add(LogEntry entry)
Adds LogEntry to TxLog
|
void |
filteredAdd(LogEntry entry,
Predicate<LogEntry> filter)
Adds LogEntry to TxLog if it passes filter
|
List<LogEntry> |
getLogEntries()
Returns all LogEntry in TxLog
|
Map<org.apache.fluo.api.data.RowColumn,org.apache.fluo.api.data.Bytes> |
getOperationMap(LogEntry.Operation op)
Returns a map of RowColumn changes given an operation
|
boolean |
isEmpty()
Returns true if TxLog is empty
|
public void add(LogEntry entry)
public void filteredAdd(LogEntry entry, Predicate<LogEntry> filter)
public boolean isEmpty()
public Map<org.apache.fluo.api.data.RowColumn,org.apache.fluo.api.data.Bytes> getOperationMap(LogEntry.Operation op)
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.