- abs - Variable in class com.bazaarvoice.jolt.common.Optional
-
- 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
-
- actual - Variable in class com.bazaarvoice.jolt.Diffy.Result
-
- actualContextualTransforms - Variable in class com.bazaarvoice.jolt.Chainr
-
- add(Object, MatchedElement) - Method in class com.bazaarvoice.jolt.common.tree.WalkedPath
-
Convenience method
- allChildNodes - Variable in class com.bazaarvoice.jolt.removr.spec.RemovrCompositeSpec
-
- 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
- applyKeyToComputed(List<T>, WalkedPath, Map<String, Object>, String, Optional<Object>, Map<String, Object>) - Static method in enum com.bazaarvoice.jolt.common.ExecutionStrategy
-
- applyKeyToLiteralAndComputed(CardinalityCompositeSpec, String, Object, WalkedPath, Object) - Static method in class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec
-
This method implements the Cardinality matching behavior
when we have both literal and computed children.
- applyKeyToLiteralAndComputed(T, String, Optional<Object>, WalkedPath, Map<String, Object>, Map<String, Object>) - Static method in enum com.bazaarvoice.jolt.common.ExecutionStrategy
-
This is the method we are trying to avoid calling.
- 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
-
- applyLiteralKeyToContainer(Integer, List<Object>) - Method in class com.bazaarvoice.jolt.defaultr.ArrayKey
-
- applyLiteralKeyToContainer(String, Map<String, Object>) - Method in class com.bazaarvoice.jolt.defaultr.MapKey
-
- 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.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
- ArgDrivenFunction() - Constructor for class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenFunction
-
Deprecated.
- 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
-
- arrayIndex - Variable in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
-
- 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
-
- ArrayOrderObliviousDiffy - Class in com.bazaarvoice.jolt
-
Subclass of Diffy that does not care about JSON Array order.
- ArrayOrderObliviousDiffy(JsonUtil) - Constructor for class com.bazaarvoice.jolt.ArrayOrderObliviousDiffy
-
- ArrayOrderObliviousDiffy() - Constructor for class com.bazaarvoice.jolt.ArrayOrderObliviousDiffy
-
- 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
-
- arrayPathType - Variable in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
-
- ArrayPathType() - Constructor for enum com.bazaarvoice.jolt.common.pathelement.ArrayPathElement.ArrayPathType
-
- arrayRoot - Variable in class com.bazaarvoice.jolt.Defaultr
-
- 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.cardinality.CardinalitySpec
-
- 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
-
- canonicalForm - Variable in class com.bazaarvoice.jolt.common.pathelement.AmpPathElement
-
- canonicalForm - Variable in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
-
- canonicalForm - Variable in class com.bazaarvoice.jolt.common.pathelement.LiteralPathElement
-
- canonicalForm - Variable in class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
-
- 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
-
- cardinalityRelationship - Variable in class com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec
-
- CardinalityRelationship() - Constructor for enum com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec.CardinalityRelationship
-
- 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
JoltTransform
s together.
- Chainr(List<JoltTransform>) - Constructor for class com.bazaarvoice.jolt.Chainr
-
- Chainr.ContextualTransformAdapter - Class in com.bazaarvoice.jolt
-
Adapt "normal" Transforms to look like ContextualTransforms, so that
Chainr can just maintain a single list of "JoltTransforms" to run.
- 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.
- chainrEntries - Variable in class com.bazaarvoice.jolt.chainr.spec.ChainrSpec
-
- 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.
- ChainrFactory - Class in com.bazaarvoice.jolt
-
A factory class with various static methods that return instances of Chainr.
- ChainrFactory() - Constructor for class com.bazaarvoice.jolt.ChainrFactory
-
- 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
-
- chainrSpecObj - Variable in class com.bazaarvoice.jolt.chainr.ChainrBuilder
-
- 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
-
- classLoader - Variable in class com.bazaarvoice.jolt.chainr.ChainrBuilder
-
- classpathToList(String) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- classpathToList(String) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- classpathToList(String) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- classpathToMap(String) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- classpathToMap(String) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- classpathToMap(String) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- classpathToObject(String) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- classpathToObject(String) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- classpathToObject(String) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- classpathToType(String, TypeReference<T>) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- classpathToType(String, Class<T>) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- classpathToType(String, TypeReference<T>) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- classpathToType(String, Class<T>) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- classpathToType(String, TypeReference<T>) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- classpathToType(String, Class<T>) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- cloneJson(Object) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
Makes a deep copy of a Map object by converting it to a String and then
back onto stock JSON objects.
- cloneJson(Object) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- cloneJson(Object) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
Makes a deep copy of a Map object by converting it to a String and then
back onto stock JSON objects.
- 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.
- compare(String, String) - Method in class com.bazaarvoice.jolt.Sortr.JsonKeyComparator
-
- computedChildren - Variable in class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec
-
- computedChildren - Variable in class com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
-
- computedChildren - Variable in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
-
- computedKeysComparator - Static variable in class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec
-
- 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
- ComputedKeysComparator(HashMap<Class, Integer>) - Constructor for class com.bazaarvoice.jolt.common.ComputedKeysComparator
-
- computedKeysComparator - Static variable in class com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
-
- computedKeysComparator - Static variable in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
-
- concat() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.concat
-
- configureStockJoltObjectMapper(ObjectMapper) - Static method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- constructArgs(List<String>) - Static method in class com.bazaarvoice.jolt.modifier.spec.ModifierLeafSpec
-
- constructSingleArg(String, boolean) - Static method in class com.bazaarvoice.jolt.modifier.spec.ModifierLeafSpec
-
- ContextLookupArg(PathEvaluatingTraversal) - Constructor for class com.bazaarvoice.jolt.modifier.function.FunctionArg.ContextLookupArg
-
- ContextualTransform - Interface in com.bazaarvoice.jolt
-
Interface for Jolt Transforms that can incorporate context information along with the
source input JSON.
- ContextualTransformAdapter(Transform) - Constructor for class com.bazaarvoice.jolt.Chainr.ContextualTransformAdapter
-
- 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
- createChildren(Map<String, Object>) - Static method in class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec
-
Recursively walk the spec input tree.
- createJsonObjectFromFile(File, boolean) - Static method in class com.bazaarvoice.jolt.JoltCliUtilities
-
Uses the File to build a Map containing JSON data found in the file.
- 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
-
- customJsonUtil(ObjectMapper) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
Construct a JsonUtil with a Jackson ObjectMapper that has been preconfigured with custom
Modules or Mixins.
- filepathToList(String) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- filepathToList(String) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- filepathToList(String) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- filepathToMap(String) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- filepathToMap(String) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- filepathToMap(String) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- filepathToObject(String) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- filepathToObject(String) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- filepathToObject(String) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- fileToType(String, TypeReference<T>) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- fileToType(String, Class<T>) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- fileToType(String, TypeReference<T>) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- fileToType(String, Class<T>) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- fileToType(String, TypeReference<T>) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- fileToType(String, Class<T>) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- findEndOfReference(String) - Static method in class com.bazaarvoice.jolt.common.pathelement.AmpPathElement
-
- findNextNonNullIndex(List<Object>, int) - Static method in class com.bazaarvoice.jolt.ArrayOrderObliviousDiffy
-
- finMidIndex(String) - Method in class com.bazaarvoice.jolt.common.pathelement.StarDoublePathElement
-
The assumption here is: * means 1 or more characters.
- 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
-
- fromClassPath(String) - Static method in class com.bazaarvoice.jolt.ChainrFactory
-
Builds a Chainr instance using the spec described in the data via the class path that is passed in.
- fromClassPath(String, ChainrInstantiator) - Static method in class com.bazaarvoice.jolt.ChainrFactory
-
Builds a Chainr instance using the spec described in the data via the class path that is passed in.
- fromFile(File) - Static method in class com.bazaarvoice.jolt.ChainrFactory
-
Builds a Chainr instance using the spec described in the File that is passed in.
- fromFile(File, ChainrInstantiator) - Static method in class com.bazaarvoice.jolt.ChainrFactory
-
Builds a Chainr instance using the spec described in the File that is passed in.
- fromFileSystem(String) - Static method in class com.bazaarvoice.jolt.ChainrFactory
-
Builds a Chainr instance using the spec described in the data via the file path that is passed in.
- fromFileSystem(String, ChainrInstantiator) - Static method in class com.bazaarvoice.jolt.ChainrFactory
-
Builds a Chainr instance using the spec described in the data via the file path that is passed in.
- 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 - Variable in class com.bazaarvoice.jolt.modifier.function.FunctionEvaluator
-
- 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
-
- FunctionArg.ContextLookupArg - Class in com.bazaarvoice.jolt.modifier.function
-
- FunctionArg.LiteralArg - Class in com.bazaarvoice.jolt.modifier.function
-
- FunctionArg.SelfLookupArg - Class in com.bazaarvoice.jolt.modifier.function
-
- functionArgs - Variable in class com.bazaarvoice.jolt.modifier.function.FunctionEvaluator
-
- FunctionEvaluator - Class in com.bazaarvoice.jolt.modifier.function
-
- FunctionEvaluator(Function, FunctionArg...) - Constructor for class com.bazaarvoice.jolt.modifier.function.FunctionEvaluator
-
- functionEvaluatorList - Variable in class com.bazaarvoice.jolt.modifier.spec.ModifierLeafSpec
-
- functionsMap - Variable in class com.bazaarvoice.jolt.modifier.TemplatrSpecBuilder
-
- 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
-
- getChainr(ChainrInstantiator, Object) - Static method in class com.bazaarvoice.jolt.ChainrFactory
-
The main engine in ChainrFactory for building a Chainr Instance.
- 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.
- getDefaultJsonUtil() - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- 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
-
- getFirstAvailable(List<FunctionEvaluator>, Optional<Object>, WalkedPath, Map<String, Object>) - Static method in class com.bazaarvoice.jolt.modifier.spec.ModifierLeafSpec
-
- 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
-
- getMatch(String, WalkedPath) - Method in class com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec
-
- 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
-
- getOrCreateNextObject(Object, Object, Object) - Static method in class com.bazaarvoice.jolt.utils.JoltUtils
-
- 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
-
- getSpecialArg(Object[]) - Method in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenFunction
-
Deprecated.
- 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
-
- GuiceChainrInstantiator - Class in com.bazaarvoice.jolt.chainr.instantiator
-
This class allows Transforms specified in Chainr spec files to be loaded via Guice.
- GuiceChainrInstantiator(Module) - Constructor for class com.bazaarvoice.jolt.chainr.instantiator.GuiceChainrInstantiator
-
- incrementHashCount() - Method in class com.bazaarvoice.jolt.common.tree.MatchedElement
-
Here be mutability...
- index - Variable in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
-
- innerParse(String, String) - Static method in class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
-
Parse the core of the TransposePathElement key, once basic errors have been checked and
syntax has been handled.
- intializeSubCommand(Subparsers) - Method in class com.bazaarvoice.jolt.DiffyCliProcessor
-
Initialize the arg parser for the Diffy sub command
- intializeSubCommand(Subparsers) - Method in interface com.bazaarvoice.jolt.JoltCliProcessor
-
Initializes the subcommand argument parser.
- intializeSubCommand(Subparsers) - Method in class com.bazaarvoice.jolt.SortCliProcessor
-
Initialize the arg parser for the Sort sub command
- intializeSubCommand(Subparsers) - Method in class com.bazaarvoice.jolt.TransformCliProcessor
-
Initialize the arg parser for the Transform sub command
- 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
-
- isAllNulls(List<Object>) - Method in class com.bazaarvoice.jolt.ArrayOrderObliviousDiffy
-
- 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 - Variable in class com.bazaarvoice.jolt.defaultr.Key
-
- 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() - Method in class com.bazaarvoice.jolt.Diffy.Result
-
- 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 - Variable in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
-
- 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
-
- main(String[]) - Static method in class com.bazaarvoice.jolt.JoltCli
-
- makePathElement(String, TraversalStep) - Method in class com.bazaarvoice.jolt.traversr.Traversr
-
- makePattern(String) - Static method in class com.bazaarvoice.jolt.common.pathelement.StarRegexPathElement
-
- MAP() - Constructor for class com.bazaarvoice.jolt.modifier.DataType.MAP
-
- mapInstance - Static variable in class com.bazaarvoice.jolt.modifier.DataType
-
- MapKey - Class in com.bazaarvoice.jolt.defaultr
-
- MapKey(String, Object) - Constructor for class com.bazaarvoice.jolt.defaultr.MapKey
-
- mapRoot - Variable in class com.bazaarvoice.jolt.Defaultr
-
- 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
-
- mapTypeReference - Static variable in class com.bazaarvoice.jolt.JsonUtilImpl
-
- 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
-
- matchedElement - Variable in class com.bazaarvoice.jolt.common.tree.PathStep
-
- 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
-
- maxIndexFromSpec - Variable in class com.bazaarvoice.jolt.modifier.DataType.LIST
-
- mid - Variable in class com.bazaarvoice.jolt.common.pathelement.StarDoublePathElement
-
- 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(Object, OpMode, Map<String, Function>) - Constructor for class com.bazaarvoice.jolt.Modifier
-
- 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
- padString(boolean, String, List<Object>) - Static method in class com.bazaarvoice.jolt.modifier.function.Strings
-
- parentModule - Variable in class com.bazaarvoice.jolt.chainr.instantiator.GuiceChainrInstantiator
-
- 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.function.FunctionArg.SelfLookupArg
-
- 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
- PathElementBuilder() - Constructor for class com.bazaarvoice.jolt.common.PathElementBuilder
-
- 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
-
- pathIndex - Variable in class com.bazaarvoice.jolt.common.reference.BasePathAndGroupReference
-
- pathIndex - Variable in class com.bazaarvoice.jolt.common.reference.BasePathReference
-
- 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
-
- pattern - Variable in class com.bazaarvoice.jolt.common.pathelement.StarRegexPathElement
-
- performCardinalityAdjustment(String, Object, WalkedPath, Map, MatchedElement) - Method in class com.bazaarvoice.jolt.cardinality.CardinalityLeafSpec
-
- prefix - Variable in class com.bazaarvoice.jolt.common.pathelement.StarDoublePathElement
-
- prefix - Variable in class com.bazaarvoice.jolt.common.pathelement.StarSinglePathElement
-
- prettyPrintWriter - Variable in class com.bazaarvoice.jolt.JsonUtilImpl
-
- printJsonObject(Object, Boolean, boolean) - Static method in class com.bazaarvoice.jolt.JoltCliUtilities
-
Prints the given json object to standard out, accounting for pretty printing and suppressed output.
- printToStandardOut(String, boolean) - Static method in class com.bazaarvoice.jolt.JoltCliUtilities
-
Prints the given string to standard out, or doesn't, based on the suppressOutput flag
- process(Object, WalkedPath) - Method in class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec
-
- process(OrderedCompositeSpec, Optional<Object>, WalkedPath, Map<String, Object>, Map<String, Object>) - Method in enum com.bazaarvoice.jolt.common.ExecutionStrategy
-
- process(Namespace) - Method in class com.bazaarvoice.jolt.DiffyCliProcessor
-
Process the Diffy Subcommand
- process(Namespace) - Method in interface com.bazaarvoice.jolt.JoltCliProcessor
-
This method does the processing of the input which is provided via the Namespace
- process(Namespace) - Method in class com.bazaarvoice.jolt.SortCliProcessor
-
- process(Namespace) - Method in class com.bazaarvoice.jolt.TransformCliProcessor
-
Process the transform sub command
- processChildren(List<RemovrSpec>, Object) - Method in class com.bazaarvoice.jolt.removr.spec.RemovrCompositeSpec
-
Call our child nodes, build up the set of keys or indices to actually remove, and then
remove them.
- processList(OrderedCompositeSpec, List<Object>, WalkedPath, Map<String, Object>, Map<String, Object>) - Method in enum com.bazaarvoice.jolt.common.ExecutionStrategy
-
- processMap(OrderedCompositeSpec, Map<String, Object>, WalkedPath, Map<String, Object>, Map<String, Object>) - Method in enum com.bazaarvoice.jolt.common.ExecutionStrategy
-
- processScalar(OrderedCompositeSpec, String, WalkedPath, Map<String, Object>, Map<String, Object>) - Method in enum com.bazaarvoice.jolt.common.ExecutionStrategy
-
- processSpec(boolean, Map<String, Object>) - Static method in class com.bazaarvoice.jolt.defaultr.Key
-
Recursively walk the spec input tree.
- scalarEquals(Object, Object) - Method in class com.bazaarvoice.jolt.Diffy
-
Allow subclasses to handle things like Long 0 versus Int 0.
- SelfLookupArg(PathEvaluatingTraversal) - Constructor for class com.bazaarvoice.jolt.modifier.function.FunctionArg.SelfLookupArg
-
- 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
-
- shiftrWriters - Variable in class com.bazaarvoice.jolt.shiftr.spec.ShiftrLeafSpec
-
- 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
-
- SORT_COMMAND_IDENTIFIER - Static variable in class com.bazaarvoice.jolt.JoltCliUtilities
-
- SortCliProcessor - Class in com.bazaarvoice.jolt
-
The JoltCliProcessor for Sortr.
- SortCliProcessor() - Constructor for class com.bazaarvoice.jolt.SortCliProcessor
-
- sortJson(Object) - Static method in class com.bazaarvoice.jolt.Sortr
-
- sortMap(Map<String, 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
-
- Sortr.JsonKeyComparator - Class in com.bazaarvoice.jolt
-
Standard alphabetical sort, with a special case for keys beginning with "~".
- spec - Variable in class com.bazaarvoice.jolt.chainr.spec.ChainrEntry
-
- 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
-
- specBuilder - Static variable in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
-
- specDataType - Variable in class com.bazaarvoice.jolt.modifier.spec.ModifierCompositeSpec
-
- 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
-
- specialArgType - Variable in class com.bazaarvoice.jolt.modifier.function.Function.ArgDrivenFunction
-
Deprecated.
- specialChild - Variable in class com.bazaarvoice.jolt.cardinality.CardinalityCompositeSpec
-
- specialChildren - Variable in class com.bazaarvoice.jolt.shiftr.spec.ShiftrCompositeSpec
-
- 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
- SpecStringParser() - Constructor for class com.bazaarvoice.jolt.common.SpecStringParser
-
- split() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.split
-
- 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 class com.bazaarvoice.jolt.cardinality.CardinalitySpec
-
- 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_FUNCTIONS - Static variable in class com.bazaarvoice.jolt.Modifier
-
- 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
- streamToType(InputStream, TypeReference<T>) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- streamToType(InputStream, Class<T>) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- streamToType(InputStream, TypeReference<T>) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- streamToType(InputStream, Class<T>) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- streamToType(InputStream, TypeReference<T>) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- streamToType(InputStream, Class<T>) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- 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
-
- stringToType(String, TypeReference<T>) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- stringToType(String, Class<T>) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- stringToType(String, TypeReference<T>) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- stringToType(String, Class<T>) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- stringToType(String, TypeReference<T>) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- stringToType(String, Class<T>) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- subKeys - Variable in class com.bazaarvoice.jolt.common.tree.MatchedElement
-
- subPathReader - Variable in class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
-
- substring() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.substring
-
- suffix - Variable in class com.bazaarvoice.jolt.common.pathelement.StarDoublePathElement
-
- suffix - Variable in class com.bazaarvoice.jolt.common.pathelement.StarSinglePathElement
-
- SUPPRESS_OUTPUT - Static variable in class com.bazaarvoice.jolt.SortCliProcessor
-
- SUPPRESS_OUTPUT - Static variable in class com.bazaarvoice.jolt.TransformCliProcessor
-
- 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
-
- toJsonString(Object) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- toJsonString(Object) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- toJsonString(Object) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- 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
-
- tokens - Variable in class com.bazaarvoice.jolt.common.pathelement.AmpPathElement
-
- 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.
- toPrettyJsonString(Object) - Method in interface com.bazaarvoice.jolt.JsonUtil
-
- toPrettyJsonString(Object) - Method in class com.bazaarvoice.jolt.JsonUtilImpl
-
- toPrettyJsonString(Object) - Static method in class com.bazaarvoice.jolt.JsonUtils
-
- 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() - Method in class com.bazaarvoice.jolt.Diffy.Result
-
- 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 - Variable in class com.bazaarvoice.jolt.Chainr.ContextualTransformAdapter
-
- transform(Object, Map<String, Object>) - Method in class com.bazaarvoice.jolt.Chainr.ContextualTransformAdapter
-
- 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.
- TRANSFORM_COMMAND_IDENTIFIER - Static variable in class com.bazaarvoice.jolt.JoltCliUtilities
-
- TransformCliProcessor - Class in com.bazaarvoice.jolt
-
The JoltCliProcessor for Chainr.
- TransformCliProcessor() - Constructor for class com.bazaarvoice.jolt.TransformCliProcessor
-
- 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
-
- transformsList - Variable in class com.bazaarvoice.jolt.Chainr
-
- transposePathElement - Variable in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
-
- TransposePathElement - Class in com.bazaarvoice.jolt.common.pathelement
-
This PathElement is used by Shiftr to Transpose data.
- TransposePathElement(String, int, String) - Constructor for class com.bazaarvoice.jolt.common.pathelement.TransposePathElement
-
Private constructor used after parsing is done.
- 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 - Variable in class com.bazaarvoice.jolt.modifier.function.FunctionArg.ContextLookupArg
-
- TRAVERSAL_BUILDER - Static variable in class com.bazaarvoice.jolt.modifier.spec.ModifierSpec
-
- TRAVERSAL_BUILDER - Static variable in class com.bazaarvoice.jolt.shiftr.spec.ShiftrLeafSpec
-
- 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
-
- traversalLength - Variable in class com.bazaarvoice.jolt.traversr.Traversr
-
- 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.common.PathEvaluatingTraversal
-
- traversr - Variable in class com.bazaarvoice.jolt.traversr.SimpleTraversal
-
- 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
-
- treeRef - Variable in class com.bazaarvoice.jolt.common.tree.PathStep
-
- trim() - Constructor for class com.bazaarvoice.jolt.modifier.function.Strings.trim
-
- 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.
- verifyStringIsNonNegativeInteger(String) - Static method in class com.bazaarvoice.jolt.common.pathelement.ArrayPathElement
-