Package | Description |
---|---|
com.pervasive.datarush.functions |
Provides classes and interfaces related to defining functions on records.
|
Modifier and Type | Class and Description |
---|---|
class |
InputMappedFactory
A factory mapped by the widest type encompassing
one or more input values.
|
class |
MappedEvaluatorFactory
A base class for factories which choose an evaluator based on a
token type.
|
class |
ReflectiveFactory
A factory creating a fixed class of function evaluator.
|
class |
ResultMappedFactory
A factory mapped by the expected type of the result.
|
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.
|
ScalarValued |
EvaluationContext.constructSubexpressionEvaluation(EvaluatorFactory factory,
List<Object> arguments,
ScalarTokenType resultType)
Creates an evaluation of a subexpression which can be used as input to the
evaluator of the expression containing it.
|
static ScalarValuedFunction |
ScalarFunctionDescriptor.define(String name,
FunctionTyper typer,
EvaluatorFactory factory,
Object... args)
Defines an instance of a function requiring complex logic for
determining result type and/or checking function arguments, as well as
needing to choose between possible evaluator implementations.
|
static ScalarValuedFunction |
ScalarFunctionDescriptor.define(String name,
ScalarTokenType resultType,
EvaluatorFactory factory,
Object... args)
Defines an instance of a function returning a result of the specified type
but needing to choose between possible evaluator implementations.
|
Copyright © 2019 Actian Corporation. All rights reserved.