Class SegmentKey

java.lang.Object
org.yamcs.parameterarchive.SegmentKey

public class SegmentKey extends Object
Holder, encoder and decoder for the segment keys (in the sense of key,value storage used for RocksDb)
  • Field Details

  • Constructor Details

    • SegmentKey

      public SegmentKey(int parameterId, int parameterGroupId, long segmentStart, byte type)
  • Method Details

    • encode

      public byte[] encode()
    • decode

      public static SegmentKey decode(byte[] b)
    • encode

      public static byte[] encode(int parameterId, int parameterGroupId, long segmentStart, byte type)
    • toString

      public String toString()
      Overrides:
      toString in class Object