Class ComparisonOperatorStatement
java.lang.Object
com.invirgance.convirgance.jdbc.sql.ComparisonOperatorStatement
- All Implemented Interfaces:
ComparisonStatement
,SQLStatement
- Author:
- jbanes
-
Constructor Summary
ConstructorsConstructorDescriptionComparisonOperatorStatement
(DatabaseSchemaLayout layout, ExpressionStatement left, ComparisonOperator operator, ExpressionStatement right) -
Method Summary
Modifier and TypeMethodDescriptiongetLeft()
If this statement is part of a larger statement, this returns the parent statement.getRight()
render
(SQLRenderer renderer) void
setLeft
(ExpressionStatement left) void
setOperator
(ComparisonOperator operator) void
setParent
(SQLStatement parent) void
setRight
(ExpressionStatement right) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.invirgance.convirgance.jdbc.sql.SQLStatement
query, query
-
Constructor Details
-
ComparisonOperatorStatement
-
ComparisonOperatorStatement
public ComparisonOperatorStatement(DatabaseSchemaLayout layout, ExpressionStatement left, ComparisonOperator operator, ExpressionStatement right)
-
-
Method Details
-
getParent
Description copied from interface:SQLStatement
If this statement is part of a larger statement, this returns the parent statement. Null is returned if this is the top-level statement.- Specified by:
getParent
in interfaceSQLStatement
- Returns:
- the parent statement or null if there is no parent
-
setParent
- Specified by:
setParent
in interfaceSQLStatement
-
getLeft
-
setLeft
-
getRight
-
setRight
-
getOperator
-
setOperator
-
render
- Specified by:
render
in interfaceSQLStatement
-