Package org.hcjf.layers.query.model
Class QueryReturnFunction
- java.lang.Object
-
- org.hcjf.layers.query.model.QueryParameter
-
- org.hcjf.layers.query.model.QueryFunction
-
- org.hcjf.layers.query.model.QueryReturnFunction
-
- All Implemented Interfaces:
java.lang.Comparable<QueryParameter>,QueryComponent,QueryReturnParameter
public class QueryReturnFunction extends QueryFunction implements QueryReturnParameter
-
-
Constructor Summary
Constructors Constructor Description QueryReturnFunction(Query query, java.lang.String originalFunction, java.lang.String functionName, java.util.List<java.lang.Object> parameters, java.lang.String alias)
-
Method Summary
Modifier and Type Method Description java.lang.StringgetAlias()Return the field alias, can be null.booleanisAggregate()Verify if the function is an aggregate function or not.-
Methods inherited from class org.hcjf.layers.query.model.QueryFunction
getFunctionName, getParameters, getResources, verifyResource
-
Methods inherited from class org.hcjf.layers.query.model.QueryParameter
compareTo, equals, getFieldPath, getOriginalValue, getResource, isUnderlying, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hcjf.layers.query.model.QueryComponent
isUnderlying
-
-
-
-
Constructor Detail
-
QueryReturnFunction
public QueryReturnFunction(Query query, java.lang.String originalFunction, java.lang.String functionName, java.util.List<java.lang.Object> parameters, java.lang.String alias)
-
-
Method Detail
-
getAlias
public java.lang.String getAlias()
Return the field alias, can be null.- Specified by:
getAliasin interfaceQueryReturnParameter- Returns:
- Field alias.
-
isAggregate
public boolean isAggregate()
Verify if the function is an aggregate function or not.- Returns:
- True if the function is an aggregate function and false in the otherwise.
-
-