- add(Object, LiteralPathElement) - Method in class com.bazaarvoice.jolt.common.WalkedPath
-
Convenience method
- AmpPathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
PathElement class that handles keys with & values, like input: "photos-&(1,1)""
It breaks down the string into a series of String or Reference tokens, that can be used to
1) match input like "photos-5" where "&(1,1)" evaluated to 5
- AmpPathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.AmpPathElement
-
- AmpReference - Class in com.bazaarvoice.jolt.common.reference
-
This class parses the Jolt & syntax into useful programmatic constructs.
- AmpReference(String) - Constructor for class com.bazaarvoice.jolt.common.reference.AmpReference
-
- apply(String, Object, WalkedPath, Object) - Method in class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec
-
If this Spec matches the inputkey, then perform one step in the parallel treewalk.
- apply(String, Object, WalkedPath, Object) - Method in class com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec
-
If this CardinalitySpec matches the inputkey, then do the work of modifying the data and return true.
- apply(String, Object, WalkedPath, Object) - Method in class com.bazaarvoice.jolt.cardinality.CardinalitySpec
-
This is the main recursive method of the CardinalityTransform parallel "spec" and "input" tree walk.
- apply(String, Object, WalkedPath, Map<String, Object>) - Method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
-
If this Spec matches the inputKey, then perform one step in the Shiftr parallel treewalk.
- apply(String, Object, WalkedPath, Map<String, Object>) - Method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrLeafSpec
-
If this Spec matches the inputkey, then do the work of outputting data and return true.
- apply(String, Object, WalkedPath, Map<String, Object>) - Method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
-
This is the main recursive method of the Shiftr parallel "spec" and "input" tree walk.
- applyChild(Object) - Method in class com.bazaarvoice.jolt.defaultr.ArrayKey
-
- applyChild(Object) - Method in class com.bazaarvoice.jolt.defaultr.Key
-
Apply this Key to the defaultee.
- applyChild(Object) - Method in class com.bazaarvoice.jolt.defaultr.MapKey
-
- applyChildren(Object) - Method in class com.bazaarvoice.jolt.defaultr.Key
-
This is the main "recursive" method.
- applyToList(List<Object>) - Method in class com.bazaarvoice.jolt.removr.spec.RemovrCompositeSpec
-
- applyToList(List<Object>) - Method in class com.bazaarvoice.jolt.removr.spec.RemovrLeafSpec
-
- applyToList(List<Object>) - Method in class com.bazaarvoice.jolt.removr.spec.RemovrSpec
-
Build a list of indices to remove from the input list, using the pathElement
from the Spec.
- applyToMap(Map<String, Object>) - Method in class com.bazaarvoice.jolt.removr.spec.RemovrCompositeSpec
-
- applyToMap(Map<String, Object>) - Method in class com.bazaarvoice.jolt.removr.spec.RemovrLeafSpec
-
Build a list of keys to remove from the input map, using the pathElement
from the Spec.
- applyToMap(Map<String, Object>) - Method in class com.bazaarvoice.jolt.removr.spec.RemovrSpec
-
Build a list of keys to remove from the input map, using the pathElement
from the Spec.
- applyToParentContainer(String, Object, WalkedPath, Object) - Method in class com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec
-
This should only be used by composite specs with an '@' child
- ARRAY - Static variable in interface com.bazaarvoice.jolt.Defaultr.WildCards
-
- ArrayKey - Class in com.bazaarvoice.jolt.defaultr
-
- ArrayKey(String, Object) - Constructor for class com.bazaarvoice.jolt.defaultr.ArrayKey
-
- ArrayPathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
- ArrayPathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
-
- ArrayPathElement.ArrayPathType - Enum in com.bazaarvoice.jolt.common.pathelement
-
- ArrayTraversalStep<DataType> - Class in com.bazaarvoice.jolt.traversr.traversal
-
TraversalStep that expects to handle List objects.
- ArrayTraversalStep(Traversr, TraversalStep) - Constructor for class com.bazaarvoice.jolt.traversr.traversal.ArrayTraversalStep
-
- AtPathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
- AtPathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.AtPathElement
-
- AutoExpandArrayTraversalStep<DataType> - Class in com.bazaarvoice.jolt.traversr.traversal
-
Subclass of ArrayTraversalStep that does not care about array index numbers.
- AutoExpandArrayTraversalStep(Traversr, TraversalStep) - Constructor for class com.bazaarvoice.jolt.traversr.traversal.AutoExpandArrayTraversalStep
-
- CardinalityCompositeSpec - Class in com.bazaarvoice.jolt.cardinality
-
CardinalitySpec that has children, which it builds and then manages during Transforms.
- CardinalityCompositeSpec(String, Map<String, Object>) - Constructor for class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec
-
- CardinalityCompositeSpec.ComputedKeysComparator - Class in com.bazaarvoice.jolt.cardinality
-
- CardinalityCompositeSpec.ComputedKeysComparator() - Constructor for class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec.ComputedKeysComparator
-
- CardinalityLeafSpec - Class in com.bazaarvoice.jolt.cardinality
-
Leaf level CardinalitySpec object.
- CardinalityLeafSpec(String, Object) - Constructor for class com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec
-
- CardinalityLeafSpec.CardinalityRelationship - Enum in com.bazaarvoice.jolt.cardinality
-
- CardinalitySpec - Class in com.bazaarvoice.jolt.cardinality
-
A Spec Object represents a single line from the JSON Cardinality Spec.
- CardinalitySpec(String) - Constructor for class com.bazaarvoice.jolt.cardinality.CardinalitySpec
-
- CardinalityTransform - Class in com.bazaarvoice.jolt
-
The CardinalityTransform changes the cardinality of input JSON data elements.
- CardinalityTransform(Object) - Constructor for class com.bazaarvoice.jolt.CardinalityTransform
-
Initialize a Cardinality transform with a CardinalityCompositeSpec.
- cast(Object) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
-
Type casts an input object to class indicated by TypeToken
- cast(Object[]) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
-
Type cast to array E[]
- Chainr - Class in com.bazaarvoice.jolt
-
Chainr is the JOLT mechanism for chaining
JoltTransform
s together.
- Chainr(List<JoltTransform>) - Constructor for class com.bazaarvoice.jolt.Chainr
-
- ChainrBuilder - Class in com.bazaarvoice.jolt.chainr
-
- ChainrBuilder(Object) - Constructor for class com.bazaarvoice.jolt.chainr.ChainrBuilder
-
Initialize a Chainr to run a list of Transforms.
- ChainrEntry - Class in com.bazaarvoice.jolt.chainr.spec
-
Helper class that encapsulates the information one of the individual transform entries in
the Chainr spec's list.
- ChainrEntry(int, Object) - Constructor for class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
-
Process an element from the Chainr Spec into a ChainrEntry class.
- chainrInstantiator - Variable in class com.bazaarvoice.jolt.chainr.ChainrBuilder
-
- ChainrInstantiator - Interface in com.bazaarvoice.jolt.chainr.instantiator
-
Interface to allow the guts of the Transform class loading logic to be swapped out.
- ChainrSpec - Class in com.bazaarvoice.jolt.chainr.spec
-
Helper class that encapsulates the Chainr spec's list.
- ChainrSpec(Object) - Constructor for class com.bazaarvoice.jolt.chainr.spec.ChainrSpec
-
- child - Variable in class com.bazaarvoice.jolt.traversr.traversal.BaseTraversalStep
-
- children - Variable in class com.bazaarvoice.jolt.defaultr.Key
-
- com.bazaarvoice.jolt - package com.bazaarvoice.jolt
-
- com.bazaarvoice.jolt.cardinality - package com.bazaarvoice.jolt.cardinality
-
- com.bazaarvoice.jolt.chainr - package com.bazaarvoice.jolt.chainr
-
- com.bazaarvoice.jolt.chainr.instantiator - package com.bazaarvoice.jolt.chainr.instantiator
-
- com.bazaarvoice.jolt.chainr.spec - package com.bazaarvoice.jolt.chainr.spec
-
- com.bazaarvoice.jolt.common - package com.bazaarvoice.jolt.common
-
- com.bazaarvoice.jolt.common.pathelement - package com.bazaarvoice.jolt.common.pathelement
-
- com.bazaarvoice.jolt.common.reference - package com.bazaarvoice.jolt.common.reference
-
- com.bazaarvoice.jolt.defaultr - package com.bazaarvoice.jolt.defaultr
-
- com.bazaarvoice.jolt.exception - package com.bazaarvoice.jolt.exception
-
- com.bazaarvoice.jolt.removr.spec - package com.bazaarvoice.jolt.removr.spec
-
- com.bazaarvoice.jolt.shiftr - package com.bazaarvoice.jolt.shiftr
-
- com.bazaarvoice.jolt.shiftr.spec - package com.bazaarvoice.jolt.shiftr.spec
-
- com.bazaarvoice.jolt.traversr - package com.bazaarvoice.jolt.traversr
-
- com.bazaarvoice.jolt.traversr.traversal - package com.bazaarvoice.jolt.traversr.traversal
-
- com.bazaarvoice.jolt.utils - package com.bazaarvoice.jolt.utils
-
- compare(CardinalitySpec, CardinalitySpec) - Method in class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec.ComputedKeysComparator
-
- compare(Key, Key) - Method in class com.bazaarvoice.jolt.defaultr.Key.KeyPrecedenceComparator
-
- compare(OPS, OPS) - Method in class com.bazaarvoice.jolt.defaultr.OPS.OpsPrecedenceComparator
-
The order we want to apply Defaultr logic is Literals, Or, and then Star.
- compare(ShiftrSpec, ShiftrSpec) - Method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec.ComputedKeysComparator
-
- ContextualTransform - Interface in com.bazaarvoice.jolt
-
Interface for Jolt Transforms that can incorporate context information along with the
source input JSON.
- countMatches(CharSequence, CharSequence) - Static method in class com.bazaarvoice.jolt.utils.StringTools
-
Count the num# of matches of subSequence in sourceSequence
- createOutputContainerObject() - Method in class com.bazaarvoice.jolt.defaultr.Key
-
- createTraversr(List<String>) - Method in class com.bazaarvoice.jolt.shiftr.PathEvaluatingTraversal
-
- createTraversr(List<String>) - Method in class com.bazaarvoice.jolt.shiftr.ShiftrWriter
-
- createTraversr(List<String>) - Method in class com.bazaarvoice.jolt.shiftr.TransposeReader
-
- set(Object, DataType) - Method in class com.bazaarvoice.jolt.traversr.SimpleTraversal
-
- set(Object, List<String>, DataType) - Method in class com.bazaarvoice.jolt.traversr.Traversr
-
- Shiftr - Class in com.bazaarvoice.jolt
-
Shiftr is a kind of JOLT transform that specifies where "data" from the input JSON should be placed in the
output JSON, aka how the input JSON/data should be shifted around to make the output JSON/data.
- Shiftr(Object) - Constructor for class com.bazaarvoice.jolt.Shiftr
-
Initialize a Shiftr transform with a Spec.
- ShiftrCompositeSpec - Class in com.bazaarvoice.jolt.shiftr.spec
-
Spec that has children, which it builds and then manages during Transforms.
- ShiftrCompositeSpec(String, Map<String, Object>) - Constructor for class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
-
- ShiftrCompositeSpec.ComputedKeysComparator - Class in com.bazaarvoice.jolt.shiftr.spec
-
- ShiftrCompositeSpec.ComputedKeysComparator() - Constructor for class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec.ComputedKeysComparator
-
- ShiftrLeafSpec - Class in com.bazaarvoice.jolt.shiftr.spec
-
Leaf level Spec object.
- ShiftrLeafSpec(String, Object) - Constructor for class com.bazaarvoice.jolt.shiftr.spec.ShiftrLeafSpec
-
- ShiftrSpec - Class in com.bazaarvoice.jolt.shiftr.spec
-
A Spec Object represents a single line from the JSON Shiftr Spec.
- ShiftrSpec(String) - Constructor for class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
-
- ShiftrTraversr<DataType> - Class in com.bazaarvoice.jolt.shiftr
-
Traverser that does not overwrite data.
- ShiftrTraversr(String) - Constructor for class com.bazaarvoice.jolt.shiftr.ShiftrTraversr
-
- ShiftrTraversr(List<String>) - Constructor for class com.bazaarvoice.jolt.shiftr.ShiftrTraversr
-
- ShiftrWriter - Class in com.bazaarvoice.jolt.shiftr
-
Shiftr Specific version of a PathEvaluatingTraversal, where we supply a
ShiftrTraversr.
- ShiftrWriter(String) - Constructor for class com.bazaarvoice.jolt.shiftr.ShiftrWriter
-
- simpleDeepCopy(Object) - Static method in class com.bazaarvoice.jolt.common.DeepCopy
-
Simple deep copy, that leverages Java Serialization.
- SimpleTraversal<DataType> - Class in com.bazaarvoice.jolt.traversr
-
Utility class for use in custom Transforms.
- SimpleTraversal(String) - Constructor for class com.bazaarvoice.jolt.traversr.SimpleTraversal
-
- SimpleTraversr<DataType> - Class in com.bazaarvoice.jolt.traversr
-
Simple Traversr that
1 Does overwrite sets at the leaf level
2 Will create intermediate container objects only on SET operations
- SimpleTraversr(String) - Constructor for class com.bazaarvoice.jolt.traversr.SimpleTraversr
-
- SimpleTraversr(List<String>) - Constructor for class com.bazaarvoice.jolt.traversr.SimpleTraversr
-
- size() - Method in class com.bazaarvoice.jolt.shiftr.PathEvaluatingTraversal
-
- sortJson(Object) - Static method in class com.bazaarvoice.jolt.Sortr
-
- Sortr - Class in com.bazaarvoice.jolt
-
Recursively sorts all maps within a JSON object into new sorted LinkedHashMaps so that serialized
representations are deterministic.
- Sortr() - Constructor for class com.bazaarvoice.jolt.Sortr
-
- SPEC_KEY - Static variable in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
-
- SpecDriven - Interface in com.bazaarvoice.jolt
-
Marker interface for Jolt Transforms that are based off a "spec".
- SpecException - Exception in com.bazaarvoice.jolt.exception
-
Exception thrown by JOLT SpecTransforms during initialization.
- SpecException(String) - Constructor for exception com.bazaarvoice.jolt.exception.SpecException
-
- SpecException(String, Throwable) - Constructor for exception com.bazaarvoice.jolt.exception.SpecException
-
- STAR - Static variable in interface com.bazaarvoice.jolt.Defaultr.WildCards
-
- StarAllPathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
PathElement for the lone "*" wildcard.
- StarAllPathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.StarAllPathElement
-
- StarDoublePathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
PathElement for the a double "*" wildcard such as tag-*-*.
- StarDoublePathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.StarDoublePathElement
-
+
- StarPathElement - Interface in com.bazaarvoice.jolt.common.pathelement
-
Marker interface for PathElements that contain the "*" wildcard.
- StarRegexPathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
Non-greedy * based Path Element.
- StarRegexPathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.StarRegexPathElement
-
- StarSinglePathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
PathElement for the a single "*" wildcard such as tag-*.
- StarSinglePathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.StarSinglePathElement
-
- STOCK_TRANSFORMS - Static variable in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
-
Map transform "operation" names to the classes that handle them
- stringIterator(String) - Static method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
-
Helper method to turn a String into an Iterator
- stringMatch(String) - Method in class com.bazaarvoice.jolt.common.pathelement.StarAllPathElement
-
- stringMatch(String) - Method in class com.bazaarvoice.jolt.common.pathelement.StarDoublePathElement
-
- stringMatch(String) - Method in interface com.bazaarvoice.jolt.common.pathelement.StarPathElement
-
Method to see if a candidate key would match this PathElement.
- stringMatch(String) - Method in class com.bazaarvoice.jolt.common.pathelement.StarRegexPathElement
-
- stringMatch(String) - Method in class com.bazaarvoice.jolt.common.pathelement.StarSinglePathElement
-
- StringTools - Class in com.bazaarvoice.jolt.utils
-
This class mimics the behavior of apache StringTools, except that it works on CharSequence instead of String
Also, with this, jolt-core can finally be free of apache-common dependency
- StringTools() - Constructor for class com.bazaarvoice.jolt.utils.StringTools
-
- TOKEN - Static variable in class com.bazaarvoice.jolt.common.reference.AmpReference
-
- TOKEN - Static variable in class com.bazaarvoice.jolt.common.reference.DollarReference
-
- TOKEN - Static variable in class com.bazaarvoice.jolt.common.reference.HashReference
-
- toSimpleTraversrPath(Object[]) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
-
Converts a standard json path to human readable SimpleTraversr compatible path
- toString() - Method in class com.bazaarvoice.jolt.common.pathelement.BasePathElement
-
- transform(Object) - Method in class com.bazaarvoice.jolt.CardinalityTransform
-
Applies the Cardinality transform.
- transform(Object, Map<String, Object>) - Method in class com.bazaarvoice.jolt.Chainr
-
Runs a series of Transforms on the input, piping the inputs and outputs of the Transforms together.
- transform(Object) - Method in class com.bazaarvoice.jolt.Chainr
-
- transform(int, Object) - Method in class com.bazaarvoice.jolt.Chainr
-
Have Chainr run a subset of the transforms in it's spec.
- transform(int, Object, Map<String, Object>) - Method in class com.bazaarvoice.jolt.Chainr
-
Useful for testing and debugging.
- transform(int, int, Object) - Method in class com.bazaarvoice.jolt.Chainr
-
Useful for testing and debugging.
- transform(int, int, Object, Map<String, Object>) - Method in class com.bazaarvoice.jolt.Chainr
-
Have Chainr run a subset of the transforms in it's spec.
- transform(Object, Map<String, Object>) - Method in interface com.bazaarvoice.jolt.ContextualTransform
-
Execute a transform on some input JSON with optionally provided "context" and return the result.
- transform(Object) - Method in class com.bazaarvoice.jolt.Defaultr
-
Top level standalone Defaultr method.
- transform(Object) - Method in class com.bazaarvoice.jolt.Removr
-
Recursively removes data from the input JSON.
- transform(Object) - Method in class com.bazaarvoice.jolt.Shiftr
-
Applies the Shiftr transform.
- transform(Object) - Method in class com.bazaarvoice.jolt.Sortr
-
Makes a "sorted" copy of the input JSON for human readability.
- Transform - Interface in com.bazaarvoice.jolt
-
- transform(Object) - Method in interface com.bazaarvoice.jolt.Transform
-
Execute a transform on some input JSON with optionally provided "context" and return the result.
- TransformException - Exception in com.bazaarvoice.jolt.exception
-
Exception thrown by JOLT transforms.
- TransformException(String) - Constructor for exception com.bazaarvoice.jolt.exception.TransformException
-
- TransformException(String, Throwable) - Constructor for exception com.bazaarvoice.jolt.exception.TransformException
-
- TransposePathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
This PathElement is used by Shiftr to Transpose data.
- TransposeReader - Class in com.bazaarvoice.jolt.shiftr
-
The TransposeReader uses a PathEvaluatingTraversal with a SimpleTraversr.
- TransposeReader(String) - Constructor for class com.bazaarvoice.jolt.shiftr.TransposeReader
-
- TraversalStep<StepType,DataType> - Interface in com.bazaarvoice.jolt.traversr.traversal
-
A step in a JSON tree traversal.
- TraversalStep.Operation - Enum in com.bazaarvoice.jolt.traversr.traversal
-
The three things you can do with a Traversal.
- traverse(StepType, TraversalStep.Operation, Iterator<String>, DataType) - Method in class com.bazaarvoice.jolt.traversr.traversal.BaseTraversalStep
-
- traverse(StepType, TraversalStep.Operation, Iterator<String>, DataType) - Method in interface com.bazaarvoice.jolt.traversr.traversal.TraversalStep
-
TODO : Move this to use the Java 8 Optional, so that we can distinguish
the traverse "not working" or we found an actual / valid null.
- traversr - Variable in class com.bazaarvoice.jolt.traversr.traversal.BaseTraversalStep
-
- Traversr<DataType> - Class in com.bazaarvoice.jolt.traversr
-
Traversr allows you to walk JSON tree structures of data, and to GET and SET operations.
- Traversr(String) - Constructor for class com.bazaarvoice.jolt.traversr.Traversr
-
- Traversr(List<String>) - Constructor for class com.bazaarvoice.jolt.traversr.Traversr
-
Constructor where we provide a known good set of pathElement Strings in a list.
- TraversrException - Exception in com.bazaarvoice.jolt.traversr
-
- TraversrException(String) - Constructor for exception com.bazaarvoice.jolt.traversr.TraversrException
-
- TraversrException(String, Exception) - Constructor for exception com.bazaarvoice.jolt.traversr.TraversrException
-