public interface TableBatchReadSession extends TableReadSession
Session.Provider| Modifier and Type | Method and Description |
|---|---|
default SplitReader<org.apache.arrow.vector.VectorSchemaRoot> |
createArrowReader(InputSplit split,
ReaderOptions options)
Returns a arrow data reader
SplitReader to do the actual reading work. |
default SplitReader<ArrayRecord> |
createRecordReader(InputSplit split,
ReaderOptions options)
Returns a record data reader
SplitReader to do the actual reading work. |
InputSplitAssigner |
getInputSplitAssigner()
Return the input split assigner
InputSplitAssigner of this table batch read session. |
default SessionType |
getType()
Returns the type for table session.
|
readSchema, supportsDataFormatdescription, getId, getStatus, getTableIdentifierInputSplitAssigner getInputSplitAssigner() throws IOException
InputSplitAssigner of this table batch read session.IOExceptiondefault SplitReader<ArrayRecord> createRecordReader(InputSplit split, ReaderOptions options) throws IOException
SplitReader to do the actual reading work.IOExceptiondefault SplitReader<org.apache.arrow.vector.VectorSchemaRoot> createArrowReader(InputSplit split, ReaderOptions options) throws IOException
SplitReader to do the actual reading work.IOExceptiondefault SessionType getType()
SessionCopyright © 2024 Alibaba Cloud Computing. All rights reserved.