Class MapTraversalStep<DataType>
java.lang.Object
com.bazaarvoice.jolt.traversr.traversal.BaseTraversalStep<Map<String,Object>, DataType>
com.bazaarvoice.jolt.traversr.traversal.MapTraversalStep<DataType>
- All Implemented Interfaces:
TraversalStep<Map<String,Object>, DataType>
TraversalStep that expects to handle Map objects.
-
Nested Class Summary
Nested classes/interfaces inherited from interface TraversalStep
TraversalStep.Operation -
Field Summary
Fields inherited from class BaseTraversalStep
child, traversr -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the data for the key from the provided tree object.Class<?> Return the Class of the Generic T, so that it can be used in an "instanceof" style check.Create a new mutable Map or List, suitable for this PathElement to traverse.Insert the data into the tree, overwriting any data that is there.Remove and return the data for the key from the provided tree object.Methods inherited from class BaseTraversalStep
getChild, traverse
-
Constructor Details
-
MapTraversalStep
-
-
Method Details
-
getStepType
Description copied from interface:TraversalStepReturn the Class of the Generic T, so that it can be used in an "instanceof" style check.- Returns:
- Class that matches Generic parameter T
-
newContainer
Description copied from interface:TraversalStepCreate a new mutable Map or List, suitable for this PathElement to traverse.- Returns:
- new List or Map, depending on the type of the Traversal
-
get
-
remove
-
overwriteSet
-