All Classes Interface Summary Class Summary Enum Summary Exception Summary
Class |
Description |
AmpPathElement |
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
|
AmpReference |
This class parses the Jolt & syntax into useful programmatic constructs.
|
ArrayKey |
|
ArrayMatchedElement |
|
ArrayOrderObliviousDiffy |
Subclass of Diffy that does not care about JSON Array order.
|
ArrayPathElement |
|
ArrayPathElement.ArrayPathType |
|
ArrayTraversalStep<DataType> |
TraversalStep that expects to handle List objects.
|
AtPathElement |
|
AutoExpandArrayTraversalStep<DataType> |
Subclass of ArrayTraversalStep that does not care about array index numbers.
|
BasePathAndGroupReference |
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.
|
BasePathElement |
|
BasePathReference |
|
BaseSpec |
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> |
|
CardinalityCompositeSpec |
CardinalitySpec that has children, which it builds and then manages during Transforms.
|
CardinalityLeafSpec |
Leaf level CardinalitySpec object.
|
CardinalityLeafSpec.CardinalityRelationship |
|
CardinalitySpec |
A Spec Object represents a single line from the JSON Cardinality Spec.
|
CardinalityTransform |
The CardinalityTransform changes the cardinality of input JSON data elements.
|
Chainr |
Chainr is the JOLT mechanism for chaining JoltTransform s together.
|
Chainr.ContextualTransformAdapter |
Adapt "normal" Transforms to look like ContextualTransforms, so that
Chainr can just maintain a single list of "JoltTransforms" to run.
|
ChainrBuilder |
|
ChainrEntry |
Helper class that encapsulates the information one of the individual transform entries in
the Chainr spec's list.
|
ChainrFactory |
A factory class with various static methods that return instances of Chainr.
|
ChainrInstantiator |
Interface to allow the guts of the Transform class loading logic to be swapped out.
|
ChainrSpec |
Helper class that encapsulates the Chainr spec's list.
|
ComputedKeysComparator |
This Comparator is used for determining the execution order of childSpecs.apply(...)
Argument Map of Class: integer is used to determine precedence
|
ContextualTransform |
Interface for Jolt Transforms that can incorporate context information along with the
source input JSON.
|
DataType |
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.LIST |
List type that records maxIndex from spec, and uses that to expand a source (list) properly
|
DataType.MAP |
MAP type class
|
DataType.RUNTIME |
Runtime type
|
DeepCopy |
|
DefaultChainrInstantiator |
Loads classes via Java Reflection APIs.
|
Defaultr |
Defaultr is a kind of JOLT transform that applies default values in a non-destructive way.
|
Defaultr.WildCards |
|
Diffy |
JSON Diff tool that will walk two "JSON" objects simultaneously and identify mismatches.
|
Diffy.Result |
Contains the unmatched fields from the Diffy operation.
|
DiffyCliProcessor |
The JoltCliProcessor for Diffy.
|
DollarPathElement |
|
DollarReference |
|
EvaluatablePathElement |
|
ExecutionStrategy |
|
Function |
Deprecated. |
Function.ArgDrivenFunction<SOURCE,RETTYPE> |
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> |
Extends ArgDrivenConverter to provide rudimentary abstraction to quickly
implement a function that works on an input list|array
i.e.
|
Function.ArgDrivenSingleFunction<S,R> |
Extends ArgDrivenConverter to provide rudimentary abstraction to quickly
implement a function that works on a single input
i.e.
|
Function.BaseFunction<T> |
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 |
Abstract class that provides rudimentary abstraction to quickly implement
a function that works on an List of input
i.e.
|
Function.SingleFunction<T> |
Abstract class that provides rudimentary abstraction to quickly implement
a function that works on an single value input
i.e.
|
Function.SquashFunction<T> |
squashNull is a special kind of null processing,the input is always a list or map as a singleton
|
FunctionArg |
|
FunctionArg.ContextLookupArg |
|
FunctionArg.LiteralArg |
|
FunctionArg.SelfLookupArg |
|
FunctionEvaluator |
|
GuiceChainrInstantiator |
This class allows Transforms specified in Chainr spec files to be loaded via Guice.
|
HashPathElement |
For use on the LHS, allows the user to specify an explicit string to write out.
|
HashReference |
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.
|
JoltCli |
|
JoltCliProcessor |
An interface to describe a subcommand for the Jolt CLI Tool.
|
JoltCliUtilities |
A utility class for the Jolt CLI tool.
|
JoltException |
Base Jolt Exception
|
JoltTransform |
Marker interface for all Jolt Transforms.
|
JoltUtils |
Handy utilities that do NOT depend on JsonUtil / Jackson live here
|
JsonMarshalException |
|
JsonUnmarshalException |
|
JsonUtil |
Utility methods for getting JSON content loaded from
the filesystem, the classpath, or in memory Strings.
|
JsonUtilImpl |
Implementation of JsonUtil that allows the user to provide a configured
Jackson ObjectMapper.
|
JsonUtils |
Static method convenience wrappers for a JsonUtil configured with a minimal ObjectMapper.
|
Key |
|
Key.KeyPrecedenceComparator |
|
Lists |
|
Lists.elementAt |
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 |
Given a list, return the first element
|
Lists.lastElement |
Given a list, return the last element
|
Lists.sort |
Given an arbitrary list of items, returns a new array of them in sorted state
|
Lists.toList |
Given an arbitrary number of arguments, return them as list
|
LiteralPathElement |
Meant to be an immutable PathElement from a Spec, and therefore shareable across
threads running multiple transforms using the same spec.
|
MapKey |
|
MapTraversalStep<DataType> |
TraversalStep that expects to handle Map objects.
|
MatchablePathElement |
|
MatchedElement |
MatchedElement is the result of a "match" between a spec PathElement and some input data.
|
Math |
|
Math.abs |
|
Math.avg |
|
Math.divide |
|
Math.divideAndRound |
|
Math.doubleSubtract |
|
Math.doubleSum |
|
Math.intSubtract |
|
Math.intSum |
|
Math.longSubtract |
|
Math.longSum |
|
Math.max |
|
Math.min |
|
Modifier |
Base Templatr transform that to behave differently based on provided opMode
|
Modifier.Defaultr |
This variant of modifier only writes when the key/index is missing or the value is null
|
Modifier.Definr |
This variant of modifier only writes when the key/index is missing
|
Modifier.Overwritr |
This variant of modifier creates the key/index is missing,
and overwrites the value if present
|
ModifierCompositeSpec |
Composite spec is non-leaf level spec that contains one or many child specs and processes
them based on a pre-determined execution strategy
|
ModifierLeafSpec |
|
ModifierSpec |
Base Templatr spec
|
Objects |
|
Objects.recursivelySquashNulls |
|
Objects.size |
Size is a special snowflake and needs specific care
|
Objects.squashNulls |
|
Objects.toBoolean |
|
Objects.toDouble |
|
Objects.toInteger |
|
Objects.toLong |
|
Objects.toString |
|
OpMode |
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.
|
OPS |
|
OPS.OpsPrecedenceComparator |
|
Optional<T> |
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.
|
OrderedCompositeSpec |
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
|
PathAndGroupReference |
Reference is used by Shiftr when lookup up values from a WalkedPath (list of LiteralPathElements).
|
PathElement |
|
PathElementBuilder |
Static utility class that creates PathElement(s) given a string key from a json spec document
|
PathEvaluatingTraversal |
Combines a Traversr with the ability to evaluate References against a WalkedPath.
|
PathReference |
Reference is used by Shiftr when lookup up values from a WalkedPath (list of LiteralPathElements).
|
PathStep |
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.
|
Removr |
Removr is a kind of JOLT transform that removes content from the input JSON.
|
RemovrCompositeSpec |
Removr Spec that has children.
|
RemovrLeafSpec |
Spec for handling the leaf level of the Removr Transform.
|
RemovrSpec |
|
Shiftr |
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.
|
ShiftrCompositeSpec |
Spec that has children, which it builds and then manages during Transforms.
|
ShiftrLeafSpec |
Leaf level Spec object.
|
ShiftrSpec |
A Spec Object represents a single line from the JSON Shiftr Spec.
|
ShiftrSpecBuilder |
|
ShiftrTraversr<DataType> |
Traverser that does not overwrite data.
|
ShiftrWriter |
Shiftr Specific version of a PathEvaluatingTraversal, where we supply a
ShiftrTraversr.
|
SimpleTraversal<DataType> |
Utility class for use in custom Transforms.
|
SimpleTraversr<DataType> |
Simple Traversr that
1 Does overwrite sets at the leaf level
2 Will create intermediate container objects only on SET operations
|
SortCliProcessor |
The JoltCliProcessor for Sortr.
|
Sortr |
Recursively sorts all maps within a JSON object into new sorted LinkedHashMaps so that serialized
representations are deterministic.
|
Sortr.JsonKeyComparator |
Standard alphabetical sort, with a special case for keys beginning with "~".
|
SpecBuilder<T extends BaseSpec> |
Factory class that provides a factory method create(...) that takes itself
as argument to specify how to handle child specs
|
SpecDriven |
Marker interface for Jolt Transforms that are based off a "spec".
|
SpecException |
Exception thrown by JOLT SpecTransforms during initialization.
|
SpecStringParser |
Static utility methods for handling specStrings such that we can process them into
usable formats for further processing into PathElement objects
|
StarAllPathElement |
PathElement for the lone "*" wildcard.
|
StarDoublePathElement |
PathElement for the a double "*" wildcard such as tag-*-*.
|
StarPathElement |
Marker interface for PathElements that contain the "*" wildcard.
|
StarRegexPathElement |
Non-greedy * based Path Element.
|
StarSinglePathElement |
PathElement for the a single "*" wildcard such as tag-*.
|
Strings |
|
Strings.concat |
|
Strings.join |
|
Strings.leftPad |
|
Strings.rightPad |
|
Strings.split |
|
Strings.substring |
|
Strings.toLowerCase |
|
Strings.toUpperCase |
|
Strings.trim |
|
StringTools |
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
|
TemplatrSpecBuilder |
|
Transform |
|
TransformCliProcessor |
The JoltCliProcessor for Chainr.
|
TransformException |
Exception thrown by JOLT transforms.
|
TransposePathElement |
This PathElement is used by Shiftr to Transpose data.
|
TransposeReader |
The TransposeReader uses a PathEvaluatingTraversal with a SimpleTraversr.
|
TraversalBuilder |
Builds Traversal based on specific implementation of build(String path)
i.e.
|
TraversalStep<StepType,DataType> |
A step in a JSON tree traversal.
|
TraversalStep.Operation |
The three things you can do with a Traversal.
|
Traversr<DataType> |
Traversr allows you to walk JSON tree structures of data, and to GET and SET operations.
|
TraversrException |
|
WalkedPath |
DataStructure used by a SpecTransform during it's parallel tree walk.
|