Class ListShardsStartingPosition
- java.lang.Object
-
- org.apache.flink.connector.kinesis.source.proxy.ListShardsStartingPosition
-
@Internal public class ListShardsStartingPosition extends Object
Starting position to perform list shard request.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListShardsStartingPositionfromShardId(String exclusiveStartShardId)Used to get shards after specified shard id.static ListShardsStartingPositionfromStart()Used to get all shards starting from TRIM_HORIZON.static ListShardsStartingPositionfromTimestamp(java.time.Instant timestamp)Used to get shards that were active at or after specified timestamp.software.amazon.awssdk.services.kinesis.model.ShardFiltergetShardFilter()Returns shard filter used to perform listShard request.
-
-
-
Method Detail
-
getShardFilter
public software.amazon.awssdk.services.kinesis.model.ShardFilter getShardFilter()
Returns shard filter used to perform listShard request.
-
fromTimestamp
public static ListShardsStartingPosition fromTimestamp(java.time.Instant timestamp)
Used to get shards that were active at or after specified timestamp.
-
fromShardId
public static ListShardsStartingPosition fromShardId(String exclusiveStartShardId)
Used to get shards after specified shard id.
-
fromStart
public static ListShardsStartingPosition fromStart()
Used to get all shards starting from TRIM_HORIZON.
-
-