Class SegmentDescriptorEncoder

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

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

  • Constructor Details

    • SegmentDescriptorEncoder

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

      public SegmentDescriptorEncoder 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
    • idId

      public static int idId()
    • idSinceVersion

      public static int idSinceVersion()
    • idEncodingOffset

      public static int idEncodingOffset()
    • idEncodingLength

      public static int idEncodingLength()
    • idMetaAttribute

      public static String idMetaAttribute(MetaAttribute metaAttribute)
    • idNullValue

      public static long idNullValue()
    • idMinValue

      public static long idMinValue()
    • idMaxValue

      public static long idMaxValue()
    • id

      public SegmentDescriptorEncoder id(long value)
    • 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 SegmentDescriptorEncoder index(long value)
    • maxSegmentSizeId

      public static int maxSegmentSizeId()
    • maxSegmentSizeSinceVersion

      public static int maxSegmentSizeSinceVersion()
    • maxSegmentSizeEncodingOffset

      public static int maxSegmentSizeEncodingOffset()
    • maxSegmentSizeEncodingLength

      public static int maxSegmentSizeEncodingLength()
    • maxSegmentSizeMetaAttribute

      public static String maxSegmentSizeMetaAttribute(MetaAttribute metaAttribute)
    • maxSegmentSizeNullValue

      public static int maxSegmentSizeNullValue()
    • maxSegmentSizeMinValue

      public static int maxSegmentSizeMinValue()
    • maxSegmentSizeMaxValue

      public static int maxSegmentSizeMaxValue()
    • maxSegmentSize

      public SegmentDescriptorEncoder maxSegmentSize(int value)
    • toString

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

      public StringBuilder appendTo(StringBuilder builder)