public interface InputSplitAssigner extends Serializable
InputSplit within a table read session.
Each InputSplit represents a data split that can be processed by one Split reader| Modifier and Type | Method and Description |
|---|---|
default InputSplit[] |
getAllSplits()
Return all input splits of the input split assigner.
|
default InputSplit |
getSplit(int index)
Return the split by index.
|
default InputSplit |
getSplitByRowOffset(long startIndex,
long numRecord)
Returns the split by row offset.
|
default int |
getSplitsCount()
Returns the number of splits.
|
default long |
getTotalRowCount()
Returns the number of rows.
|
default int getSplitsCount()
default InputSplit getSplit(int index)
default InputSplit[] getAllSplits()
default long getTotalRowCount()
default InputSplit getSplitByRowOffset(long startIndex, long numRecord)
Copyright © 2024 Alibaba Cloud Computing. All rights reserved.