Package com.mckoi.database
Class InternalFunctionFactory.PrivGroupsFunction
- java.lang.Object
-
- com.mckoi.database.AbstractFunction
-
- com.mckoi.database.InternalFunctionFactory.PrivGroupsFunction
-
- All Implemented Interfaces:
Function
- Enclosing class:
- InternalFunctionFactory
private static class InternalFunctionFactory.PrivGroupsFunction extends AbstractFunction
-
-
Constructor Summary
Constructors Constructor Description PrivGroupsFunction(Expression[] params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TObject
evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
Evaluates the function and returns a TObject that represents the result of the function.TType
returnTType()
-
Methods inherited from class com.mckoi.database.AbstractFunction
allElements, allVariables, getName, getParameter, init, isAggregate, isGlob, parameterCount, prepareParameters, returnTType, setAggregate, toString
-
-
-
-
Constructor Detail
-
PrivGroupsFunction
public PrivGroupsFunction(Expression[] params)
-
-
Method Detail
-
evaluate
public TObject evaluate(GroupResolver group, VariableResolver resolver, QueryContext context)
Description copied from interface:Function
Evaluates the function and returns a TObject that represents the result of the function. The VariableResolver object should be used to look up variables in the parameter of the function. The 'FunctionTable' object should only be used when the function is a grouping function. For example, 'avg(value_of)'.
-
returnTType
public TType returnTType()
- Overrides:
returnTType
in classAbstractFunction
-
-