Class RecordDataDecoder

java.lang.Object
io.camunda.zeebe.journal.file.RecordDataDecoder
All Implemented Interfaces:
org.agrona.sbe.DecoderFlyweight, org.agrona.sbe.Flyweight, org.agrona.sbe.MessageDecoderFlyweight, org.agrona.sbe.MessageFlyweight

public final class RecordDataDecoder extends Object implements org.agrona.sbe.MessageDecoderFlyweight
  • Field Details

  • Constructor Details

    • RecordDataDecoder

      public RecordDataDecoder()
  • Method Details

    • sbeBlockLength

      public int sbeBlockLength()
      Specified by:
      sbeBlockLength in interface org.agrona.sbe.MessageFlyweight
    • sbeTemplateId

      public int sbeTemplateId()
      Specified by:
      sbeTemplateId in interface org.agrona.sbe.MessageFlyweight
    • sbeSchemaId

      public int sbeSchemaId()
      Specified by:
      sbeSchemaId in interface org.agrona.sbe.Flyweight
    • sbeSchemaVersion

      public int sbeSchemaVersion()
      Specified by:
      sbeSchemaVersion in interface org.agrona.sbe.Flyweight
    • sbeSemanticType

      public String sbeSemanticType()
      Specified by:
      sbeSemanticType in interface org.agrona.sbe.MessageFlyweight
    • buffer

      public org.agrona.DirectBuffer buffer()
      Specified by:
      buffer in interface org.agrona.sbe.Flyweight
    • initialOffset

      public int initialOffset()
    • offset

      public int offset()
      Specified by:
      offset in interface org.agrona.sbe.Flyweight
    • wrap

      public RecordDataDecoder wrap(org.agrona.DirectBuffer buffer, int offset, int actingBlockLength, int actingVersion)
      Specified by:
      wrap in interface org.agrona.sbe.MessageDecoderFlyweight
    • wrapAndApplyHeader

      public RecordDataDecoder wrapAndApplyHeader(org.agrona.DirectBuffer buffer, int offset, MessageHeaderDecoder headerDecoder)
    • sbeRewind

      public RecordDataDecoder sbeRewind()
    • sbeDecodedLength

      public int sbeDecodedLength()
      Specified by:
      sbeDecodedLength in interface org.agrona.sbe.MessageDecoderFlyweight
    • encodedLength

      public int encodedLength()
      Specified by:
      encodedLength in interface org.agrona.sbe.Flyweight
    • limit

      public int limit()
      Specified by:
      limit in interface org.agrona.sbe.MessageFlyweight
    • limit

      public void limit(int limit)
      Specified by:
      limit in interface org.agrona.sbe.MessageFlyweight
    • indexId

      public static int indexId()
    • indexSinceVersion

      public static int indexSinceVersion()
    • indexEncodingOffset

      public static int indexEncodingOffset()
    • indexEncodingLength

      public static int indexEncodingLength()
    • indexMetaAttribute

      public static String indexMetaAttribute(MetaAttribute metaAttribute)
    • indexNullValue

      public static long indexNullValue()
    • indexMinValue

      public static long indexMinValue()
    • indexMaxValue

      public static long indexMaxValue()
    • index

      public long index()
    • asqnId

      public static int asqnId()
    • asqnSinceVersion

      public static int asqnSinceVersion()
    • asqnEncodingOffset

      public static int asqnEncodingOffset()
    • asqnEncodingLength

      public static int asqnEncodingLength()
    • asqnMetaAttribute

      public static String asqnMetaAttribute(MetaAttribute metaAttribute)
    • asqnNullValue

      public static long asqnNullValue()
    • asqnMinValue

      public static long asqnMinValue()
    • asqnMaxValue

      public static long asqnMaxValue()
    • asqn

      public long asqn()
    • dataId

      public static int dataId()
    • dataSinceVersion

      public static int dataSinceVersion()
    • dataMetaAttribute

      public static String dataMetaAttribute(MetaAttribute metaAttribute)
    • dataHeaderLength

      public static int dataHeaderLength()
    • dataLength

      public int dataLength()
    • skipData

      public int skipData()
    • getData

      public int getData(org.agrona.MutableDirectBuffer dst, int dstOffset, int length)
    • getData

      public int getData(byte[] dst, int dstOffset, int length)
    • wrapData

      public void wrapData(org.agrona.DirectBuffer wrapBuffer)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • appendTo

      public StringBuilder appendTo(StringBuilder builder)
      Specified by:
      appendTo in interface org.agrona.sbe.MessageDecoderFlyweight
    • sbeSkip

      public RecordDataDecoder sbeSkip()