Package org.apache.cayenne.ejbql.parser
Class EJBQLCount
java.lang.Object
org.apache.cayenne.ejbql.parser.SimpleNode
org.apache.cayenne.ejbql.parser.EJBQLAggregateColumn
org.apache.cayenne.ejbql.parser.EJBQLCount
- All Implemented Interfaces:
Serializable,EJBQLExpression,Node
public class EJBQLCount extends EJBQLAggregateColumn
- Since:
- 3.0
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description EJBQLCount(int id) -
Method Summary
Modifier and Type Method Description StringgetFunction()StringgetJavaType(String pathType)protected booleanvisitNode(EJBQLExpressionVisitor visitor)Visits this node without recursion.Methods inherited from class org.apache.cayenne.ejbql.parser.SimpleNode
getChild, getChildrenCount, getName, getText, isNegated, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, setText, toString, visit, visitChild
-
Constructor Details
-
EJBQLCount
public EJBQLCount(int id)
-
-
Method Details
-
getFunction
- Specified by:
getFunctionin classEJBQLAggregateColumn
-
getJavaType
- Specified by:
getJavaTypein classEJBQLAggregateColumn
-
visitNode
Description copied from class:SimpleNodeVisits this node without recursion. Default implementation simply returns true. Subclasses override this method to call an appropriate visitor method.- Overrides:
visitNodein classSimpleNode
-