public abstract class TableBatchReadSessionBase extends Object implements TableBatchReadSession
Session.Provider| Constructor and Description |
|---|
TableBatchReadSessionBase(TableIdentifier identifier,
List<PartitionSpec> requiredPartitions,
List<String> requiredDataColumns,
List<String> requiredPartitionColumns,
List<Integer> bucketIds,
SplitOptions splitOptions,
ArrowOptions arrowOptions,
EnvironmentSettings settings,
Predicate filterPredicate) |
TableBatchReadSessionBase(TableIdentifier identifier,
String sessionId,
EnvironmentSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the id for table session.
|
InputSplitAssigner |
getInputSplitAssigner()
Return the input split assigner
InputSplitAssigner of this table batch read session. |
SessionStatus |
getStatus()
Returns the status for table session.
|
TableIdentifier |
getTableIdentifier()
Returns the table identifier for table session.
|
DataSchema |
readSchema()
Returns the actual schema of this table read session
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateArrowReader, createRecordReader, getTypesupportsDataFormatdescriptionpublic TableBatchReadSessionBase(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 TableBatchReadSessionBase(TableIdentifier identifier, String sessionId, EnvironmentSettings settings) throws IOException
IOExceptionpublic InputSplitAssigner getInputSplitAssigner()
TableBatchReadSessionInputSplitAssigner of this table batch read session.getInputSplitAssigner in interface TableBatchReadSessionpublic String getId()
Sessionpublic DataSchema readSchema()
TableReadSessionreadSchema in interface TableReadSessionpublic TableIdentifier getTableIdentifier()
SessiongetTableIdentifier in interface Sessionpublic SessionStatus getStatus()
SessionCopyright © 2024 Alibaba Cloud Computing. All rights reserved.