V - the type of the valuepublic class TimestampedValue<V> extends Object
Used for assigning initial timestamps to values inserted into a pipeline
with Create.timestamped(java.lang.Iterable<com.google.cloud.dataflow.sdk.values.TimestampedValue<T>>).
| Modifier and Type | Class and Description |
|---|---|
static class |
TimestampedValue.TimestampedValueCoder<T>
A
Coder for TimestampedValue. |
| Modifier | Constructor and Description |
|---|---|
protected |
TimestampedValue(V value,
org.joda.time.Instant timestamp) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
org.joda.time.Instant |
getTimestamp() |
V |
getValue() |
int |
hashCode() |
static <V> TimestampedValue<V> |
of(V value,
org.joda.time.Instant timestamp)
Returns a new
TimestampedValue with the given value and timestamp. |
String |
toString() |
protected TimestampedValue(V value, org.joda.time.Instant timestamp)
public static <V> TimestampedValue<V> of(V value, org.joda.time.Instant timestamp)
TimestampedValue with the given value and timestamp.public V getValue()
public org.joda.time.Instant getTimestamp()