Class PartitionConsumptionState.TransientRecord

java.lang.Object
com.linkedin.davinci.kafka.consumer.PartitionConsumptionState.TransientRecord
Enclosing class:
PartitionConsumptionState

public static class PartitionConsumptionState.TransientRecord extends Object
This immutable class holds a association between a key and value and the source offset of the consumed message. The value could be either as received in kafka ConsumerRecord or it could be a write computed value.
  • Constructor Details

    • TransientRecord

      public TransientRecord(byte[] value, int valueOffset, int valueLen, int valueSchemaId, int kafkaClusterId, long kafkaConsumedOffset)
  • Method Details

    • getRmdManifest

      public ChunkedValueManifest getRmdManifest()
    • setRmdManifest

      public void setRmdManifest(ChunkedValueManifest rmdManifest)
    • getValueManifest

      public ChunkedValueManifest getValueManifest()
    • setValueManifest

      public void setValueManifest(ChunkedValueManifest valueManifest)
    • setReplicationMetadataRecord

      public void setReplicationMetadataRecord(org.apache.avro.generic.GenericRecord replicationMetadataRecord)
    • getReplicationMetadataRecord

      public org.apache.avro.generic.GenericRecord getReplicationMetadataRecord()
    • getValue

      public byte[] getValue()
    • getValueOffset

      public int getValueOffset()
    • getValueLen

      public int getValueLen()
    • getValueSchemaId

      public int getValueSchemaId()