public final class TimeseriesTable.TimeseriesTableRecordsReader extends IteratorBasedSplitReader<byte[],TimeseriesTable.Entry>
Constructor and Description |
---|
TimeseriesTableRecordsReader() |
Modifier and Type | Method and Description |
---|---|
Iterator<TimeseriesTable.Entry> |
createIterator(Split split)
Creates an iterator to iterate through all records of a given split.
|
protected byte[] |
getKey(TimeseriesTable.Entry entry)
Gets the key belonging to the key/value record provided by the iterator.
|
fetchNextKeyValue, initialize
close, getCurrentKey, getCurrentValue, nextKeyValue, setCurrentKeyValue
getProgress
public Iterator<TimeseriesTable.Entry> createIterator(Split split)
IteratorBasedSplitReader
createIterator
in class IteratorBasedSplitReader<byte[],TimeseriesTable.Entry>
split
- Split to iterate through.Iterator
.protected byte[] getKey(TimeseriesTable.Entry entry)
IteratorBasedSplitReader
getKey
in class IteratorBasedSplitReader<byte[],TimeseriesTable.Entry>
entry
- The value of the key/value record.Copyright © 2021 Cask Data, Inc. Licensed under the Apache License, Version 2.0.