Package io.trino.plugin.kinesis
Class KinesisSplit
java.lang.Object
io.trino.plugin.kinesis.KinesisSplit
- All Implemented Interfaces:
ConnectorSplit
Kinesis vertion of ConnectorSplit. KinesisConnector fetch the data from kinesis stream and splits the big chunk to multiple split.
By default, one shard data is one KinesisSplit.
-
Constructor Summary
ConstructorsConstructorDescriptionKinesisSplit(String streamName, String messageDataFormat, KinesisCompressionCodec compressionCodec, String shardId, String start, String end) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.trino.spi.connector.ConnectorSplit
getSplitWeight
-
Constructor Details
-
KinesisSplit
-
-
Method Details
-
getStart
-
getEnd
-
getStreamName
-
getMessageDataFormat
-
getCompressionCodec
-
getShardId
-
isRemotelyAccessible
public boolean isRemotelyAccessible()- Specified by:
isRemotelyAccessiblein interfaceConnectorSplit
-
getAddresses
- Specified by:
getAddressesin interfaceConnectorSplit
-
getInfo
- Specified by:
getInfoin interfaceConnectorSplit
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()- Specified by:
getRetainedSizeInBytesin interfaceConnectorSplit
-
toString
-