Package org.apache.iceberg.flink.source
Enum Class StreamingStartingStrategy
- All Implemented Interfaces:
Serializable
,Comparable<StreamingStartingStrategy>
,Constable
Starting strategy for streaming execution.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionStart incremental mode from the earliest snapshot inclusive.Start incremental mode from the latest snapshot inclusive.Start incremental mode from a snapshot with a specific id inclusive.Start incremental mode from a snapshot with a specific timestamp inclusive.Do a regular table scan then switch to the incremental mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic StreamingStartingStrategy
Returns the enum constant of this class with the specified name.static StreamingStartingStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TABLE_SCAN_THEN_INCREMENTAL
Do a regular table scan then switch to the incremental mode.The incremental mode starts from the current snapshot exclusive.
-
INCREMENTAL_FROM_LATEST_SNAPSHOT
Start incremental mode from the latest snapshot inclusive.If it is an empty map, all future append snapshots should be discovered.
-
INCREMENTAL_FROM_EARLIEST_SNAPSHOT
Start incremental mode from the earliest snapshot inclusive.If it is an empty map, all future append snapshots should be discovered.
-
INCREMENTAL_FROM_SNAPSHOT_ID
Start incremental mode from a snapshot with a specific id inclusive. -
INCREMENTAL_FROM_SNAPSHOT_TIMESTAMP
Start incremental mode from a snapshot with a specific timestamp inclusive.If the timestamp is between two snapshots, it should start from the snapshot after the timestamp.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-