public class StandaloneDataset extends AbstractDataset implements BatchReadable<byte[],byte[]>, RecordScannable<KeyValue<byte[],byte[]>>
| Constructor and Description |
|---|
StandaloneDataset(String instanceName,
KeyValueTable table) |
| Modifier and Type | Method and Description |
|---|---|
SplitReader<byte[],byte[]> |
createSplitReader(Split split) |
RecordScanner<KeyValue<byte[],byte[]>> |
createSplitRecordScanner(Split split) |
byte[] |
get(byte[] key) |
Type |
getRecordType() |
List<Split> |
getSplits() |
void |
put(byte[] key,
byte[] value) |
close, commitTx, getName, getTransactionAwareName, getTxChanges, postTxCommit, rollbackTx, setMetricsCollector, startTx, toString, updateTxpublic static final String TYPE_NAME
public StandaloneDataset(String instanceName, KeyValueTable table)
public byte[] get(byte[] key)
public void put(byte[] key,
byte[] value)
public Type getRecordType()
getRecordType in interface RecordScannable<KeyValue<byte[],byte[]>>public List<Split> getSplits()
getSplits in interface BatchReadable<byte[],byte[]>getSplits in interface RecordScannable<KeyValue<byte[],byte[]>>public RecordScanner<KeyValue<byte[],byte[]>> createSplitRecordScanner(Split split)
createSplitRecordScanner in interface RecordScannable<KeyValue<byte[],byte[]>>public SplitReader<byte[],byte[]> createSplitReader(Split split)
createSplitReader in interface BatchReadable<byte[],byte[]>Copyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.