A B C D E F G H I J K L M N O P R S T V W 

A

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
 

B

BasePathAndGroupReference - Class in com.bazaarvoice.jolt.common.reference
All "References" extend this class and support three level of syntactic sugar Example with the AmpReference 1 "&" 2 "&0" 3 "&(0,0)" all three mean the same thing.
BasePathAndGroupReference(String) - Constructor for class com.bazaarvoice.jolt.common.reference.BasePathAndGroupReference
 
BasePathElement - Class in com.bazaarvoice.jolt.common.pathelement
 
BasePathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.BasePathElement
 
BasePathReference - Class in com.bazaarvoice.jolt.common.reference
 
BasePathReference(String) - Constructor for class com.bazaarvoice.jolt.common.reference.BasePathReference
 
BaseTraversalStep<StepType,DataType> - Class in com.bazaarvoice.jolt.traversr.traversal
 
BaseTraversalStep(Traversr, TraversalStep) - Constructor for class com.bazaarvoice.jolt.traversr.traversal.BaseTraversalStep
 
build() - Method in class com.bazaarvoice.jolt.chainr.ChainrBuilder
 

C

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 JoltTransforms 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
 

D

DeepCopy - Class in com.bazaarvoice.jolt.common
 
DeepCopy() - Constructor for class com.bazaarvoice.jolt.common.DeepCopy
 
DefaultChainrInstantiator - Class in com.bazaarvoice.jolt.chainr.instantiator
Loads classes via Java Reflection APIs.
DefaultChainrInstantiator() - Constructor for class com.bazaarvoice.jolt.chainr.instantiator.DefaultChainrInstantiator
 
Defaultr - Class in com.bazaarvoice.jolt
Defaultr is a kind of JOLT transform that applies default values in a non-destructive way.
Defaultr(Object) - Constructor for class com.bazaarvoice.jolt.Defaultr
Configure an instance of Defaultr with a spec.
Defaultr.WildCards - Interface in com.bazaarvoice.jolt
 
DollarPathElement - Class in com.bazaarvoice.jolt.common.pathelement
 
DollarPathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.DollarPathElement
 
DollarReference - Class in com.bazaarvoice.jolt.common.reference
 
DollarReference(String) - Constructor for class com.bazaarvoice.jolt.common.reference.DollarReference
 

E

elementFromEnd(int) - Method in class com.bazaarvoice.jolt.common.WalkedPath
Method useful to "&", "&1", "&2", etc evaluation.
empty() - Static method in class com.bazaarvoice.jolt.common.Optional
 
EvaluatablePathElement - Interface in com.bazaarvoice.jolt.common.pathelement
 
