| Package | Description |
|---|---|
| io.burt.jmespath | |
| io.burt.jmespath.function | |
| io.burt.jmespath.jcf | |
| io.burt.jmespath.node | |
| io.burt.jmespath.parser |
| Modifier and Type | Class | Description |
|---|---|---|
class |
BaseRuntime<T> |
This class can be extended instead of implementing
Adapter directly,
in order to not have to implement a few of the methods that have non-specific
implementations, like functionRegistry(), typeOf(T)
or the Comparable interface. |
| Modifier and Type | Field | Description |
|---|---|---|
protected Adapter<V> |
TransformByFunction.Aggregator.runtime |
| Modifier and Type | Method | Description |
|---|---|---|
<T> T |
BaseFunction.call(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
Call this function with a list of arguments.
|
<T> T |
Function.call(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
Call this function with a list of arguments.
|
protected <T> T |
ArrayMathFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected abstract <T> T |
BaseFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
Called from
BaseFunction.call(io.burt.jmespath.Adapter<T>, java.util.List<io.burt.jmespath.function.FunctionArgument<T>>) after the argument constraints have been checked
against the arguments. |
protected <T> T |
ContainsFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
EndsWithFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
JoinFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
KeysFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
LengthFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
MapFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
MathFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
MergeFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
NotNullFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
ReverseFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
SortFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
StartsWithFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
ToArrayFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
ToNumberFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
ToStringFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
TransformByFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
TypeFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
protected <T> T |
ValuesFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
|
<T> Iterator<ArgumentError> |
ArgumentConstraint.check(Adapter<T> runtime,
Iterator<FunctionArgument<T>> arguments,
boolean expectNoRemainingArguments) |
Check that the argument list complies with the constraints.
|
protected <T> TransformByFunction.Aggregator<T> |
CompareByFunction.createAggregator(Adapter<T> runtime,
int elementCount,
T element,
T elementValue) |
|
protected <T> TransformByFunction.Aggregator<T> |
SortByFunction.createAggregator(Adapter<T> runtime,
int elementCount,
T element,
T elementValue) |
|
protected abstract <T> TransformByFunction.Aggregator<T> |
TransformByFunction.createAggregator(Adapter<T> runtime,
int elementCount,
T element,
T elementValue) |
|
protected <T> T |
CompareByFunction.createNullValue(Adapter<T> runtime) |
|
protected <T> T |
SortByFunction.createNullValue(Adapter<T> runtime) |
|
protected abstract <T> T |
TransformByFunction.createNullValue(Adapter<T> runtime) |
|
protected abstract <T> T |
ArrayMathFunction.performMathOperation(Adapter<T> runtime,
List<T> values) |
Subclasses implement this method.
|
protected <T> T |
AvgFunction.performMathOperation(Adapter<T> runtime,
List<T> values) |
|
protected <T> T |
CompareFunction.performMathOperation(Adapter<T> runtime,
List<T> values) |
|
protected <T> T |
SumFunction.performMathOperation(Adapter<T> runtime,
List<T> values) |
| Constructor | Description |
|---|---|
Aggregator(Adapter<V> runtime) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
JcfRuntime |
| Modifier and Type | Method | Description |
|---|---|---|
static Object |
JsonParser.fromString(String json,
Adapter<Object> runtime) |
| Modifier and Type | Field | Description |
|---|---|---|
protected Adapter<T> |
Node.runtime |
| Modifier and Type | Method | Description |
|---|---|---|
static <U> Node<U> |
ComparisonNode.create(Adapter<U> runtime,
Operator operator,
Expression<U> left,
Expression<U> right) |
| Modifier and Type | Method | Description |
|---|---|---|
static <U> Expression<U> |
ExpressionParser.fromString(Adapter<U> runtime,
String rawExpression) |
Copyright © 2016–2019. All rights reserved.