Class IcebergEnumeratorState
- java.lang.Object
-
- org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorState
-
- All Implemented Interfaces:
java.io.Serializable
@Internal public class IcebergEnumeratorState extends java.lang.Object implements java.io.Serializable
Enumerator state for checkpointing- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IcebergEnumeratorState(java.util.Collection<IcebergSourceSplitState> pendingSplits)
IcebergEnumeratorState(org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition lastEnumeratedPosition, java.util.Collection<IcebergSourceSplitState> pendingSplits)
IcebergEnumeratorState(org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition lastEnumeratedPosition, java.util.Collection<IcebergSourceSplitState> pendingSplits, int[] enumerationSplitCountHistory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
enumerationSplitCountHistory()
org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition
lastEnumeratedPosition()
java.util.Collection<IcebergSourceSplitState>
pendingSplits()
-
-
-
Constructor Detail
-
IcebergEnumeratorState
public IcebergEnumeratorState(java.util.Collection<IcebergSourceSplitState> pendingSplits)
-
IcebergEnumeratorState
public IcebergEnumeratorState(@Nullable org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition lastEnumeratedPosition, java.util.Collection<IcebergSourceSplitState> pendingSplits)
-
IcebergEnumeratorState
public IcebergEnumeratorState(@Nullable org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition lastEnumeratedPosition, java.util.Collection<IcebergSourceSplitState> pendingSplits, int[] enumerationSplitCountHistory)
-
-
Method Detail
-
lastEnumeratedPosition
@Nullable public org.apache.iceberg.flink.source.enumerator.IcebergEnumeratorPosition lastEnumeratedPosition()
-
pendingSplits
public java.util.Collection<IcebergSourceSplitState> pendingSplits()
-
enumerationSplitCountHistory
public int[] enumerationSplitCountHistory()
-
-