java.lang.Object
org.litebridge.db.spi.impl.function.aggregate.Count
- All Implemented Interfaces:
SelectExpression
COUNT(*) aggregate function.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoSql(Operation operation, ClauseType context, @Nullable DelegateExpression parent) Creates a SQL representation of the expression, providing the immediate nesting/parent expression.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.litebridge.db.spi.expression.SelectExpression
toSql
-
Constructor Details
-
Count
public Count()
-
-
Method Details
-
toSql
Description copied from interface:SelectExpressionCreates a SQL representation of the expression, providing the immediate nesting/parent expression.- Specified by:
toSqlin interfaceSelectExpression- Parameters:
operation- the operation that is being executedcontext- The current clause type being evaluatedparent- The parent expression/nesting expression, ornullif this is a top-level expression- Returns:
- the SQL representation of the expression
-