T - the return typepublic abstract class AbstractFunction<T> extends Object implements Function<T>
ERROR_FUNCTION, log| Constructor and Description |
|---|
AbstractFunction() |
| Modifier and Type | Method and Description |
|---|---|
Object |
preComputeConstantArgument(FunctionArgs args,
String name,
Expression arg)
Implementations should provide a non-null value for each argument they wish to pre-compute.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdescriptor, evaluate, preprocessArgspublic Object preComputeConstantArgument(FunctionArgs args, String name, Expression arg)
FunctionpreComputeConstantArgument in interface Function<T>args - the function args for this functions, usually you don't need thisname - the name of the argument to potentially precomputearg - the expression tree for the argumentnull if the value should be dynamically calculated for each invocationCopyright © 2012–2021 Graylog, Inc.. All rights reserved.