public class OpaqueTupleStateMapper extends Object implements StateMapper<OpaqueValue<ITuple>>
State mapper that maps an opaque tuple to separate state fields.
Constructor and Description |
---|
OpaqueTupleStateMapper(String currTxIdField,
String currPrefix,
String prevPrefix,
Fields fields) |
OpaqueTupleStateMapper(String currTxIdField,
String currPrefix,
String prevPrefix,
String... fields) |
Modifier and Type | Method and Description |
---|---|
OpaqueValue<ITuple> |
fromValues(List<Values> valuesList) |
Fields |
getStateFields() |
String |
toString() |
Values |
toValues(OpaqueValue<ITuple> tuple) |
public OpaqueTupleStateMapper(String currTxIdField, String currPrefix, String prevPrefix, String... fields)
public Fields getStateFields()
getStateFields
in interface StateMapper<OpaqueValue<ITuple>>
public Values toValues(OpaqueValue<ITuple> tuple)
toValues
in interface StateMapper<OpaqueValue<ITuple>>
public OpaqueValue<ITuple> fromValues(List<Values> valuesList)
fromValues
in interface StateMapper<OpaqueValue<ITuple>>
Copyright © 2020 The Apache Software Foundation. All rights reserved.