Package org.apache.iotdb.tsfile.read
Class TimeValuePair
- java.lang.Object
-
- org.apache.iotdb.tsfile.read.TimeValuePair
-
- All Implemented Interfaces:
Serializable,Comparable<TimeValuePair>
public class TimeValuePair extends Object implements Serializable, Comparable<TimeValuePair>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeValuePair(long timestamp, TsPrimitiveType value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TimeValuePair o)booleanequals(Object object)intgetSize()longgetTimestamp()TsPrimitiveTypegetValue()inthashCode()voidsetTimestamp(long timestamp)voidsetValue(TsPrimitiveType value)StringtoString()
-
-
-
Constructor Detail
-
TimeValuePair
public TimeValuePair(long timestamp, TsPrimitiveType value)
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
-
setTimestamp
public void setTimestamp(long timestamp)
-
getValue
public TsPrimitiveType getValue()
-
setValue
public void setValue(TsPrimitiveType value)
-
getSize
public int getSize()
-
compareTo
public int compareTo(TimeValuePair o)
- Specified by:
compareToin interfaceComparable<TimeValuePair>
-
-