public class ArrayFind extends AbstractFunction implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_INDEX |
static int |
BOOLEAN_FLAG_INDEX |
static String |
NAME |
static int |
START_BIND_INDEX |
converter, evaluator, executor, logger, parser, resourceLoader| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<EvalNode> |
execute(Context context,
List<EvalNode> args)
Method returns
CompletableFuture with result of execution. |
CompletableFuture<EvalNode> |
find(Context context,
MacroEvalNode macro,
MapEvalNode values,
List<Map.Entry<String,EvalNode>> nodes,
boolean keyAsResult) |
String |
getName()
Return function name
|
checkMaxArgsLength, checkMinArgsLength, checkTypes, checkTypes, clearGlobal, createCtx, getLongValue, getValue, getValue, isAsync, isClearpublic static final String NAME
public static final int ARRAY_INDEX
public static final int BOOLEAN_FLAG_INDEX
public static final int START_BIND_INDEX
public ArrayFind(Converter converter)
public CompletableFuture<EvalNode> find(Context context, MacroEvalNode macro, MapEvalNode values, List<Map.Entry<String,EvalNode>> nodes, boolean keyAsResult)
public CompletableFuture<EvalNode> execute(Context context, List<EvalNode> args) throws FunctionExecutionException
FunctionCompletableFuture with result of execution.execute in interface Functionargs - arguments from Histone templateFunctionExecutionException - if your function stops with error and you need to put details into log,
then you should use this exceptionCopyright © 2017. All rights reserved.