Interface Partition
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ReferencePartition
- All Known Implementing Classes:
IndexPartition,StreamEmbeddedPartitionMessage,StreamPartitionMessage,StreamReferencedPartitionMessage
Represent a already committed partition
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This field is not supported anymore.Optional value for the stream record kafka offsetThe checksum field is optional.Optional value for the size of the compressed partition data in bytes.getCrc()The crc field is optional.Optional value for the size of the partition data in bytes.getLayer()Name of the layer.Name of the partition.Optional value for the stream or index record timestampbooleanReturn true if partition represent a delete modification
-
Method Details
-
getAdditionalMetadata
Deprecated.This field is not supported anymore. Please use the other available fields instead. Since OLP SDK > 2.1.Optional value for additional metadata -
getCheckpoints
Optional<CheckpointMark> getCheckpoints()Optional value for the stream record kafka offset -
getChecksum
The checksum field is optional. It is only included if checksum was requested in the API call (using 'additionalFields' query parameter) and if a checksum was provided during commit of the partition. It should be set to the sha1 checksum of the data content if data comparison needs to work for this catalog. The maximum length of checksum field is 128 characters. -
getCompressedDataSize
OptionalLong getCompressedDataSize()Optional value for the size of the compressed partition data in bytes. It is only included if the compressedDataSize field was requested in the API call, and if a compressedDataSize was provided during commit of the partition. -
getCrc
The crc field is optional. It is only included if crc was requested in the API call (using 'additionalFields' query parameter) and if a crc was provided during commit of the partition. -
getDataSize
OptionalLong getDataSize()Optional value for the size of the partition data in bytes. It is only included if the dataSize field was requested in the API call, and if a dataSize was provided during commit of the partition. -
getLayer
String getLayer()Name of the layer. Content of this field must refer to a valid layer already configured in the catalog configuration. Allowed are only: a-z, A-Z, 0-9, '_' and '-' characters. The partition layer cannot be empty. Maximum length is 50 characters. -
getPartition
String getPartition()Name of the partition. If the partition is using a tiling partitioning scheme, this is the id of the tile. The name cannot be empty. Maximum length of this field is 500 characters. -
getTimestamp
OptionalLong getTimestamp()Optional value for the stream or index record timestamp -
isDeleted
boolean isDeleted()Return true if partition represent a delete modification
-