class SnapshotAndChangesTableProcessor extends ContinuousTableProcessor
This implementation of TableProcessor process both, content of io.delta.standalone.Snapshot and changes applied to monitored Delta table by converting them to
DeltaSourceSplit objects.
This implementation uses both SnapshotProcessor to read Snapshot content and
ChangesProcessor to read all changes applied after snapshot processed by encapsulated
SnapshotProcessor.
- Alphabetic
- By Inheritance
- SnapshotAndChangesTableProcessor
- ContinuousTableProcessor
- TableProcessor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new SnapshotAndChangesTableProcessor(snapshotProcessor: SnapshotProcessor, changesProcessor: ChangesProcessor)
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
getSnapshotVersion(): Long
- returns
Snapshotversion that this processor currently process. The value returned by this method can be different for every call, since this processor also process changes applied to monitored Delta table.
- Definition Classes
- SnapshotAndChangesTableProcessor → TableProcessor
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isMonitoringForChanges(): Boolean
- returns
false if processor is sitll processing
Snapshotvia#snapshotProcessoror true if processor started processing following changes from Delta Table.
- Definition Classes
- SnapshotAndChangesTableProcessor → ContinuousTableProcessor
- Annotations
- @Override()
-
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
process(processCallback: Consumer[List[DeltaSourceSplit]]): Unit
Starts processing content of
io.delta.standalone.Snapshotdefined by#snapshotProcessorand Delta table changes applied after that snapshot.Starts processing content of
io.delta.standalone.Snapshotdefined by#snapshotProcessorand Delta table changes applied after that snapshot.- processCallback
A
Consumercallback that will be called after processingSnapshotcontent by#snapshotProcessorand allio.delta.standalone.actions.Actionafter converting them toDeltaSourceSplit. This callback will be executed for every new discovered Delta table version.
- Definition Classes
- SnapshotAndChangesTableProcessor → TableProcessor
- Annotations
- @Override()
-
def
snapshotState(checkpointBuilder: DeltaEnumeratorStateCheckpointBuilder[DeltaSourceSplit]): DeltaEnumeratorStateCheckpointBuilder[DeltaSourceSplit]
Add
TableProcessorstate information toDeltaEnumeratorStateCheckpointBuilderto be stored in Flink's checkpoint.Add
TableProcessorstate information toDeltaEnumeratorStateCheckpointBuilderto be stored in Flink's checkpoint.The implementation of this method should add the latest state information to
DeltaEnumeratorStateCheckpointBuilderneeded to recreateTableProcessorinstance during Flink recovery.- checkpointBuilder
the
DeltaEnumeratorStateCheckpointBuilderinstance that should be updated withTableProcessorstate information.- returns
the
DeltaEnumeratorStateCheckpointBuilderinstance withTableProcessorstate information.
- Definition Classes
- SnapshotAndChangesTableProcessor → TableProcessor
- 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()