java.lang.Object
org.litebridge.orm.api.select.ast.HavingNode
- All Implemented Interfaces:
QueryNode
HAVING clause condition in the query AST.
-
Constructor Summary
ConstructorsConstructorDescriptionHavingNode(@Nullable QueryNode previous, QueryNode condition) Creates a newHavingNodeinstance. -
Method Summary
-
Constructor Details
-
HavingNode
Creates a newHavingNodeinstance.- Parameters:
previous- the previous node in the chaincondition- the last embedded condition node for this node
-
-
Method Details
-
previous
Description copied from interface:QueryNodeReturns the previous node in the chain, ornullif this is the root node. -
condition
Returns the HAVING condition node.- Returns:
- the condition node
-
equals
-
hashCode
public int hashCode() -
toString
-
withCondition
Sets the HAVING condition node.- Parameters:
condition- the condition node to set- Returns:
- this having node instance
-