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