| Modifier and Type | Method and Description |
|---|---|
boolean |
CardinalitySpec.apply(String inputKey,
Optional<Object> inputOptional,
WalkedPath walkedPath,
Map<String,Object> output,
Map<String,Object> context) |
boolean |
CardinalityCompositeSpec.applyCardinality(String inputKey,
Object input,
WalkedPath walkedPath,
Object parentContainer)
If this Spec matches the inputkey, then perform one step in the parallel treewalk.
|
abstract boolean |
CardinalitySpec.applyCardinality(String inputKey,
Object input,
WalkedPath walkedPath,
Object parentContainer)
This is the main recursive method of the CardinalityTransform parallel "spec" and "input" tree walk.
|
boolean |
CardinalityLeafSpec.applyCardinality(String inputKey,
Object input,
WalkedPath walkedPath,
Object parentContainer)
If this CardinalitySpec matches the inputkey, then do the work of modifying the data and return true.
|
Object |
CardinalityLeafSpec.applyToParentContainer(String inputKey,
Object input,
WalkedPath walkedPath,
Object parentContainer)
This should only be used by composite specs with an '@' child
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
PathEvaluatingTraversal.evaluate(WalkedPath walkedPath)
Use the supplied WalkedPath, in the evaluation of each of our PathElements.
|
void |
ExecutionStrategy.process(OrderedCompositeSpec spec,
Optional<Object> inputOptional,
WalkedPath walkedPath,
Map<String,Object> output,
Map<String,Object> context) |
Optional<Object> |
PathEvaluatingTraversal.read(Object data,
WalkedPath walkedPath) |
void |
PathEvaluatingTraversal.write(Object data,
Map<String,Object> output,
WalkedPath walkedPath)
Use the supplied WalkedPath, in the evaluation of each of our PathElements to
build a concrete output path.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DollarPathElement.evaluate(WalkedPath walkedPath) |
String |
EvaluatablePathElement.evaluate(WalkedPath walkedPath)
Evaluate this key as if it is an write path element.
|
String |
LiteralPathElement.evaluate(WalkedPath walkedPath) |
String |
AmpPathElement.evaluate(WalkedPath walkedPath) |
String |
TransposePathElement.evaluate(WalkedPath walkedPath) |
String |
ArrayPathElement.evaluate(WalkedPath walkedPath) |
MatchedElement |
StarDoublePathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
StarSinglePathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
DollarPathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
StarAllPathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
AtPathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
HashPathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
LiteralPathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
AmpPathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
TransposePathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
MatchablePathElement.match(String dataKey,
WalkedPath walkedPath)
See if this PathElement matches the given dataKey.
|
MatchedElement |
ArrayPathElement.match(String dataKey,
WalkedPath walkedPath) |
MatchedElement |
StarRegexPathElement.match(String dataKey,
WalkedPath walkedPath) |
Optional<Object> |
TransposePathElement.objectEvaluate(WalkedPath walkedPath)
This method is used when the TransposePathElement is used on the LFH as data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
BaseSpec.apply(String inputKey,
Optional<Object> inputOptional,
WalkedPath walkedPath,
Map<String,Object> output,
Map<String,Object> context)
This is the main recursive method of the Shiftr/Templatr/Cardinality parallel "spec" and "input" tree walk.
|
| Modifier and Type | Method and Description |
|---|---|
String |
MatchedElement.evaluate(WalkedPath walkedPath) |
| Modifier and Type | Method and Description |
|---|---|
Object |
DataType.create(String keyOrIndex,
WalkedPath walkedPath,
OpMode opMode)
Creates an empty map/list, as required by spec, in the parent map/list at given key/index
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Object> |
FunctionEvaluator.evaluate(Optional<Object> inputOptional,
WalkedPath walkedPath,
Map<String,Object> context) |
abstract Optional<Object> |
FunctionArg.evaluateArg(WalkedPath walkedPath,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModifierSpec.apply(String inputKey,
Optional<Object> inputOptional,
WalkedPath walkedPath,
Map<String,Object> output,
Map<String,Object> context) |
void |
ModifierLeafSpec.applyElement(String inputKey,
Optional<Object> inputOptional,
MatchedElement thisLevel,
WalkedPath walkedPath,
Map<String,Object> context) |
protected abstract void |
ModifierSpec.applyElement(String key,
Optional<Object> inputOptional,
MatchedElement thisLevel,
WalkedPath walkedPath,
Map<String,Object> context)
Templatr specific override that is used in BaseSpec#apply(...)
The name is changed for easy identification during debugging
|
void |
ModifierCompositeSpec.applyElement(String inputKey,
Optional<Object> inputOptional,
MatchedElement thisLevel,
WalkedPath walkedPath,
Map<String,Object> context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ShiftrLeafSpec.apply(String inputKey,
Optional<Object> inputOptional,
WalkedPath walkedPath,
Map<String,Object> output,
Map<String,Object> context)
If this Spec matches the inputkey, then do the work of outputting data and return true.
|
boolean |
ShiftrCompositeSpec.apply(String inputKey,
Optional<Object> inputOptional,
WalkedPath walkedPath,
Map<String,Object> output,
Map<String,Object> context)
If this Spec matches the inputKey, then perform one step in the Shiftr parallel treewalk.
|
Copyright © 2023. All rights reserved.