class DeltaWriterBucketState extends AnyRef
State of a DeltaWriterBucket that will become part of each application's
snapshot created during pre-commit phase of a checkpoint process or manually on demand
by the user.
see Fault Tolerance via State Snapshots section on
- See also
this page This class is partially inspired by
org.apache.flink.connector.file.sink.writer.FileWriterBucketStatebut with some modifications like:- removed snapshotting in-progress file's state because
io.delta.flink.sink.DeltaSinkis supposed to always roll part files on checkpoint so there is no need to recover any in-progress files' states - extends the state by adding application's unique identifier to guarantee the idempotent
file writes and commits to the
io.delta.standalone.DeltaLogLifecycle of instances of this class is as follows: - Every instance is being created via
DeltaWriter#snapshotState()method at the finish phase of each checkpoint interval and serialized as a part of snapshotted app's state. - It can be also created by the Flink framework itself during failure/snapshot recovery
when it's deserialized from the snapshotted state and provided as input param collection
to
io.delta.flink.sink.DeltaSink#createWriter
- removed snapshotting in-progress file's state because
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DeltaWriterBucketState
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DeltaWriterBucketState(bucketId: String, bucketPath: Path, appId: String)
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] )
- def getAppId(): String
- def getBucketId(): String
- def getBucketPath(): Path
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
- DeltaWriterBucketState → AnyRef → Any
- Annotations
- @Override()
-
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()