Interface Partition

All Superinterfaces:
Serializable
All Known Subinterfaces:
ReferencePartition
All Known Implementing Classes:
IndexPartition, StreamEmbeddedPartitionMessage, StreamPartitionMessage, StreamReferencedPartitionMessage

public interface Partition extends Serializable
Represent a already committed partition
  • Method Details

    • getAdditionalMetadata

      Optional<String> 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

      Optional<String> 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

      Optional<String> 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