class DeltaGlobalCommittable extends AnyRef
Simple wrapper class for a collection of DeltaCommittable instances.
This class is provided to comply with the
org.apache.flink.api.connector.sink.GlobalCommitter
interfaces' structure. It's only purpose is to wrap DeltaCommittable collection during
io.delta.flink.sink.internal.committer.DeltaGlobalCommitter#combine method
that will be further flattened and processed inside
io.delta.flink.sink.internal.committer.DeltaGlobalCommitter#commit method.
Lifecycle of instances of this class is as follows:
- Every instance is created in
io.delta.flink.sink.internal.committer.DeltaGlobalCommitter#combinemethod during a global commit phase. - When certain checkpointing barriers are reached then generated committables are snapshotted along with the rest of the application's state. See Flink's docs for details
- See also
- Every
DeltaGlobalCommittableinstance is delivered toio.delta.flink.sink.internal.committer.DeltaGlobalCommitter#combinemethod when they are being committed to aio.delta.standalone.DeltaLog. - If there's any failure of the app's execution then Flink may recover previously generated
set of committables that may have not been committed. In such cases those recovered
committables will be again passed to the
org.apache.flink.api.connector.sink.GlobalCommitterinstance along with the new set of committables from the next checkpoint interval. - If checkpoint was successfull then committables from the given checkpoint interval are no longer recovered and exist only in the previously snapshotted states.
- Every
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeltaGlobalCommittable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DeltaGlobalCommittable(deltaCommittables: List[DeltaCommittable])
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 getDeltaCommittables(): List[DeltaCommittable]
-
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()
-
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()