public class SplitArrowReaderImpl extends Object implements SplitReader<org.apache.arrow.vector.VectorSchemaRoot>
| Constructor and Description |
|---|
SplitArrowReaderImpl(TableIdentifier identifier,
InputSplit split,
ReaderOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Metrics |
currentMetricsValues()
Returns metrics for this reader
|
org.apache.arrow.vector.VectorSchemaRoot |
get()
Return the current record.
|
boolean |
hasNext()
Proceed to next record, returns false if there is no more records.
|
public SplitArrowReaderImpl(TableIdentifier identifier, InputSplit split, ReaderOptions options) throws IOException
IOExceptionpublic boolean hasNext()
throws IOException
SplitReaderhasNext in interface SplitReader<org.apache.arrow.vector.VectorSchemaRoot>IOException - if failure happens during network IO.public org.apache.arrow.vector.VectorSchemaRoot get()
SplitReaderget in interface SplitReader<org.apache.arrow.vector.VectorSchemaRoot>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic Metrics currentMetricsValues()
SplitReadercurrentMetricsValues in interface SplitReader<org.apache.arrow.vector.VectorSchemaRoot>Copyright © 2024 Alibaba Cloud Computing. All rights reserved.