class ChangesProcessor extends TableProcessorBase with ContinuousTableProcessor
This implementation of TableProcessor process only Delta table changes starting from
specified io.delta.standalone.Snapshot version. This implementation does not read
Snapshot content.
The Snapshot version is specified by TableMonitor used when creating an instance
of ChangesProcessor.
- Alphabetic
- By Inheritance
- ChangesProcessor
- ContinuousTableProcessor
- TableProcessorBase
- TableProcessor
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ChangesProcessor(deltaTablePath: Path, tableMonitor: TableMonitor, enumContext: SplitEnumeratorContext[DeltaSourceSplit], fileEnumerator: AddFileEnumerator[DeltaSourceSplit], sourceConfiguration: DeltaConnectorConfiguration)
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
A
Snapshotversion that this processor used as a starting version to get changes from Delta table. The method can return different values for every method call.
- Definition Classes
- ChangesProcessor → TableProcessor
- Annotations
- @Override()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isMonitoringForChanges(): Boolean
- returns
return always true indicating that this processor process only changes.
- Definition Classes
- ChangesProcessor → 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
prepareSplits(changes: ChangesPerVersion[AddFile], splitFilter: SplitFilter[Path]): List[DeltaSourceSplit]
- Attributes
- protected[processor]
- Definition Classes
- TableProcessorBase
-
def
process(processCallback: Consumer[List[DeltaSourceSplit]]): Unit
Starts processing changes that were added to Delta table starting from version specified by
#currentSnapshotVersionfield by converting them toDeltaSourceSplitobjects.Starts processing changes that were added to Delta table starting from version specified by
#currentSnapshotVersionfield by converting them toDeltaSourceSplitobjects.- processCallback
A
Consumercallback that will be called after processing allio.delta.standalone.actions.Actionand converting them toDeltaSourceSplit. This callback will be executed for every new discovered Delta table version.
- Definition Classes
- ChangesProcessor → TableProcessor
- Annotations
- @Override()
-
def
setUpEnumeratorContext(addFiles: List[AddFile], snapshotVersion: Long): AddFileEnumeratorContext
- Attributes
- protected[processor]
- Definition Classes
- TableProcessorBase
-
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
- ChangesProcessor → 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()