public class TimeValuePair extends Object implements Serializable, Comparable<TimeValuePair>
| Constructor and Description |
|---|
TimeValuePair(long timestamp,
TsPrimitiveType value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(TimeValuePair o) |
boolean |
equals(Object object) |
int |
getSize() |
long |
getTimestamp() |
TsPrimitiveType |
getValue() |
int |
hashCode() |
void |
setTimestamp(long timestamp) |
void |
setValue(TsPrimitiveType value) |
String |
toString() |
public TimeValuePair(long timestamp,
TsPrimitiveType value)
public long getTimestamp()
public void setTimestamp(long timestamp)
public TsPrimitiveType getValue()
public void setValue(TsPrimitiveType value)
public int getSize()
public int compareTo(TimeValuePair o)
compareTo in interface Comparable<TimeValuePair>Copyright © 2022 The Apache Software Foundation. All rights reserved.