public interface Function
Modifier and Type | Method and Description |
---|---|
List |
allElements()
Returns the list of all element objects that this function uses as its
parameters.
|
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.
|
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.
|
String getName()
List allVariables()
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 © 2015. All rights reserved.