public interface SplitReader<T> extends Closeable
TableBatchReadSession.createRecordReader(InputSplit, ReaderOptions)
or TableBatchReadSession.createArrowReader(InputSplit, ReaderOptions)
It's responsible for outputting data for an input split.| Modifier and Type | Method and Description |
|---|---|
default Metrics |
currentMetricsValues()
Returns metrics for this reader
|
T |
get()
Return the current record.
|
boolean |
hasNext()
Proceed to next record, returns false if there is no more records.
|
boolean hasNext()
throws IOException
IOException - if failure happens during network IO.T get()
default Metrics currentMetricsValues()
Copyright © 2024 Alibaba Cloud Computing. All rights reserved.