AbstractAggregateFunction
, AbstractFunction
public interface Function
Modifier and Type | Method | Description |
---|---|---|
java.util.List |
allElements() |
Returns the list of all element objects that this function uses as its
parameters.
|
java.util.List |
allVariables() |
Returns the list of Variable objects that this function uses as its
parameters.
|
TObject |
evaluate(GroupResolver group,
VariableResolver resolver,
QueryContext context) |
Evaluates the function and returns a TObject that represents the result
of the function.
|
java.lang.String |
getName() |
Returns the name of the function.
|
boolean |
isAggregate(QueryContext context) |
Returns true if this function is an aggregate function.
|
void |
prepareParameters(ExpressionPreparer preparer) |
Prepares the exressions that are the parameters of this function.
|
TType |
returnTType(VariableResolver resolver,
QueryContext context) |
The type of object this function returns.
|
java.lang.String getName()
java.util.List allVariables()
java.util.List allElements()
boolean isAggregate(QueryContext context)
void prepareParameters(ExpressionPreparer preparer) throws DatabaseException
DatabaseException
TObject evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
TType returnTType(VariableResolver resolver, QueryContext context)
Copyright © 2018. All rights reserved.