ValueT - the underlying value typepublic class ValueWithRecordId<ValueT> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ValueWithRecordId.ValueWithRecordIdCoder<ValueT>
|
| Constructor and Description |
|---|
ValueWithRecordId(ValueT value,
byte[] id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
byte[] |
getId() |
ValueT |
getValue() |
int |
hashCode() |
static <T> PTransform<PCollection<? extends ValueWithRecordId<T>>,PCollection<T>> |
stripIds() |
String |
toString() |
public ValueWithRecordId(ValueT value, byte[] id)
public ValueT getValue()
public byte[] getId()
public static <T> PTransform<PCollection<? extends ValueWithRecordId<T>>,PCollection<T>> stripIds()