ValueT - the underlying value type@Internal public class ValueWithRecordId<ValueT> extends java.lang.Object
Immutable struct containing a value as well as a unique id identifying the value.
| Modifier and Type | Class and Description |
|---|---|
static class |
ValueWithRecordId.StripIdsDoFn<T>
|
static class |
ValueWithRecordId.ValueWithRecordIdCoder<ValueT>
|
| Constructor and Description |
|---|
ValueWithRecordId(ValueT value,
byte[] id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(@Nullable java.lang.Object other) |
byte[] |
getId() |
ValueT |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public ValueWithRecordId(ValueT value, byte[] id)
public ValueT getValue()
public byte[] getId()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(@Nullable java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object