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