Package | Description |
---|---|
com.pervasive.datarush.functions |
Provides classes and interfaces related to defining functions on records.
|
Modifier and Type | Interface and Description |
---|---|
interface |
NondeterministicFunctionEvaluator
An executor of a function which is non-deterministic.
|
Modifier and Type | Method and Description |
---|---|
FunctionEvaluator |
EvaluationContext.constructEvaluator(EvaluatorFactory factory,
List<Object> arguments,
ScalarSettable result)
Creates an evaluator for a top-level expression, binding its
output to the provided result buffer.
|
FunctionEvaluator |
ReflectiveFactory.contructEvaluator(ScalarSettable result,
Object[] arguments) |
FunctionEvaluator |
MappedEvaluatorFactory.contructEvaluator(ScalarSettable result,
Object[] arguments) |
FunctionEvaluator |
EvaluatorFactory.contructEvaluator(ScalarSettable result,
Object[] arguments)
Construct a new evaluator for the associated function with the
given arguments, bound to the specified output buffer.
|
FunctionEvaluator |
EvaluationContext.createMemoizingEvaluator(FunctionEvaluator f)
Creates an evaluator for the top-level expression
which memoizes subexpression values.
|
FunctionEvaluator |
ScalarValuedFunction.getEvaluator(RecordValued input,
ScalarSettable result)
Constructs an instance of an evaluator for the function.
|
FunctionEvaluator |
FieldReference.getEvaluator(RecordValued input,
ScalarSettable output) |
FunctionEvaluator |
ConstantReference.getEvaluator(RecordValued input,
ScalarSettable output) |
Modifier and Type | Method and Description |
---|---|
FunctionEvaluator |
EvaluationContext.createMemoizingEvaluator(FunctionEvaluator f)
Creates an evaluator for the top-level expression
which memoizes subexpression values.
|
Modifier and Type | Method and Description |
---|---|
static ScalarValuedFunction |
ScalarFunctionDescriptor.define(String name,
FunctionTyper typer,
Class<? extends FunctionEvaluator> evaluator,
Object... args)
Defines an instance of a function returning a result using an evaluator of the given class,
but with complex type restrictions and/or variable output type.
|
static ScalarValuedFunction |
ScalarFunctionDescriptor.define(String name,
ScalarTokenType resultType,
Class<? extends FunctionEvaluator> evaluator,
Object... args)
Defines an instance of a function returning a result of the specified type
and using an evaluator of the given class.
|
static MappedEvaluatorFactory.Mapping |
MappedEvaluatorFactory.use(ScalarTokenType type,
Class<? extends FunctionEvaluator> evaluator)
Defines the evaluator class for a given type.
|
Constructor and Description |
---|
ReflectiveFactory(Class<? extends FunctionEvaluator> clazz)
Defines a factory creating evaluators of the specified class.
|
Copyright © 2021 Actian Corporation. All rights reserved.