public class TransactionalTupleStateMapper extends Object implements StateMapper<TransactionalValue<ITuple>>
State mapper that maps a transactional tuple to separate state fields.
Constructor and Description |
---|
TransactionalTupleStateMapper(String txIdField,
Fields fields) |
TransactionalTupleStateMapper(String txIdField,
String... fields) |
Modifier and Type | Method and Description |
---|---|
TransactionalValue<ITuple> |
fromValues(List<Values> valuesList) |
Fields |
getStateFields() |
String |
toString() |
Values |
toValues(TransactionalValue<ITuple> tuple) |
public TransactionalTupleStateMapper(String txIdField, String... fields)
public Fields getStateFields()
getStateFields
in interface StateMapper<TransactionalValue<ITuple>>
public Values toValues(TransactionalValue<ITuple> tuple)
toValues
in interface StateMapper<TransactionalValue<ITuple>>
public TransactionalValue<ITuple> fromValues(List<Values> valuesList)
fromValues
in interface StateMapper<TransactionalValue<ITuple>>
Copyright © 2022 The Apache Software Foundation. All rights reserved.