Enum StreamingStartingStrategy

    • Enum Constant Detail

      • TABLE_SCAN_THEN_INCREMENTAL

        public static final StreamingStartingStrategy 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

        public static final StreamingStartingStrategy 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

        public static final StreamingStartingStrategy 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

        public static final StreamingStartingStrategy INCREMENTAL_FROM_SNAPSHOT_ID
        Start incremental mode from a snapshot with a specific id inclusive.
      • INCREMENTAL_FROM_SNAPSHOT_TIMESTAMP

        public static final StreamingStartingStrategy 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 Detail

      • values

        public static StreamingStartingStrategy[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StreamingStartingStrategy c : StreamingStartingStrategy.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StreamingStartingStrategy valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null