evaluate(WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.AmpPathElement
 
evaluate(WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
 
evaluate(WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.DollarPathElement
 
evaluate(WalkedPath) - Method in interface com.bazaarvoice.jolt.common.pathelement.EvaluatablePathElement
Evaluate this key as if it is an write path element.
evaluate(WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
evaluate(WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
 

F

fromSpec(Object) - Static method in class com.bazaarvoice.jolt.Chainr
 
fromSpec(Object, ChainrInstantiator) - Static method in class com.bazaarvoice.jolt.Chainr
 

G

get() - Method in class com.bazaarvoice.jolt.common.Optional
 
get(int) - Method in class com.bazaarvoice.jolt.shiftr.PathEvaluatingTraversal
 
get(Object) - Method in class com.bazaarvoice.jolt.traversr.SimpleTraversal
 
get(List<Object>, String) - Method in class com.bazaarvoice.jolt.traversr.traversal.ArrayTraversalStep
 
get(List<Object>, String) - Method in class com.bazaarvoice.jolt.traversr.traversal.AutoExpandArrayTraversalStep
 
get(Map<String, Object>, String) - Method in class com.bazaarvoice.jolt.traversr.traversal.MapTraversalStep
 
get(StepType, String) - Method in interface com.bazaarvoice.jolt.traversr.traversal.TraversalStep
Return the data for the key from the provided tree object.
get(Object, List<String>) - Method in class com.bazaarvoice.jolt.traversr.Traversr
TODO : Make this use the Java 8 optional, when Jolt moves to 8 Note : Calling this method MAY modify the tree object by adding new Maps and Lists as needed for the traversal.
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.AmpPathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.AtPathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.DollarPathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.HashPathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
getCanonicalForm() - Method in interface com.bazaarvoice.jolt.common.pathelement.PathElement
Get the canonical form of this PathElement.
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.StarAllPathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.StarDoublePathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.StarRegexPathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.StarSinglePathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
 
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.reference.BasePathAndGroupReference
Builds the non-syntactic sugar / maximally expanded and unique form of this reference.
getCanonicalForm() - Method in class com.bazaarvoice.jolt.common.reference.BasePathReference
Builds the non-syntactic sugar / maximally expanded and unique form of this reference.
getCanonicalForm() - Method in interface com.bazaarvoice.jolt.common.reference.PathReference
Get the canonical form of this Reference.
getCanonicalForm() - Method in class com.bazaarvoice.jolt.shiftr.PathEvaluatingTraversal
Testing method.
getChainrEntries() - Method in class com.bazaarvoice.jolt.chainr.spec.ChainrSpec
 
getChild() - Method in class com.bazaarvoice.jolt.traversr.traversal.BaseTraversalStep
 
getChild() - Method in interface com.bazaarvoice.jolt.traversr.traversal.TraversalStep
 
getContextualTransforms() - Method in class com.bazaarvoice.jolt.Chainr
This method allows Chainr clients to examine the ContextualTransforms in this Chainr instance.
getErrorMessageIndexSuffix() - Method in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
Generate an error message suffix what lists the index of the ChainrEntry in the overall ChainrSpec.
getHashCount() - Method in class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
getJoltTransformClass() - Method in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
 
getKeyGroup() - Method in class com.bazaarvoice.jolt.common.reference.BasePathAndGroupReference
 
getKeyGroup() - Method in interface com.bazaarvoice.jolt.common.reference.PathAndGroupReference
 
getLiteralIntKey() - Method in class com.bazaarvoice.jolt.defaultr.ArrayKey
 
getLiteralIntKey() - Method in class com.bazaarvoice.jolt.defaultr.Key
 
getLiteralIntKey() - Method in class com.bazaarvoice.jolt.defaultr.MapKey
 
getLiteralPathElement() - Method in class com.bazaarvoice.jolt.common.PathStep
 
getNonNegativeIntegerFromLiteralPathElement() - Method in class com.bazaarvoice.jolt.removr.spec.RemovrSpec
Try to "interpret" the spec String value as a non-negative integer.
getOp() - Method in class com.bazaarvoice.jolt.defaultr.Key
 
getOrCount() - Method in class com.bazaarvoice.jolt.defaultr.Key
 
getOutputArraySize() - Method in class com.bazaarvoice.jolt.defaultr.Key
 
getPathIndex() - Method in class com.bazaarvoice.jolt.common.reference.BasePathAndGroupReference
 
getPathIndex() - Method in class com.bazaarvoice.jolt.common.reference.BasePathReference
 
getPathIndex() - Method in interface com.bazaarvoice.jolt.common.reference.PathReference
 
getRawKey() - Method in class com.bazaarvoice.jolt.common.pathelement.BasePathElement
 
getRawKey() - Method in interface com.bazaarvoice.jolt.common.pathelement.PathElement
 
getRawKey() - Method in class com.bazaarvoice.jolt.common.pathelement.StarAllPathElement
 
getSpec() - Method in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
 
getStepType() - Method in class com.bazaarvoice.jolt.traversr.traversal.ArrayTraversalStep
 
getStepType() - Method in class com.bazaarvoice.jolt.traversr.traversal.MapTraversalStep
 
getStepType() - Method in interface com.bazaarvoice.jolt.traversr.traversal.TraversalStep
Return the Class of the Generic T, so that it can be used in an "instanceof" style check.
getSubKeyCount() - Method in class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
getSubKeyRef(int) - Method in class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
getToken() - Method in class com.bazaarvoice.jolt.common.reference.AmpReference
 
getToken() - Method in class com.bazaarvoice.jolt.common.reference.BasePathAndGroupReference
 
getToken() - Method in class com.bazaarvoice.jolt.common.reference.BasePathReference
 
getToken() - Method in class com.bazaarvoice.jolt.common.reference.DollarReference
 
getToken() - Method in class com.bazaarvoice.jolt.common.reference.HashReference
 
getTokens() - Method in class com.bazaarvoice.jolt.common.pathelement.AmpPathElement
 
getTreeRef() - Method in class com.bazaarvoice.jolt.common.PathStep
 

H

handleFinalSet(TraversalStep, Object, String, DataType) - Method in class com.bazaarvoice.jolt.shiftr.ShiftrTraversr
Do a Shift style insert : 1) if there is no data "there", then just set it 2) if there is already a list "there", just add the data to the list 3) if there something other than a list there, grab it and stuff it and the data into a list and overwrite what is there with a list.
handleFinalSet(TraversalStep, Object, String, DataType) - Method in class com.bazaarvoice.jolt.traversr.SimpleTraversr
 
handleFinalSet(TraversalStep, Object, String, DataType) - Method in class com.bazaarvoice.jolt.traversr.Traversr
Allow subclasses to control how "sets" are done, if/once the traversal has made it to the the last element.
handleIntermediateGet(TraversalStep, Object, String, TraversalStep.Operation) - Method in class com.bazaarvoice.jolt.traversr.SimpleTraversr
Only make a new instance of a container object for SET, if there is nothing "there".
handleIntermediateGet(TraversalStep, Object, String, TraversalStep.Operation) - Method in class com.bazaarvoice.jolt.traversr.Traversr
Allow subclasses to control how gets are handled for intermediate traversals.
hasContextualTransforms() - Method in class com.bazaarvoice.jolt.Chainr
 
HashPathElement - Class in com.bazaarvoice.jolt.common.pathelement
For use on the LHS, allows the user to specify an explicit string to write out.
HashPathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.HashPathElement
 
HashReference - Class in com.bazaarvoice.jolt.common.reference
TODO : Refactor the out to it's own class, as it really isn't a "Reference" This is just a cheap hack at the moment.
HashReference(String) - Constructor for class com.bazaarvoice.jolt.common.reference.HashReference
 
hydrateTransform(ChainrEntry) - Method in interface com.bazaarvoice.jolt.chainr.instantiator.ChainrInstantiator
Instantiate the Transform class specified by the ChainrEntry.
hydrateTransform(ChainrEntry) - Method in class com.bazaarvoice.jolt.chainr.instantiator.DefaultChainrInstantiator
 

I

incrementHashCount() - Method in class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
isArrayOutput() - Method in class com.bazaarvoice.jolt.defaultr.Key
 
isBlank(CharSequence) - Static method in class com.bazaarvoice.jolt.utils.StringTools
Check if a sequence is blank
isEmpty(CharSequence) - Static method in class com.bazaarvoice.jolt.utils.StringTools
Check if a sequence is empty
isEmptyJson(Object) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Given a json document, checks if it has any "leaf" values, can handle deep nesting of lists and maps i.e.
isNotBlank(CharSequence) - Static method in class com.bazaarvoice.jolt.utils.StringTools
Check if a sequence is NOT blank
isPresent() - Method in class com.bazaarvoice.jolt.common.Optional
 
isSpecDriven() - Method in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
 

J

JoltException - Exception in com.bazaarvoice.jolt.exception
Base Jolt Exception
JoltException(String) - Constructor for exception com.bazaarvoice.jolt.exception.JoltException
 
JoltException(String, Throwable) - Constructor for exception com.bazaarvoice.jolt.exception.JoltException
 
JoltTransform - Interface in com.bazaarvoice.jolt
Marker interface for all Jolt Transforms.
JoltUtils - Class in com.bazaarvoice.jolt.utils
Handy utilities that do NOT depend on JsonUtil lives here!
JoltUtils() - Constructor for class com.bazaarvoice.jolt.utils.JoltUtils
 

K

Key - Class in com.bazaarvoice.jolt.defaultr
 
Key(String, Object) - Constructor for class com.bazaarvoice.jolt.defaultr.Key
 
Key.KeyPrecedenceComparator - Class in com.bazaarvoice.jolt.defaultr
 
Key.KeyPrecedenceComparator() - Constructor for class com.bazaarvoice.jolt.defaultr.Key.KeyPrecedenceComparator
 
keyStrings - Variable in class com.bazaarvoice.jolt.defaultr.Key
 

L

lastElement() - Method in class com.bazaarvoice.jolt.common.WalkedPath
 
listKeyChains(Object) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Given a json document, finds out absolute path to every leaf element i.e.
listKeyChains(Object, Object) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Helper/overridden method for listKeyChain(source), it accepts a key-value pair for convenience note: "key": value (an item in map) and [value] (an item in list) is generalized here as [value] is interpreted in json path as 1: value
LiteralPathElement - Class in com.bazaarvoice.jolt.common.pathelement
 
LiteralPathElement(String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
LiteralPathElement(String, List<String>) - Constructor for class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
literalValue - Variable in class com.bazaarvoice.jolt.defaultr.Key
 
loader(ChainrInstantiator) - Method in class com.bazaarvoice.jolt.chainr.ChainrBuilder
Set a ChainrInstantiator to use when instantiating Transform Objects.

M

MapKey - Class in com.bazaarvoice.jolt.defaultr
 
MapKey(String, Object) - Constructor for class com.bazaarvoice.jolt.defaultr.MapKey
 
MapTraversalStep<DataType> - Class in com.bazaarvoice.jolt.traversr.traversal
TraversalStep that expects to handle Map objects.
MapTraversalStep(Traversr, TraversalStep) - Constructor for class com.bazaarvoice.jolt.traversr.traversal.MapTraversalStep
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.AmpPathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.AtPathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.DollarPathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.HashPathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
 
match(String, WalkedPath) - Method in interface com.bazaarvoice.jolt.common.pathelement.MatchablePathElement
See if this PathElement matches the given dataKey.
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.StarAllPathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.StarDoublePathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.StarRegexPathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.StarSinglePathElement
 
match(String, WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
 
MatchablePathElement - Interface in com.bazaarvoice.jolt.common.pathelement
 

N

navigate(Object, Object...) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Navigate inside a json object in quick and dirty way.
navigateSafe(T, Object, Object...) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Navigate inside a json object in quick and "dirtier" way, i.e.
newContainer() - Method in class com.bazaarvoice.jolt.traversr.traversal.ArrayTraversalStep
 
newContainer() - Method in class com.bazaarvoice.jolt.traversr.traversal.MapTraversalStep
 
newContainer() - Method in interface com.bazaarvoice.jolt.traversr.traversal.TraversalStep
Create a new mutable Map or List, suitable for this PathElement to traverse.
newTraversal(String) - Static method in class com.bazaarvoice.jolt.traversr.SimpleTraversal
Google Maps.newHashMap() trick to fill in generic type

O

objectEvaluate(WalkedPath) - Method in class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
This method is used when the TransposePathElement is used on the LFH as data.
of(T) - Static method in class com.bazaarvoice.jolt.common.Optional
 
OPERATION_KEY - Static variable in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
 
OPS - Enum in com.bazaarvoice.jolt.defaultr
 
OPS.OpsPrecedenceComparator - Class in com.bazaarvoice.jolt.defaultr
 
OPS.OpsPrecedenceComparator() - Constructor for class com.bazaarvoice.jolt.defaultr.OPS.OpsPrecedenceComparator
 
Optional<T> - Class in com.bazaarvoice.jolt.common
This can go away when Jolt moves to Java 8 and can use the Java 8 Optional.
OR - Static variable in interface com.bazaarvoice.jolt.Defaultr.WildCards
 
overwriteSet(List<Object>, String, DataType) - Method in class com.bazaarvoice.jolt.traversr.traversal.ArrayTraversalStep
 
overwriteSet(List<Object>, String, DataType) - Method in class com.bazaarvoice.jolt.traversr.traversal.AutoExpandArrayTraversalStep
 
overwriteSet(Map<String, Object>, String, DataType) - Method in class com.bazaarvoice.jolt.traversr.traversal.MapTraversalStep
 
overwriteSet(StepType, String, DataType) - Method in interface com.bazaarvoice.jolt.traversr.traversal.TraversalStep
Insert the data into the tree, overwriting any data that is there.

P

parse(String) - Static method in class com.bazaarvoice.jolt.cardinality.CardinalitySpec
 
parse(String) - Static method in class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
Parse a text value from a Spec, into a TransposePathElement.
parse(String) - Static method in enum com.bazaarvoice.jolt.defaultr.OPS
 
parse(String) - Static method in class com.bazaarvoice.jolt.removr.spec.RemovrSpec
 
parseDotNotation(List<String>, Iterator<Character>, String) - Static method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
Method that recursively parses a dotNotation String based on an iterator.
parseDotNotationRHS(String) - Static method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
Parse the dotNotation of the RHS.
parseSingleKeyLHS(String) - Static method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
Visible for Testing.
parseSpec(Map<String, Object>) - Static method in class com.bazaarvoice.jolt.defaultr.Key
Factory-ish method that recursively processes a Map into a Set objects.
PathAndGroupReference - Interface in com.bazaarvoice.jolt.common.reference
Reference is used by Shiftr when lookup up values from a WalkedPath (list of LiteralPathElements).
pathElement - Variable in class com.bazaarvoice.jolt.cardinality.CardinalitySpec
 
PathElement - Interface in com.bazaarvoice.jolt.common.pathelement
 
pathElement - Variable in class com.bazaarvoice.jolt.removr.spec.RemovrSpec
 
pathElement - Variable in class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
 
PathEvaluatingTraversal - Class in com.bazaarvoice.jolt.shiftr
Combines a Traversr with the ability to evaluate References against a WalkedPath.
PathEvaluatingTraversal(String) - Constructor for class com.bazaarvoice.jolt.shiftr.PathEvaluatingTraversal
 
PathReference - Interface in com.bazaarvoice.jolt.common.reference
Reference is used by Shiftr when lookup up values from a WalkedPath (list of LiteralPathElements).
PathStep - Class in com.bazaarvoice.jolt.common
A tuple class that contains the data for one level of a tree walk, aka a reference to the input for that level, and the LiteralPathElement that was matched at that level.
PathStep(Object, LiteralPathElement) - Constructor for class com.bazaarvoice.jolt.common.PathStep
 

R

rawKey - Variable in class com.bazaarvoice.jolt.defaultr.Key
 
read(Object, WalkedPath) - Method in class com.bazaarvoice.jolt.shiftr.PathEvaluatingTraversal
 
remove(Object) - Method in class com.bazaarvoice.jolt.traversr.SimpleTraversal
 
remove(List<Object>, String) - Method in class com.bazaarvoice.jolt.traversr.traversal.ArrayTraversalStep
 
remove(List<Object>, String) - Method in class com.bazaarvoice.jolt.traversr.traversal.AutoExpandArrayTraversalStep
 
remove(Map<String, Object>, String) - Method in class com.bazaarvoice.jolt.traversr.traversal.MapTraversalStep
 
remove(StepType, String) - Method in interface com.bazaarvoice.jolt.traversr.traversal.TraversalStep
Remove and return the data for the key from the provided tree object.
remove(Object, List<String>) - Method in class com.bazaarvoice.jolt.traversr.Traversr
Note : Calling this method MAY modify the tree object by adding new Maps and Lists as needed for the traversal.
removeLast() - Method in class com.bazaarvoice.jolt.common.WalkedPath
 
removeRecursive(Object, String) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Removes a key recursively from anywhere in a JSON document.
Removr - Class in com.bazaarvoice.jolt
Removr is a kind of JOLT transform that removes content from the input JSON.
Removr(Object) - Constructor for class com.bazaarvoice.jolt.Removr
 
RemovrCompositeSpec - Class in com.bazaarvoice.jolt.removr.spec
Removr Spec that has children.
RemovrCompositeSpec(String, Map<String, Object>) - Constructor for class com.bazaarvoice.jolt.removr.spec.RemovrCompositeSpec
 
RemovrLeafSpec - Class in com.bazaarvoice.jolt.removr.spec
Spec for handling the leaf level of the Removr Transform.
RemovrLeafSpec(String) - Constructor for class com.bazaarvoice.jolt.removr.spec.RemovrLeafSpec
 
RemovrSpec - Class in com.bazaarvoice.jolt.removr.spec
 
RemovrSpec(String) - Constructor for class com.bazaarvoice.jolt.removr.spec.RemovrSpec
 
ROOT_KEY - Static variable in class com.bazaarvoice.jolt.CardinalityTransform
 
ROOT_KEY - Static variable in class com.bazaarvoice.jolt.Shiftr
 

S

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
 

T

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
 

V

valueOf(String) - Static method in enum com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec.CardinalityRelationship
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.bazaarvoice.jolt.common.pathelement.ArrayPathElement.ArrayPathType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.bazaarvoice.jolt.defaultr.OPS
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.bazaarvoice.jolt.traversr.traversal.TraversalStep.Operation
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec.CardinalityRelationship
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.bazaarvoice.jolt.common.pathelement.ArrayPathElement.ArrayPathType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.bazaarvoice.jolt.defaultr.OPS
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.bazaarvoice.jolt.traversr.traversal.TraversalStep.Operation
Returns an array containing the constants of this enum type, in the order they are declared.

W

WalkedPath - Class in com.bazaarvoice.jolt.common
DataStructure used by a SpecTransform during it's parallel tree walk.
WalkedPath() - Constructor for class com.bazaarvoice.jolt.common.WalkedPath
 
WalkedPath(Collection<PathStep>) - Constructor for class com.bazaarvoice.jolt.common.WalkedPath
 
WalkedPath(Object, LiteralPathElement) - Constructor for class com.bazaarvoice.jolt.common.WalkedPath
 
write(Object, Map<String, Object>, WalkedPath) - Method in class com.bazaarvoice.jolt.shiftr.PathEvaluatingTraversal
Use the supplied WalkedPath, in the evaluation of each of our PathElements to build a concrete output path.
A B C D E F G H I J K L M N O P R S T V W 

Copyright © 2016. All Rights Reserved.