public class TableBatchReadSessionImpl extends TableBatchReadSessionBase
Session.Provider| Constructor and Description |
|---|
TableBatchReadSessionImpl(TableIdentifier identifier,
List<PartitionSpec> requiredPartitions,
List<String> requiredDataColumns,
List<String> requiredPartitionColumns,
List<Integer> bucketIds,
SplitOptions splitOptions,
ArrowOptions arrowOptions,
EnvironmentSettings settings,
Predicate filterPredicate) |
TableBatchReadSessionImpl(TableIdentifier identifier,
String sessionId,
EnvironmentSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
SplitReader<org.apache.arrow.vector.VectorSchemaRoot> |
createArrowReader(InputSplit split,
ReaderOptions options)
Returns a arrow data reader
SplitReader to do the actual reading work. |
SplitReader<ArrayRecord> |
createRecordReader(InputSplit split,
ReaderOptions options)
Returns a record data reader
SplitReader to do the actual reading work. |
boolean |
supportsDataFormat(DataFormat dataFormat)
Returns whether the data format is supported by this table read session.
|
getId, getInputSplitAssigner, getStatus, getTableIdentifier, readSchemaequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTypedescriptionpublic TableBatchReadSessionImpl(TableIdentifier identifier, String sessionId, EnvironmentSettings settings) throws IOException
IOExceptionpublic TableBatchReadSessionImpl(TableIdentifier identifier, List<PartitionSpec> requiredPartitions, List<String> requiredDataColumns, List<String> requiredPartitionColumns, List<Integer> bucketIds, SplitOptions splitOptions, ArrowOptions arrowOptions, EnvironmentSettings settings, Predicate filterPredicate) throws IOException
IOExceptionpublic SplitReader<org.apache.arrow.vector.VectorSchemaRoot> createArrowReader(InputSplit split, ReaderOptions options) throws IOException
TableBatchReadSessionSplitReader to do the actual reading work.IOExceptionpublic SplitReader<ArrayRecord> createRecordReader(InputSplit split, ReaderOptions options) throws IOException
TableBatchReadSessionSplitReader to do the actual reading work.IOExceptionpublic boolean supportsDataFormat(DataFormat dataFormat)
TableReadSessionCopyright © 2024 Alibaba Cloud Computing. All rights reserved.