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

A

abs(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
Given any object, returns, if possible.
abs() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.abs
 
add(Object, MatchedElement) - Method in class com.bazaarvoice.jolt.common.tree.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, Optional<Object>, WalkedPath, Map<String, Object>, Map<String, Object>) - Method in class com.bazaarvoice.jolt.cardinality.CardinalitySpec
 
apply(String, Optional<Object>, WalkedPath, Map<String, Object>, Map<String, Object>) - Method in interface com.bazaarvoice.jolt.common.spec.BaseSpec
This is the main recursive method of the Shiftr/Templatr/Cardinality parallel "spec" and "input" tree walk.
apply(Object...) - Method in interface com.bazaarvoice.jolt.modifier.function.Function
Deprecated.
 
apply(Object...) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenFunction
Deprecated.
 
apply(Object...) - Method in class com.bazaarvoice.jolt.modifier.function.Function.BaseFunction
Deprecated.
 
apply(Object...) - Method in class com.bazaarvoice.jolt.modifier.function.Function.SquashFunction
Deprecated.
 
apply(Object...) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.size
 
apply(String, Optional<Object>, WalkedPath, Map<String, Object>, Map<String, Object>) - Method in class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
 
apply(String, Optional<Object>, WalkedPath, Map<String, Object>, 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, Optional<Object>, WalkedPath, Map<String, Object>, 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.
applyCardinality(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.
applyCardinality(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.
applyCardinality(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.
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.
applyElement(String, Optional<Object>, MatchedElement, WalkedPath, Map<String, Object>) - Method in class com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
 
applyElement(String, Optional<Object>, MatchedElement, WalkedPath, Map<String, Object>) - Method in class com.bazaarvoice.jolt.modifier.spec.ModifierLeafSpec
 
applyElement(String, Optional<Object>, MatchedElement, WalkedPath, Map<String, Object>) - Method in class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
Templatr specific override that is used in BaseSpec#apply(...) The name is changed for easy identification during debugging
applyList(SOURCE, List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenFunction
Deprecated.
 
applyList(S, List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenListFunction
Deprecated.
 
applyList(S, List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenSingleFunction
Deprecated.
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Function.BaseFunction
Deprecated.
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ListFunction
Deprecated.
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Function.SingleFunction
Deprecated.
 
applyList(Integer, List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Lists.elementAt
 
applyList(List) - Method in class com.bazaarvoice.jolt.modifier.function.Lists.firstElement
 
applyList(List) - Method in class com.bazaarvoice.jolt.modifier.function.Lists.lastElement
 
applyList(List) - Method in class com.bazaarvoice.jolt.modifier.function.Lists.sort
 
applyList(List) - Method in class com.bazaarvoice.jolt.modifier.function.Lists.toList
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.avg
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.divide
 
applyList(Integer, List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.divideAndRound
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.doubleSubtract
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.doubleSum
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.intSubtract
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.intSum
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.longSubtract
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.longSum
 
applyList(List) - Method in class com.bazaarvoice.jolt.modifier.function.Math.max
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Math.min
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.concat
 
applyList(String, List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.join
 
applyList(String, List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.leftPad
 
applyList(String, List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.rightPad
 
applyList(List<Object>) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.substring
 
applySingle(SOURCE, Object) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenFunction
Deprecated.
 
applySingle(S, Object) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenListFunction
Deprecated.
 
applySingle(S, Object) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenSingleFunction
Deprecated.
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Function.BaseFunction
Deprecated.
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ListFunction
Deprecated.
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Function.SingleFunction
Deprecated.
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Function.SquashFunction
Deprecated.
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Lists.sort
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Lists.toList
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Math.abs
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Math.max
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Math.min
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.recursivelySquashNulls
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.squashDuplicates
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.squashNulls
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.toBoolean
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.toDouble
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.toInteger
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.toLong
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Objects.toString
 
applySingle(String, Object) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.split
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.toLowerCase
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.toUpperCase
 
applySingle(Object) - Method in class com.bazaarvoice.jolt.modifier.function.Strings.trim
 
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
ArgDrivenListFunction() - Constructor for class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenListFunction
Deprecated.
 
ArgDrivenSingleFunction() - Constructor for class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenSingleFunction
Deprecated.
 
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
 
ArrayMatchedElement - Class in com.bazaarvoice.jolt.common.tree
 
ArrayMatchedElement(String, int) - Constructor for class com.bazaarvoice.jolt.common.tree.ArrayMatchedElement
 
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
 
AT - Static variable in class com.bazaarvoice.jolt.modifier.TemplatrSpecBuilder
 
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
 
avg(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
Given a list of numbers, returns their avg as double any value in the list that is not a valid number is ignored avg(2,"2","abc") == Optional.of(2.0)
avg() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.avg
 

B

BaseFunction() - Constructor for class com.bazaarvoice.jolt.modifier.function.Function.BaseFunction
Deprecated.
 
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
 
BaseSpec - Interface in com.bazaarvoice.jolt.common.spec
BaseSpec interface that provide a way to get its own pathElement and an apply(...) method to process the spec using input, output and context
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
 
build(Object) - Method in class com.bazaarvoice.jolt.common.TraversalBuilder
 
buildFromPath(String) - Method in class com.bazaarvoice.jolt.common.TraversalBuilder
Given a path to traverse, and based on what Type T of traverser requested, build and appropriate traversr
buildMatchablePathElement(String) - Static method in class com.bazaarvoice.jolt.common.PathElementBuilder
Create a path element and ensures it is a Matchable Path Element

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
 
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.
CARET - Static variable in class com.bazaarvoice.jolt.modifier.TemplatrSpecBuilder
 
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, ClassLoader) - 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
 
ChainrSpec(Object, ClassLoader) - Constructor for class com.bazaarvoice.jolt.chainr.spec.ChainrSpec
 
checkValue - Variable in class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
 
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.common.spec - package com.bazaarvoice.jolt.common.spec
 
com.bazaarvoice.jolt.common.tree - package com.bazaarvoice.jolt.common.tree
 
com.bazaarvoice.jolt.defaultr - package com.bazaarvoice.jolt.defaultr
 
com.bazaarvoice.jolt.exception - package com.bazaarvoice.jolt.exception
 
com.bazaarvoice.jolt.modifier - package com.bazaarvoice.jolt.modifier
 
com.bazaarvoice.jolt.modifier.function - package com.bazaarvoice.jolt.modifier.function
 
com.bazaarvoice.jolt.modifier.spec - package com.bazaarvoice.jolt.modifier.spec
 
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
 
compactJson(Object) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Given a 'fluffy' json document, it recursively removes all null elements to compact the json document Warning: mutates the doc, destroys array order
compare(BaseSpec, BaseSpec) - Method in class com.bazaarvoice.jolt.common.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.
ComputedKeysComparator - Class in com.bazaarvoice.jolt.common
This Comparator is used for determining the execution order of childSpecs.apply(...) Argument Map of Class: integer is used to determine precedence
concat() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.concat
 
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
create(String, WalkedPath, OpMode) - Method in class com.bazaarvoice.jolt.modifier.DataType
Creates an empty map/list, as required by spec, in the parent map/list at given key/index
createOutputContainerObject() - Method in class com.bazaarvoice.jolt.defaultr.Key
 
createSpec(Map<String, Object>) - Method in class com.bazaarvoice.jolt.common.spec.SpecBuilder
Recursively walk the spec input tree.
createSpec(String, Object) - Method in class com.bazaarvoice.jolt.common.spec.SpecBuilder
Given a lhs key and rhs spec object, determine, create and return appropriate spec
createSpec(String, Object) - Method in class com.bazaarvoice.jolt.modifier.TemplatrSpecBuilder
 
createSpec(String, Object) - Method in class com.bazaarvoice.jolt.shiftr.ShiftrSpecBuilder
 
createTraversr(List<String>) - Method in class com.bazaarvoice.jolt.common.PathEvaluatingTraversal
 
createTraversr(List<String>) - Method in class com.bazaarvoice.jolt.common.TransposeReader
 
createTraversr(List<String>) - Method in class com.bazaarvoice.jolt.shiftr.ShiftrWriter
 
createValue() - Method in class com.bazaarvoice.jolt.modifier.DataType
MAP and LIST types overrides this method to return appropriate new map or list
createValue() - Method in class com.bazaarvoice.jolt.modifier.DataType.LIST
 
createValue() - Method in class com.bazaarvoice.jolt.modifier.DataType.MAP
 
createValue() - Method in class com.bazaarvoice.jolt.modifier.DataType.RUNTIME
 

D

DataType - Class in com.bazaarvoice.jolt.modifier
From the spec we need to guess the DataType of the incoming input This is useful for, a) in cases where the spec suggested a list but input was map and vice versa, where we can just skip processing instead of throwing random array/map errors b) in case where the input is actually null and we need to create appropriate data structure and then apply spec logic Note: By design jolt does not stop processing on bad input data
DataType() - Constructor for class com.bazaarvoice.jolt.modifier.DataType
 
DataType.LIST - Class in com.bazaarvoice.jolt.modifier
List type that records maxIndex from spec, and uses that to expand a source (list) properly
DataType.MAP - Class in com.bazaarvoice.jolt.modifier
MAP type class
DataType.RUNTIME - Class in com.bazaarvoice.jolt.modifier
Runtime type
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(Object) - Constructor for class com.bazaarvoice.jolt.Modifier.Defaultr
 
Defaultr(Object, Map<String, Function>) - Constructor for class com.bazaarvoice.jolt.Modifier.Defaultr
 
Defaultr.WildCards - Interface in com.bazaarvoice.jolt
 
Definr(Object) - Constructor for class com.bazaarvoice.jolt.Modifier.Definr
 
Definr(Object, Map<String, Function>) - Constructor for class com.bazaarvoice.jolt.Modifier.Definr
 
determineDataType(int, int, int) - Static method in class com.bazaarvoice.jolt.modifier.DataType
 
determineExecutionStrategy() - Method in interface com.bazaarvoice.jolt.common.spec.OrderedCompositeSpec
 
determineExecutionStrategy() - Method in class com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
 
determineExecutionStrategy() - Method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
 
divide(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
 
divide() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.divide
 
divideAndRound(List<Object>, int) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
 
divideAndRound() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.divideAndRound
 
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
 
doubleSubtract(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
 
doubleSubtract() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.doubleSubtract
 
doubleSum(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
 
doubleSum() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.doubleSum
 

E

elementAt() - Constructor for class com.bazaarvoice.jolt.modifier.function.Lists.elementAt
 
elementFromEnd(int) - Method in class com.bazaarvoice.jolt.common.tree.WalkedPath
Method useful to "&", "&1", "&2", etc evaluation.
empty() - Static method in class com.bazaarvoice.jolt.common.Optional
 
equals(Object) - 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
 
evaluate(WalkedPath) - Method in class com.bazaarvoice.jolt.common.PathEvaluatingTraversal
Use the supplied WalkedPath, in the evaluation of each of our PathElements.
evaluate(WalkedPath) - Method in class com.bazaarvoice.jolt.common.tree.MatchedElement
 
evaluate(Optional<Object>, WalkedPath, Map<String, Object>) - Method in class com.bazaarvoice.jolt.modifier.function.FunctionEvaluator
 
evaluateArg(WalkedPath, Map<String, Object>) - Method in class com.bazaarvoice.jolt.modifier.function.FunctionArg
 
ExecutionStrategy - Enum in com.bazaarvoice.jolt.common
 
expand(Object) - Method in class com.bazaarvoice.jolt.modifier.DataType
LIST overrides this method to expand the source (list) such that in can support an index specified in spec that is outside the range input list, returns original size of the input
expand(Object) - Method in class com.bazaarvoice.jolt.modifier.DataType.LIST
 

F

firstElement() - Constructor for class com.bazaarvoice.jolt.modifier.function.Lists.firstElement
 
fixLeadingBracketSugar(String) - Static method in class com.bazaarvoice.jolt.common.SpecStringParser
Given a dotNotation style outputPath like "data[2].&(1,1)", this method fixes the syntactic sugar of "data[2]" --> "data.[2]" This makes all the rest of the String processing easier once we know that we can always split on the '.' character.
forArgEvaluation(FunctionArg) - Static method in class com.bazaarvoice.jolt.modifier.function.FunctionEvaluator
 
forContext(PathEvaluatingTraversal) - Static method in class com.bazaarvoice.jolt.modifier.function.FunctionArg
 
forFunctionEvaluation(Function, FunctionArg...) - Static method in class com.bazaarvoice.jolt.modifier.function.FunctionEvaluator
 
forLiteral(Object, boolean) - Static method in class com.bazaarvoice.jolt.modifier.function.FunctionArg
 
forSelf(PathEvaluatingTraversal) - Static method in class com.bazaarvoice.jolt.modifier.function.FunctionArg
 
from(String) - Static method in enum com.bazaarvoice.jolt.modifier.OpMode
 
fromOrder(HashMap<Class, Integer>) - Static method in class com.bazaarvoice.jolt.common.ComputedKeysComparator
Static factory method to get an Comparator instance for a given order map
fromSpec(Object) - Static method in class com.bazaarvoice.jolt.Chainr
 
fromSpec(Object, ChainrInstantiator) - Static method in class com.bazaarvoice.jolt.Chainr
 
Function - Interface in com.bazaarvoice.jolt.modifier.function
Deprecated.
FUNCTION - Static variable in class com.bazaarvoice.jolt.modifier.TemplatrSpecBuilder
 
Function.ArgDrivenFunction<SOURCE,RETTYPE> - Class in com.bazaarvoice.jolt.modifier.function
Deprecated.
Abstract class that provides rudimentary abstraction to quickly implement a function that classifies first arg as special input and rest as regular input.
Function.ArgDrivenListFunction<S> - Class in com.bazaarvoice.jolt.modifier.function
Deprecated.
Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on an input list|array i.e.
Function.ArgDrivenSingleFunction<S,R> - Class in com.bazaarvoice.jolt.modifier.function
Deprecated.
Extends ArgDrivenConverter to provide rudimentary abstraction to quickly implement a function that works on a single input i.e.
Function.BaseFunction<T> - Class in com.bazaarvoice.jolt.modifier.function
Deprecated.
Abstract class that processes var-args and calls two abstract methods If its single list arg, or many args, calls applyList() else calls applySingle()
Function.ListFunction - Class in com.bazaarvoice.jolt.modifier.function
Deprecated.
Abstract class that provides rudimentary abstraction to quickly implement a function that works on an List of input i.e.
Function.SingleFunction<T> - Class in com.bazaarvoice.jolt.modifier.function
Deprecated.
Abstract class that provides rudimentary abstraction to quickly implement a function that works on an single value input i.e.
Function.SquashFunction<T> - Class in com.bazaarvoice.jolt.modifier.function
Deprecated.
squashNull is a special kind of null processing,the input is always a list or map as a singleton
FunctionArg - Class in com.bazaarvoice.jolt.modifier.function
 
FunctionArg() - Constructor for class com.bazaarvoice.jolt.modifier.function.FunctionArg
 
FunctionEvaluator - Class in com.bazaarvoice.jolt.modifier.function
 

G

get() - Method in class com.bazaarvoice.jolt.common.Optional
 
get(int) - Method in class com.bazaarvoice.jolt.common.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
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.PathEvaluatingTraversal
Testing method.
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.common.tree.MatchedElement
 
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
 
getComputedChildren() - Method in interface com.bazaarvoice.jolt.common.spec.OrderedCompositeSpec
 
getComputedChildren() - Method in class com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
 
getComputedChildren() - Method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
 
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.
getExplicitArrayIndex() - Method in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
 
getHashCount() - Method in class com.bazaarvoice.jolt.common.tree.MatchedElement
 
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
 
getLiteralChildren() - Method in interface com.bazaarvoice.jolt.common.spec.OrderedCompositeSpec
 
getLiteralChildren() - Method in class com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
 
getLiteralChildren() - Method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
 
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
 
getMatchedElement() - Method in class com.bazaarvoice.jolt.common.tree.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
 
getOp() - Method in enum com.bazaarvoice.jolt.modifier.OpMode
 
getOrCount() - Method in class com.bazaarvoice.jolt.defaultr.Key
 
getOrigSize() - Method in class com.bazaarvoice.jolt.common.tree.ArrayMatchedElement
 
getOrigSize() - Method in class com.bazaarvoice.jolt.common.tree.PathStep
 
getOutputArraySize() - Method in class com.bazaarvoice.jolt.defaultr.Key
 
getPathElement() - Method in class com.bazaarvoice.jolt.cardinality.CardinalitySpec
 
getPathElement() - Method in interface com.bazaarvoice.jolt.common.spec.BaseSpec
Gimme the LHS path element
getPathElement() - Method in class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
 
getPathElement() - Method in class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
 
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
 
getRawIndex() - Method in class com.bazaarvoice.jolt.common.tree.ArrayMatchedElement
 
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.tree.MatchedElement
 
getSubKeyRef(int) - Method in class com.bazaarvoice.jolt.common.tree.MatchedElement
 
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.tree.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.tree.MatchedElement
Here be mutability...
intSubtract(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
 
intSubtract() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.intSubtract
 
intSum(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
 
intSum() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.intSum
 
isApplicable(Map, String) - Method in enum com.bazaarvoice.jolt.modifier.OpMode
Given a source map and a input key returns true if it is ok to go ahead with write operation given a specific opMode
isApplicable(List, int, int) - Method in enum com.bazaarvoice.jolt.modifier.OpMode
Given a source list and a input index and original size of the list (when passed in as input) returns true if it is ok to go ahead with write operation given a specific opMode
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
isBlankJson(Object) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Given a json document checks if its jst blank doc, i.e.
isCompatible(Object) - Method in class com.bazaarvoice.jolt.modifier.DataType
Determines if an input is compatible with current DataType
isCompatible(Object) - Method in class com.bazaarvoice.jolt.modifier.DataType.LIST
 
isCompatible(Object) - Method in class com.bazaarvoice.jolt.modifier.DataType.MAP
 
isCompatible(Object) - Method in class com.bazaarvoice.jolt.modifier.DataType.RUNTIME
 
isEmpty(CharSequence) - Static method in class com.bazaarvoice.jolt.utils.StringTools
Check if a sequence is empty
isExplicitArrayIndex() - Method in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
 
isNotBlank(CharSequence) - Static method in class com.bazaarvoice.jolt.utils.StringTools
Check if a sequence is NOT blank
isNull - Static variable in interface com.bazaarvoice.jolt.modifier.function.Function
Deprecated.
Returns the first argument if it is null spec - "key": ["=inNull", "otherValue" ] input - "key": null output - "key": null input - "key": "value" output - "key": "otherValue"
isPresent() - Method in class com.bazaarvoice.jolt.common.Optional
 
isPresent - Static variable in interface com.bazaarvoice.jolt.modifier.function.Function
Deprecated.
Returns the first argument, null or otherwise spec - "key": [ "=isPresent", "otherValue" ] input - "key": null output - "key": null input - "key": "value" output - "key": "value" input - key is missing output - "key": "otherValue"
isSpecDriven() - Method in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
 
isVacantJson(Object) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Vacant implies there are empty placeholders, i.e.
isValid(String) - Static method in enum com.bazaarvoice.jolt.modifier.OpMode
 

J

join() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.join
 
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 / Jackson live 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
 
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.tree.WalkedPath
 
lastElement() - Constructor for class com.bazaarvoice.jolt.modifier.function.Lists.lastElement
 
leftPad() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.leftPad
 
ListFunction() - Constructor for class com.bazaarvoice.jolt.modifier.function.Function.ListFunction
Deprecated.
 
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
Lists - Class in com.bazaarvoice.jolt.modifier.function
 
Lists() - Constructor for class com.bazaarvoice.jolt.modifier.function.Lists
 
Lists.elementAt - Class in com.bazaarvoice.jolt.modifier.function
Given an index at arg[0], and a list at arg[1] or args[1...N], return element at index of list or array
Lists.firstElement - Class in com.bazaarvoice.jolt.modifier.function
Given a list, return the first element
Lists.lastElement - Class in com.bazaarvoice.jolt.modifier.function
Given a list, return the last element
Lists.sort - Class in com.bazaarvoice.jolt.modifier.function
Given an arbitrary list of items, returns a new array of them in sorted state
Lists.toList - Class in com.bazaarvoice.jolt.modifier.function
Given an arbitrary number of arguments, return them as list
LiteralPathElement - Class in com.bazaarvoice.jolt.common.pathelement
Meant to be an immutable PathElement from a Spec, and therefore shareable across threads running multiple transforms using the same spec.
LiteralPathElement(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.
longSubtract(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
 
longSubtract() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.longSubtract
 
longSum(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
 
longSum() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.longSum
 

M

MAP() - Constructor for class com.bazaarvoice.jolt.modifier.DataType.MAP
 
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
 
MatchedElement - Class in com.bazaarvoice.jolt.common.tree
MatchedElement is the result of a "match" between a spec PathElement and some input data.
MatchedElement(String) - Constructor for class com.bazaarvoice.jolt.common.tree.MatchedElement
 
MatchedElement(String, List<String>) - Constructor for class com.bazaarvoice.jolt.common.tree.MatchedElement
 
Math - Class in com.bazaarvoice.jolt.modifier.function
 
Math() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math
 
Math.abs - Class in com.bazaarvoice.jolt.modifier.function
 
Math.avg - Class in com.bazaarvoice.jolt.modifier.function
 
Math.divide - Class in com.bazaarvoice.jolt.modifier.function
 
Math.divideAndRound - Class in com.bazaarvoice.jolt.modifier.function
 
Math.doubleSubtract - Class in com.bazaarvoice.jolt.modifier.function
 
Math.doubleSum - Class in com.bazaarvoice.jolt.modifier.function
 
Math.intSubtract - Class in com.bazaarvoice.jolt.modifier.function
 
Math.intSum - Class in com.bazaarvoice.jolt.modifier.function
 
Math.longSubtract - Class in com.bazaarvoice.jolt.modifier.function
 
Math.longSum - Class in com.bazaarvoice.jolt.modifier.function
 
Math.max - Class in com.bazaarvoice.jolt.modifier.function
 
Math.min - Class in com.bazaarvoice.jolt.modifier.function
 
max(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
Given a list of objects, returns the max value in its appropriate type also, interprets String as Number and returns appropriately max(1,2l,3d) == Optional.of(3d) max(1,2l,"3.0") == Optional.of(3.0) max("a", "b", "c") == Optional.empty() max([]) == Optional.empty()
max() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.max
 
min(List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Math
Given a list of objects, returns the min value in its appropriate type also, interprets String as Number and returns appropriately min(1d,2l,3) == Optional.of(1d) min("1.0",2l,d) == Optional.of(1.0) min("a", "b", "c") == Optional.empty() min([]) == Optional.empty()
min() - Constructor for class com.bazaarvoice.jolt.modifier.function.Math.min
 
Modifier - Class in com.bazaarvoice.jolt
Base Templatr transform that to behave differently based on provided opMode
Modifier.Defaultr - Class in com.bazaarvoice.jolt
This variant of modifier only writes when the key/index is missing or the value is null
Modifier.Definr - Class in com.bazaarvoice.jolt
This variant of modifier only writes when the key/index is missing
Modifier.Overwritr - Class in com.bazaarvoice.jolt
This variant of modifier creates the key/index is missing, and overwrites the value if present
ModifierCompositeSpec - Class in com.bazaarvoice.jolt.modifier.spec
Composite spec is non-leaf level spec that contains one or many child specs and processes them based on a pre-determined execution strategy
ModifierCompositeSpec(String, Map<String, Object>, OpMode, TemplatrSpecBuilder) - Constructor for class com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
 
ModifierLeafSpec - Class in com.bazaarvoice.jolt.modifier.spec
 
ModifierLeafSpec(String, Object, OpMode, Map<String, Function>) - Constructor for class com.bazaarvoice.jolt.modifier.spec.ModifierLeafSpec
 
ModifierSpec - Class in com.bazaarvoice.jolt.modifier.spec
Base Templatr spec
ModifierSpec(String, OpMode) - Constructor for class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
Builds LHS pathElement and validates to specification

N

navigate(Object, Object...) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Navigate a JSON tree (made up of Maps and Lists) to "lookup" the value at a particular path.
navigateOrDefault(T, Object, Object...) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Navigate a JSON tree (made up of Maps and Lists) to "lookup" the value at a particular path, but will return the supplied default value if there are any problems.
navigateSafe(T, Object, Object...) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Deprecated.
navigateStrict(Object, Object...) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
Navigate a JSON tree (made up of Maps and Lists) to "lookup" the value at a particular path.
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
noop - Static variable in interface com.bazaarvoice.jolt.modifier.function.Function
Deprecated.
Does nothing spec - "key": "=noop" will cause the key to remain unchanged
notNull - Static variable in interface com.bazaarvoice.jolt.modifier.function.Function
Deprecated.
Returns the first argument if in not null spec - "key": ["=notNull", "otherValue" ] input - "key": null output - "key": "otherValue" input - "key": "value" output - "key": "value"

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.
Objects - Class in com.bazaarvoice.jolt.modifier.function
 
Objects() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects
 
Objects.recursivelySquashNulls - Class in com.bazaarvoice.jolt.modifier.function
 
Objects.size - Class in com.bazaarvoice.jolt.modifier.function
Size is a special snowflake and needs specific care
Objects.squashDuplicates - Class in com.bazaarvoice.jolt.modifier.function
 
Objects.squashNulls - Class in com.bazaarvoice.jolt.modifier.function
 
Objects.toBoolean - Class in com.bazaarvoice.jolt.modifier.function
 
Objects.toDouble - Class in com.bazaarvoice.jolt.modifier.function
 
Objects.toInteger - Class in com.bazaarvoice.jolt.modifier.function
 
Objects.toLong - Class in com.bazaarvoice.jolt.modifier.function
 
Objects.toString - Class in com.bazaarvoice.jolt.modifier.function
 
of(T) - Static method in class com.bazaarvoice.jolt.common.Optional
 
OPERATION_KEY - Static variable in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
 
OpMode - Enum in com.bazaarvoice.jolt.modifier
OpMode differentiates different flavors of Templatr Templatr can fill in leaf values as required in spec from a specified context, self or a hardcoded default value.
opMode - Variable in class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
 
OPS - Enum in com.bazaarvoice.jolt.defaultr
 
OPS.OpsPrecedenceComparator - Class in com.bazaarvoice.jolt.defaultr
 
OpsPrecedenceComparator() - Constructor for class com.bazaarvoice.jolt.defaultr.OPS.OpsPrecedenceComparator
 
Optional<T> - Class in com.bazaarvoice.jolt.common
We cannot go away from this Optional to java 8 Optional because, this Optional gives as three states! Where a value can an Object, a null (which is a valid json value) and absent, which is not possible with Java 8 Optional.
OR - Static variable in interface com.bazaarvoice.jolt.Defaultr.WildCards
 
OrderedCompositeSpec - Interface in com.bazaarvoice.jolt.common.spec
An ordered composite spec denotes the spec will have Literal and Computed children that must be Ordered Spec, which should be subject to sorting to before applying any of the determined execution strategies! This is not enforced directly, but these interface methods ensure the executionStrategy gets the literal and computed children lists to process its exec strategy The order is provided by a Map and then ordering is achieved using a comparator
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.
Overwritr(Object) - Constructor for class com.bazaarvoice.jolt.Modifier.Overwritr
 
Overwritr(Object, Map<String, Function>) - Constructor for class com.bazaarvoice.jolt.Modifier.Overwritr
 

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
 
parseAtPathElement(Iterator<Character>, String) - Static method in class com.bazaarvoice.jolt.common.SpecStringParser
Parse RHS Transpose @ logic.
parseDotNotation(List<String>, Iterator<Character>, String) - Static method in class com.bazaarvoice.jolt.common.SpecStringParser
Method that recursively parses a dotNotation String based on an iterator.
parseDotNotationRHS(String) - Static method in class com.bazaarvoice.jolt.common.PathElementBuilder
Parse the dotNotation of the RHS.
parseFunctionArgs(String) - Static method in class com.bazaarvoice.jolt.common.SpecStringParser
 
parseList(List<String>, String) - Static method in class com.bazaarvoice.jolt.common.PathElementBuilder
 
parseSingleKeyLHS(String) - Static method in class com.bazaarvoice.jolt.common.PathElementBuilder
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.modifier.spec.ModifierSpec
 
pathElement - Variable in class com.bazaarvoice.jolt.removr.spec.RemovrSpec
 
pathElement - Variable in class com.bazaarvoice.jolt.shiftr.spec.ShiftrSpec
 
PathElementBuilder - Class in com.bazaarvoice.jolt.common
Static utility class that creates PathElement(s) given a string key from a json spec document
PathEvaluatingTraversal - Class in com.bazaarvoice.jolt.common
Combines a Traversr with the ability to evaluate References against a WalkedPath.
PathEvaluatingTraversal(String) - Constructor for class com.bazaarvoice.jolt.common.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.tree
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, MatchedElement) - Constructor for class com.bazaarvoice.jolt.common.tree.PathStep
 
process(OrderedCompositeSpec, Optional<Object>, WalkedPath, Map<String, Object>, Map<String, Object>) - Method in enum com.bazaarvoice.jolt.common.ExecutionStrategy
 

R

rawKey - Variable in class com.bazaarvoice.jolt.defaultr.Key
 
read(Object, WalkedPath) - Method in class com.bazaarvoice.jolt.common.PathEvaluatingTraversal
 
recursivelySquashNulls(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Recursively squash nulls in maps and lists.
recursivelySquashNulls() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.recursivelySquashNulls
 
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.
remove(Object, Object...) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
For a given non-null (json) object, removes and returns the value in the nested path provided Warning: changes array order, to maintain order, use store(source, null, path ...) instead
removeEscapeChars(String) - Static method in class com.bazaarvoice.jolt.common.SpecStringParser
 
removeEscapedValues(String) - Static method in class com.bazaarvoice.jolt.common.SpecStringParser
 
removeLast() - Method in class com.bazaarvoice.jolt.common.tree.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
 
rightPad() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.rightPad
 
ROOT_KEY - Static variable in class com.bazaarvoice.jolt.CardinalityTransform
 
ROOT_KEY - Static variable in interface com.bazaarvoice.jolt.SpecDriven
 
RUNTIME() - Constructor for class com.bazaarvoice.jolt.modifier.DataType.RUNTIME
 

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
 
setData(Object, MatchedElement, Object, OpMode) - Static method in class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
Static utility method for facilitating writes on input object
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
 
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
 
ShiftrSpecBuilder - Class in com.bazaarvoice.jolt.shiftr
 
ShiftrSpecBuilder() - Constructor for class com.bazaarvoice.jolt.shiftr.ShiftrSpecBuilder
 
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
 
SingleFunction() - Constructor for class com.bazaarvoice.jolt.modifier.function.Function.SingleFunction
Deprecated.
 
size() - Method in class com.bazaarvoice.jolt.common.PathEvaluatingTraversal
 
size() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.size
 
sort() - Constructor for class com.bazaarvoice.jolt.modifier.function.Lists.sort
 
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
 
SpecBuilder<T extends BaseSpec> - Class in com.bazaarvoice.jolt.common.spec
Factory class that provides a factory method create(...) that takes itself as argument to specify how to handle child specs
SpecBuilder() - Constructor for class com.bazaarvoice.jolt.common.spec.SpecBuilder
 
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
 
SpecStringParser - Class in com.bazaarvoice.jolt.common
Static utility methods for handling specStrings such that we can process them into usable formats for further processing into PathElement objects
split() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.split
 
squashDuplicates(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Squashes/Deletes duplicates in lists.
squashDuplicates() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.squashDuplicates
 
SquashFunction() - Constructor for class com.bazaarvoice.jolt.modifier.function.Function.SquashFunction
Deprecated.
 
squashNulls(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Squashes nulls in a list or map.
squashNulls() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.squashNulls
 
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
store(Object, T, Object...) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
For a given non-null (json) object, save the valve in the nested path provided
stringIterator(String) - Static method in class com.bazaarvoice.jolt.common.SpecStringParser
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
 
Strings - Class in com.bazaarvoice.jolt.modifier.function
 
Strings() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings
 
Strings.concat - Class in com.bazaarvoice.jolt.modifier.function
 
Strings.join - Class in com.bazaarvoice.jolt.modifier.function
 
Strings.leftPad - Class in com.bazaarvoice.jolt.modifier.function
 
Strings.rightPad - Class in com.bazaarvoice.jolt.modifier.function
 
Strings.split - Class in com.bazaarvoice.jolt.modifier.function
 
Strings.substring - Class in com.bazaarvoice.jolt.modifier.function
 
Strings.toLowerCase - Class in com.bazaarvoice.jolt.modifier.function
 
Strings.toUpperCase - Class in com.bazaarvoice.jolt.modifier.function
 
Strings.trim - Class in com.bazaarvoice.jolt.modifier.function
 
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
 
substring() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.substring
 

T

TemplatrSpecBuilder - Class in com.bazaarvoice.jolt.modifier
 
TemplatrSpecBuilder(OpMode, Map<String, Function>) - Constructor for class com.bazaarvoice.jolt.modifier.TemplatrSpecBuilder
 
toBoolean(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Returns boolean value of argument, if possible, wrapped in Optional Interprets Strings "true" & "false" as boolean
toBoolean() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.toBoolean
 
toDouble(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Returns double value of argument, if possible, wrapped in Optional Interprets String as Number
toDouble() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.toDouble
 
toInteger(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Returns int value of argument, if possible, wrapped in Optional Interprets String as Number
toInteger() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.toInteger
 
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
 
toList() - Constructor for class com.bazaarvoice.jolt.modifier.function.Lists.toList
 
toLong(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Returns long value of argument, if possible, wrapped in Optional Interprets String as Number
toLong() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.toLong
 
toLowerCase() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.toLowerCase
 
toNumber(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Given any object, returns, if possible.
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.Optional
 
toString() - Method in class com.bazaarvoice.jolt.common.pathelement.BasePathElement
 
toString(Object) - Static method in class com.bazaarvoice.jolt.modifier.function.Objects
Returns String representation of argument, wrapped in Optional for array argument, returns Arrays.toString() for others, returns Objects.toString() Note: this method does not return Optional.empty()
toString() - Constructor for class com.bazaarvoice.jolt.modifier.function.Objects.toString
 
toString() - Method in enum com.bazaarvoice.jolt.modifier.OpMode
 
toUpperCase() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.toUpperCase
 
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, Map<String, Object>) - Method in class com.bazaarvoice.jolt.Modifier
 
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.common
The TransposeReader uses a PathEvaluatingTraversal with a SimpleTraversr.
TransposeReader(String) - Constructor for class com.bazaarvoice.jolt.common.TransposeReader
 
TRAVERSAL_BUILDER - Static variable in class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
 
TraversalBuilder - Class in com.bazaarvoice.jolt.common
Builds Traversal based on specific implementation of build(String path) i.e.
TraversalBuilder() - Constructor for class com.bazaarvoice.jolt.common.TraversalBuilder
 
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
The meat of the Traversal.
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
 
trim() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.trim
 

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.ExecutionStrategy
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.modifier.OpMode
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.ExecutionStrategy
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.modifier.OpMode
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.tree
DataStructure used by a SpecTransform during it's parallel tree walk.
WalkedPath() - Constructor for class com.bazaarvoice.jolt.common.tree.WalkedPath
 
WalkedPath(Collection<PathStep>) - Constructor for class com.bazaarvoice.jolt.common.tree.WalkedPath
 
WalkedPath(Object, MatchedElement) - Constructor for class com.bazaarvoice.jolt.common.tree.WalkedPath
 
withClassLoader(ClassLoader) - Method in class com.bazaarvoice.jolt.chainr.ChainrBuilder
 
write(Object, Map<String, Object>, WalkedPath) - Method in class com.bazaarvoice.jolt.common.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 
Skip navigation links

Copyright © 2023. All rights reserved.