Class RecordDataEncoder

java.lang.Object
io.camunda.zeebe.journal.file.RecordDataEncoder
All Implemented Interfaces:
org.agrona.sbe.EncoderFlyweight, org.agrona.sbe.Flyweight, org.agrona.sbe.MessageEncoderFlyweight, org.agrona.sbe.MessageFlyweight

public final class RecordDataEncoder extends Object implements org.agrona.sbe.MessageEncoderFlyweight
  • Field Details

  • Constructor Details

    • RecordDataEncoder

      public RecordDataEncoder()
  • 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.MutableDirectBuffer buffer()
      Specified by:
      buffer in interface org.agrona.sbe.EncoderFlyweight
      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 RecordDataEncoder wrap(org.agrona.MutableDirectBuffer buffer, int offset)
      Specified by:
      wrap in interface org.agrona.sbe.EncoderFlyweight
    • wrapAndApplyHeader

      public RecordDataEncoder wrapAndApplyHeader(org.agrona.MutableDirectBuffer buffer, int offset, MessageHeaderEncoder headerEncoder)
    • 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 RecordDataEncoder index(long value)
    • 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 RecordDataEncoder asqn(long value)
    • dataId

      public static int dataId()
    • dataMetaAttribute

      public static String dataMetaAttribute(MetaAttribute metaAttribute)
    • dataHeaderLength

      public static int dataHeaderLength()
    • putData

      public RecordDataEncoder putData(org.agrona.DirectBuffer src, int srcOffset, int length)
    • putData

      public RecordDataEncoder putData(byte[] src, int srcOffset, int length)
    • toString

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

      public StringBuilder appendTo(StringBuilder builder)