V - the type of the valuepublic class TimestampedValue<V>
extends java.lang.Object
The timestamp of a value determines many properties, such as its assignment to windows and
 whether the value is late (with respect to the watermark of a PCollection).
| Modifier and Type | Class and Description | 
|---|---|
| static class  | TimestampedValue.TimestampedValueCoder<T>A  CoderforTimestampedValue. | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | TimestampedValue(V value,
                Instant timestamp) | 
| Modifier and Type | Method and Description | 
|---|---|
| static <V> TimestampedValue<V> | atMinimumTimestamp(V value)Returns a new  TimestampedValuewith theminimum timestamp. | 
| boolean | equals(@Nullable java.lang.Object other) | 
| Instant | getTimestamp() | 
| V | getValue() | 
| int | hashCode() | 
| static <V> TimestampedValue<V> | of(V value,
  Instant timestamp)Returns a new  TimestampedValuewith the given value and timestamp. | 
| java.lang.String | toString() | 
public static <V> TimestampedValue<V> atMinimumTimestamp(V value)
TimestampedValue with the minimum timestamp.public static <V> TimestampedValue<V> of(V value, Instant timestamp)
TimestampedValue with the given value and timestamp.public V getValue()
public Instant getTimestamp()
public boolean equals(@Nullable java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object