public class IndexedInputSplitAssigner extends Object implements InputSplitAssigner
| Constructor and Description |
|---|
IndexedInputSplitAssigner(String sessionId,
int totalSplitCount) |
| Modifier and Type | Method and Description |
|---|---|
InputSplit[] |
getAllSplits()
Return all input splits of the input split assigner.
|
InputSplit |
getSplit(int index)
Return the split by index.
|
int |
getSplitsCount()
Returns the number of splits.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSplitByRowOffset, getTotalRowCountpublic IndexedInputSplitAssigner(String sessionId, int totalSplitCount)
public int getSplitsCount()
InputSplitAssignergetSplitsCount in interface InputSplitAssignerpublic InputSplit getSplit(int index)
InputSplitAssignergetSplit in interface InputSplitAssignerpublic InputSplit[] getAllSplits()
InputSplitAssignergetAllSplits in interface InputSplitAssignerCopyright © 2024 Alibaba Cloud Computing. All rights reserved.