| 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 and 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 | Method and Description |
|---|---|
<T> T |
Function.call(Adapter<T> runtime,
List<FunctionArgument<T>> arguments)
Call this function with a list of arguments.
|
<T> T |
BaseFunction.call(Adapter<T> runtime,
List<FunctionArgument<T>> arguments)
Call this function with a list of arguments.
|
protected <T> T |
ValuesFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
TypeFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
ToStringFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
ToNumberFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
ToArrayFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
StartsWithFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
SortFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
SortByFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
ReverseFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
NotNullFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
MergeFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
MathFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
MapFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
LengthFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
KeysFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
JoinFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
EndsWithFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
ContainsFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
protected <T> T |
CompareByFunction.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 |
ArrayMathFunction.callFunction(Adapter<T> runtime,
List<FunctionArgument<T>> arguments) |
<T> void |
ArgumentConstraint.check(Adapter<T> runtime,
Iterator<FunctionArgument<T>> arguments)
Check that the argument list complies with the constraints.
|
protected <T> void |
BaseFunction.checkArguments(Adapter<T> runtime,
List<FunctionArgument<T>> arguments)
Checks the arguments against the argument constraints.
|
protected <T> T |
SumFunction.performMathOperation(Adapter<T> runtime,
List<T> values) |
protected <T> T |
CompareFunction.performMathOperation(Adapter<T> runtime,
List<T> values) |
protected <T> T |
AvgFunction.performMathOperation(Adapter<T> runtime,
List<T> values) |
protected abstract <T> T |
ArrayMathFunction.performMathOperation(Adapter<T> runtime,
List<T> values)
Subclasses implement this method.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JcfRuntime |
| Modifier and Type | Method and Description |
|---|---|
static Object |
JsonParser.fromString(String json,
Adapter<Object> runtime) |
| Modifier and Type | Field and Description |
|---|---|
protected Adapter<T> |
Node.runtime |
| Modifier and Type | Method and Description |
|---|---|
static <U> Node<U> |
ComparisonNode.create(Adapter<U> runtime,
Operator operator,
Expression<U> left,
Expression<U> right) |
| Modifier and Type | Method and Description |
|---|---|
static <U> Expression<U> |
ExpressionParser.fromString(Adapter<U> runtime,
String rawExpression) |
Copyright © 2016. All rights reserved.