class ContinuousDeltaSourceSplitEnumerator extends DeltaSourceSplitEnumerator
A SplitEnumerator implementation for
org.apache.flink.api.connector.source.Boundedness#CONTINUOUS_UNBOUNDED
mode.
This enumerator takes all files that are present in the configured Delta table directory,
convert them to DeltaSourceSplit and assigns them to the readers. Once all files from
initial snapshot are processed, it starts monitoring Delta table for changes. Each appending data
change is converted to DeltaSourceSplit and assigned to readers.
The actual logic for creating the set of DeltaSourceSplit to process, and the logic
to decide which reader gets what split can be found DeltaSourceSplitEnumerator and in
FileSplitAssigner, respectively.
- Alphabetic
- By Inheritance
- ContinuousDeltaSourceSplitEnumerator
- DeltaSourceSplitEnumerator
- SplitEnumerator
- CheckpointListener
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ContinuousDeltaSourceSplitEnumerator(deltaTablePath: Path, continuousTableProcessor: ContinuousTableProcessor, splitAssigner: FileSplitAssigner, enumContext: SplitEnumeratorContext[DeltaSourceSplit])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addReader(subtaskId: Int): Unit
- Definition Classes
- DeltaSourceSplitEnumerator → SplitEnumerator
- Annotations
- @Override()
-
def
addSplits(splits: List[DeltaSourceSplit]): Unit
- Attributes
- protected[enumerator]
- Definition Classes
- DeltaSourceSplitEnumerator
- Annotations
- @SuppressWarnings()
-
def
addSplitsBack(splits: List[DeltaSourceSplit], subtaskId: Int): Unit
- Definition Classes
- DeltaSourceSplitEnumerator → SplitEnumerator
- Annotations
- @Override()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
assignSplits(): AssignSplitStatus
- Attributes
- protected[enumerator]
- Definition Classes
- DeltaSourceSplitEnumerator
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- DeltaSourceSplitEnumerator → SplitEnumerator → AutoCloseable
- Annotations
- @Override()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getRemainingSplits(): Collection[DeltaSourceSplit]
- Attributes
- protected[enumerator]
- Definition Classes
- DeltaSourceSplitEnumerator
- Annotations
- @SuppressWarnings()
-
def
handleNoMoreSplits(subtaskId: Int): Unit
The implementation of this method should handle case, where there is no more splits that could be assigned to Source Readers.
The implementation of this method should handle case, where there is no more splits that could be assigned to Source Readers.
This method is called by
String)method.- subtaskId
the subtask id of the source reader who sent the source spit request event.
- Attributes
- protected[enumerator]
- Definition Classes
- ContinuousDeltaSourceSplitEnumerator → DeltaSourceSplitEnumerator
- Annotations
- @Override()
-
def
handleSourceEvent(arg0: Int, arg1: SourceEvent): Unit
- Definition Classes
- SplitEnumerator
-
def
handleSplitRequest(subtaskId: Int, requesterHostname: String): Unit
- Definition Classes
- DeltaSourceSplitEnumerator → SplitEnumerator
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
notifyCheckpointAborted(arg0: Long): Unit
- Definition Classes
- CheckpointListener
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
notifyCheckpointComplete(arg0: Long): Unit
- Definition Classes
- SplitEnumerator → CheckpointListener
- Annotations
- @throws( classOf[java.lang.Exception] )
-
def
snapshotState(checkpointId: Long): DeltaEnumeratorStateCheckpoint[DeltaSourceSplit]
- Definition Classes
- ContinuousDeltaSourceSplitEnumerator → SplitEnumerator
- Annotations
- @Override()
-
def
start(): Unit
Starts Delta table processing.
Starts Delta table processing.
- Definition Classes
- ContinuousDeltaSourceSplitEnumerator → SplitEnumerator
- Annotations
- @Override()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()