Class KinesisStreamShard
- java.lang.Object
-
- org.apache.flink.streaming.connectors.kinesis.model.KinesisStreamShard
-
- All Implemented Interfaces:
Serializable
@Deprecated @Internal public class KinesisStreamShard extends Object implements Serializable
Deprecated.Will be remove in a future version in favor ofStreamShardHandle.A legacy serializable representation of a AWS Kinesis Stream shard. It is basically a wrapper class around the information provided along withShard.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KinesisStreamShard(String streamName, com.amazonaws.services.kinesis.model.Shard shard)Deprecated.Create a new KinesisStreamShard.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StreamShardMetadataconvertToStreamShardMetadata(KinesisStreamShard kinesisStreamShard)Deprecated.Utility function to convertKinesisStreamShardinto the newStreamShardMetadatamodel.booleanequals(Object obj)Deprecated.com.amazonaws.services.kinesis.model.ShardgetShard()Deprecated.StringgetStreamName()Deprecated.inthashCode()Deprecated.booleanisClosed()Deprecated.StringtoString()Deprecated.
-
-
-
Constructor Detail
-
KinesisStreamShard
public KinesisStreamShard(String streamName, com.amazonaws.services.kinesis.model.Shard shard)
Deprecated.Create a new KinesisStreamShard.- Parameters:
streamName- the name of the Kinesis stream that this shard belongs toshard- the actual AWS Shard instance that will be wrapped within this KinesisStreamShard
-
-
Method Detail
-
getStreamName
public String getStreamName()
Deprecated.
-
isClosed
public boolean isClosed()
Deprecated.
-
getShard
public com.amazonaws.services.kinesis.model.Shard getShard()
Deprecated.
-
convertToStreamShardMetadata
public static StreamShardMetadata convertToStreamShardMetadata(KinesisStreamShard kinesisStreamShard)
Deprecated.Utility function to convertKinesisStreamShardinto the newStreamShardMetadatamodel.- Parameters:
kinesisStreamShard- theKinesisStreamShardto be converted- Returns:
- the converted
StreamShardMetadata
-
-