public class RecordingTransactionBase
extends org.apache.fluo.api.client.AbstractTransactionBase
implements org.apache.fluo.api.client.TransactionBase
TransactionBase that logs all transactions operations (GET, SET, or
DELETE) in a TxLog that can be used for exports| Modifier and Type | Method and Description |
|---|---|
void |
delete(org.apache.fluo.api.data.Bytes row,
org.apache.fluo.api.data.Column col) |
org.apache.fluo.api.data.Bytes |
get(org.apache.fluo.api.data.Bytes row,
org.apache.fluo.api.data.Column col)
Logs GETs for returned Row/Columns.
|
Map<org.apache.fluo.api.data.Column,org.apache.fluo.api.data.Bytes> |
get(org.apache.fluo.api.data.Bytes row,
Set<org.apache.fluo.api.data.Column> columns)
Logs GETs for returned Row/Columns.
|
Map<org.apache.fluo.api.data.Bytes,Map<org.apache.fluo.api.data.Column,org.apache.fluo.api.data.Bytes>> |
get(Collection<org.apache.fluo.api.data.Bytes> rows,
Set<org.apache.fluo.api.data.Column> columns)
Logs GETs for returned Row/Columns.
|
Map<org.apache.fluo.api.data.RowColumn,org.apache.fluo.api.data.Bytes> |
get(Collection<org.apache.fluo.api.data.RowColumn> rowColumns) |
long |
getStartTimestamp() |
TxLog |
getTxLog() |
org.apache.fluo.api.client.scanner.ScannerBuilder |
scanner()
Logs GETs for Row/Columns returned by iterators.
|
void |
set(org.apache.fluo.api.data.Bytes row,
org.apache.fluo.api.data.Column col,
org.apache.fluo.api.data.Bytes value) |
void |
setWeakNotification(org.apache.fluo.api.data.Bytes row,
org.apache.fluo.api.data.Column col) |
static RecordingTransactionBase |
wrap(org.apache.fluo.api.client.TransactionBase txb)
Creates a RecordingTransactionBase by wrapping an existing TransactionBase
|
static RecordingTransactionBase |
wrap(org.apache.fluo.api.client.TransactionBase txb,
Predicate<LogEntry> filter)
Creates a RecordingTransactionBase using the provided LogEntry filter function and existing
TransactionBase
|
delete, set, setWeakNotificationget, get, get, gets, gets, gets, gets, gets, gets, getsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void setWeakNotification(org.apache.fluo.api.data.Bytes row,
org.apache.fluo.api.data.Column col)
setWeakNotification in interface org.apache.fluo.api.client.TransactionBasepublic void set(org.apache.fluo.api.data.Bytes row,
org.apache.fluo.api.data.Column col,
org.apache.fluo.api.data.Bytes value)
throws org.apache.fluo.api.exceptions.AlreadySetException
set in interface org.apache.fluo.api.client.TransactionBaseorg.apache.fluo.api.exceptions.AlreadySetExceptionpublic void delete(org.apache.fluo.api.data.Bytes row,
org.apache.fluo.api.data.Column col)
delete in interface org.apache.fluo.api.client.TransactionBasepublic org.apache.fluo.api.data.Bytes get(org.apache.fluo.api.data.Bytes row,
org.apache.fluo.api.data.Column col)
get in interface org.apache.fluo.api.client.SnapshotBasepublic Map<org.apache.fluo.api.data.Column,org.apache.fluo.api.data.Bytes> get(org.apache.fluo.api.data.Bytes row, Set<org.apache.fluo.api.data.Column> columns)
get in interface org.apache.fluo.api.client.SnapshotBasepublic Map<org.apache.fluo.api.data.Bytes,Map<org.apache.fluo.api.data.Column,org.apache.fluo.api.data.Bytes>> get(Collection<org.apache.fluo.api.data.Bytes> rows, Set<org.apache.fluo.api.data.Column> columns)
get in interface org.apache.fluo.api.client.SnapshotBasepublic Map<org.apache.fluo.api.data.RowColumn,org.apache.fluo.api.data.Bytes> get(Collection<org.apache.fluo.api.data.RowColumn> rowColumns)
get in interface org.apache.fluo.api.client.SnapshotBasepublic org.apache.fluo.api.client.scanner.ScannerBuilder scanner()
scanner in interface org.apache.fluo.api.client.SnapshotBasepublic long getStartTimestamp()
getStartTimestamp in interface org.apache.fluo.api.client.SnapshotBasepublic TxLog getTxLog()
public static RecordingTransactionBase wrap(org.apache.fluo.api.client.TransactionBase txb)
public static RecordingTransactionBase wrap(org.apache.fluo.api.client.TransactionBase txb, Predicate<LogEntry> filter)
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.