Class StringLongPair
- java.lang.Object
-
- org.apache.pinot.segment.local.customobject.ValueLongPair<String>
-
- org.apache.pinot.segment.local.customobject.StringLongPair
-
- All Implemented Interfaces:
Comparable<ValueLongPair<String>>
public class StringLongPair extends ValueLongPair<String>
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.segment.local.customobject.ValueLongPair
_time, _value
-
-
Constructor Summary
Constructors Constructor Description StringLongPair(String value, long time)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringLongPairfromByteBuffer(ByteBuffer byteBuffer)static StringLongPairfromBytes(byte[] bytes)byte[]toBytes()-
Methods inherited from class org.apache.pinot.segment.local.customobject.ValueLongPair
compareTo, getTime, getValue
-
-
-
-
Constructor Detail
-
StringLongPair
public StringLongPair(String value, long time)
-
-
Method Detail
-
fromBytes
public static StringLongPair fromBytes(byte[] bytes)
-
fromByteBuffer
public static StringLongPair fromByteBuffer(ByteBuffer byteBuffer)
-
toBytes
public byte[] toBytes()
- Specified by:
toBytesin classValueLongPair<String>
-
-