| Package | Description |
|---|---|
| io.burt.jmespath | |
| io.burt.jmespath.function | |
| io.burt.jmespath.node |
| Modifier and Type | Method and Description |
|---|---|
T |
BaseRuntime.handleArgumentTypeError(Function function,
String expectedType,
String actualType)
Throws
ArgumentTypeException unless RuntimeConfiguration.silentTypeErrors
is true, in which case it returns a null value (not Java null). |
T |
Adapter.handleArgumentTypeError(Function function,
String expectedType,
String actualType)
Throws an exception or returns a fallback value when a type check fails
during a function call evaluation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbsFunction |
class |
ArrayMathFunction
Helper base class for functions that take an array and return a single value,
like calculating the max, min or sum.
|
class |
AvgFunction |
class |
BaseFunction
Base class of all functions.
|
class |
CeilFunction |
class |
CompareByFunction
Helper base class for higher order comparison functions like max_by and min_by.
|
class |
CompareFunction
Helper base class for comparison functions like max and min.
|
class |
ContainsFunction |
class |
EndsWithFunction |
class |
FloorFunction |
class |
JoinFunction |
class |
KeysFunction |
class |
LengthFunction |
class |
MapFunction |
class |
MathFunction
Helper base class for functions that perform operations on a single numerical
argument, like calculating the absolute value, rounding, etc.
|
class |
MaxByFunction |
class |
MaxFunction |
class |
MergeFunction |
class |
MinByFunction |
class |
MinFunction |
class |
NotNullFunction |
class |
ReverseFunction |
class |
SortByFunction |
class |
SortFunction |
class |
StartsWithFunction |
class |
SumFunction |
class |
ToArrayFunction |
class |
ToNumberFunction |
class |
ToStringFunction |
class |
TransformByFunction
Helper base class for higher order comparison functions like sort_by, max_by and min_by.
|
class |
TypeFunction |
class |
ValuesFunction |
| Modifier and Type | Method and Description |
|---|---|
Function |
FunctionRegistry.getFunction(String functionName)
Returns the function by the specified name or null if no such function exists.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ArityException.createMessage(Function function,
int numArguments,
boolean initialUppercase) |
FunctionRegistry |
FunctionRegistry.extend(Function... functions)
Creates a new function registry that contains all the functions of this
registry and the specified functions.
|
| Constructor and Description |
|---|
ArgumentTypeException(Function function,
String expectedType,
String actualType) |
ArgumentTypeException(Function function,
String expectedType,
String actualType,
Throwable cause) |
ArityException(Function function,
int numArguments) |
ArityException(Function function,
int numArguments,
Throwable cause) |
FunctionRegistry(Function... functions)
Creates a new function registry containing the specified functions.
|
| Modifier and Type | Method and Description |
|---|---|
Node<T> |
StandardNodeFactory.createFunctionCall(Function function,
List<? extends Expression<T>> args) |
Node<T> |
NodeFactory.createFunctionCall(Function function,
List<? extends Expression<T>> args) |
| Constructor and Description |
|---|
FunctionCallNode(Adapter<T> runtime,
Function implementation,
List<? extends Expression<T>> args) |
Copyright © 2016–2023. All rights reserved.