public class SerializedStateMapper<T> extends Object implements StateMapper<T>
Constructor and Description |
---|
SerializedStateMapper(String fieldName,
Serializer<T> serializer) |
Modifier and Type | Method and Description |
---|---|
T |
fromValues(List<Values> values) |
Fields |
getStateFields() |
String |
toString() |
Values |
toValues(T value) |
public SerializedStateMapper(String fieldName, Serializer<T> serializer)
public Fields getStateFields()
getStateFields
in interface StateMapper<T>
public Values toValues(T value)
toValues
in interface StateMapper<T>
public T fromValues(List<Values> values)
fromValues
in interface StateMapper<T>
Copyright © 2019 The Apache Software Foundation. All rights reserved.