Package com.palantir.atlasdb.cell.api
Interface TransactionKeyValueService
-
public interface TransactionKeyValueService
Key-Value API to be used with user data tables. Close cousin ofKeyValueService
but severely restricts the API available to transactions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<Map<Cell,Value>>
getAsync(TableReference tableRef, Map<Cell,Long> timestampByCell)
Map<RangeRequest,com.palantir.util.paging.TokenBackedBasicResultsPage<RowResult<Value>,byte[]>>
getFirstBatchForRanges(TableReference tableRef, Iterable<RangeRequest> rangeRequests, long timestamp)
Map<Cell,Long>
getLatestTimestamps(TableReference tableRef, Map<Cell,Long> timestampByCell)
com.palantir.common.base.ClosableIterator<RowResult<Value>>
getRange(TableReference tableRef, RangeRequest rangeRequest, long timestamp)
Map<Cell,Value>
getRows(TableReference tableRef, Iterable<byte[]> rows, ColumnSelection columnSelection, long timestamp)
Map<byte[],RowColumnRangeIterator>
getRowsColumnRange(TableReference tableRef, Iterable<byte[]> rows, BatchColumnRangeSelection batchColumnRangeSelection, long timestamp)
RowColumnRangeIterator
getRowsColumnRange(TableReference tableRef, Iterable<byte[]> rows, ColumnRangeSelection columnRangeSelection, int cellBatchHint, long timestamp)
void
multiPut(Map<TableReference,? extends Map<Cell,byte[]>> valuesByTable, long timestamp)
-
-
-
Method Detail
-
getFirstBatchForRanges
Map<RangeRequest,com.palantir.util.paging.TokenBackedBasicResultsPage<RowResult<Value>,byte[]>> getFirstBatchForRanges(TableReference tableRef, Iterable<RangeRequest> rangeRequests, long timestamp)
-
getRows
Map<Cell,Value> getRows(TableReference tableRef, Iterable<byte[]> rows, ColumnSelection columnSelection, long timestamp)
-
getRowsColumnRange
Map<byte[],RowColumnRangeIterator> getRowsColumnRange(TableReference tableRef, Iterable<byte[]> rows, BatchColumnRangeSelection batchColumnRangeSelection, long timestamp)
-
getRowsColumnRange
RowColumnRangeIterator getRowsColumnRange(TableReference tableRef, Iterable<byte[]> rows, ColumnRangeSelection columnRangeSelection, int cellBatchHint, long timestamp)
-
getRange
@MustBeClosed com.palantir.common.base.ClosableIterator<RowResult<Value>> getRange(TableReference tableRef, RangeRequest rangeRequest, long timestamp)
-
getAsync
com.google.common.util.concurrent.ListenableFuture<Map<Cell,Value>> getAsync(TableReference tableRef, Map<Cell,Long> timestampByCell)
-
getLatestTimestamps
Map<Cell,Long> getLatestTimestamps(TableReference tableRef, Map<Cell,Long> timestampByCell)
-
multiPut
void multiPut(Map<TableReference,? extends Map<Cell,byte[]>> valuesByTable, long timestamp) throws KeyAlreadyExistsException
- Throws:
KeyAlreadyExistsException
-
-