Package org.yamcs.parameterarchive
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 Summary
Fields Modifier and Type Field Description static byteTYPE_ENG_VALUEstatic byteTYPE_PARAMETER_STATUSstatic byteTYPE_RAW_VALUE
-
Constructor Summary
Constructors Constructor Description SegmentKey(int parameterId, int parameterGroupId, long segmentStart, byte type)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SegmentKeydecode(byte[] b)byte[]encode()StringtoString()
-
-
-
Field Detail
-
TYPE_ENG_VALUE
public static final byte TYPE_ENG_VALUE
- See Also:
- Constant Field Values
-
TYPE_RAW_VALUE
public static final byte TYPE_RAW_VALUE
- See Also:
- Constant Field Values
-
TYPE_PARAMETER_STATUS
public static final byte TYPE_PARAMETER_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
encode
public byte[] encode()
-
decode
public static SegmentKey decode(byte[] b)
-
-