public abstract class BaseSerializer extends Object
Constructor and Description |
---|
BaseSerializer() |
public abstract org.nd4j.shade.jackson.databind.ObjectMapper getObjectMapper()
public String serialize(Object o)
Transform
, Condition
, Filter
, etcserializeTransformList(List)
To deserialize, use the appropriate method: deserializeTransform(String)
for example.
o
- Object to serializepublic String serializeTransformList(List<Transform> list)
public String serializeFilterList(List<Filter> list)
public String serializeConditionList(List<Condition> list)
public String serialize(IAssociativeReducer[] reducers)
public String serializeReducerList(List<IAssociativeReducer> list)
public String serialize(SequenceComparator[] seqComparators)
public String serializeSequenceComparatorList(List<SequenceComparator> list)
public String serialize(DataAction[] dataActions)
public String serializeDataActionList(List<DataAction> list)
public Transform deserializeTransform(String str)
serialize(Object)
str
- String representation (YAML/JSON) of the Transformpublic Filter deserializeFilter(String str)
serialize(Object)
str
- String representation (YAML/JSON) of the Filterpublic Condition deserializeCondition(String str)
serialize(Object)
str
- String representation (YAML/JSON) of the Conditionpublic IAssociativeReducer deserializeReducer(String str)
serialize(Object)
str
- String representation (YAML/JSON) of the IStringReducerpublic SequenceComparator deserializeSequenceComparator(String str)
serialize(Object)
str
- String representation (YAML/JSON) of the SequenceComparatorpublic CalculateSortedRank deserializeSortedRank(String str)
serialize(Object)
str
- String representation (YAML/JSON) of the CalculateSortedRankpublic SequenceSplit deserializeSequenceSplit(String str)
serialize(Object)
str
- String representation (YAML/JSON) of the SequenceSplitpublic DataAction deserializeDataAction(String str)
serialize(Object)
str
- String representation (YAML/JSON) of the DataActionpublic List<Transform> deserializeTransformList(String str)
serializeTransformList(List)
, or
an array serialized using serialize(Transform[])
str
- String representation (YAML/JSON) of the Transform listList<Transform>
public List<Filter> deserializeFilterList(String str)
serializeFilterList(List)
, or
an array serialized using serialize(Filter[])
str
- String representation (YAML/JSON) of the Filter listList<Filter>
public List<Condition> deserializeConditionList(String str)
serializeConditionList(List)
, or
an array serialized using serialize(Condition[])
str
- String representation (YAML/JSON) of the Condition listList<Condition>
public List<IAssociativeReducer> deserializeReducerList(String str)
serializeReducerList(List)
, or
an array serialized using #serialize(IReducer[])
str
- String representation (YAML/JSON) of the IStringReducer listList<IStringReducer>
public List<SequenceComparator> deserializeSequenceComparatorList(String str)
serializeSequenceComparatorList(List)
, or
an array serialized using serialize(SequenceComparator[])
str
- String representation (YAML/JSON) of the SequenceComparator listList<SequenceComparator>
public List<DataAction> deserializeDataActionList(String str)
serializeDataActionList(List)
, or
an array serialized using serialize(DataAction[])
str
- String representation (YAML/JSON) of the DataAction listList<DataAction>
Copyright © 2018. All rights reserved.