Class IsNotNullComparisonStatement
java.lang.Object
com.invirgance.convirgance.jdbc.sql.IsNullComparisonStatement
com.invirgance.convirgance.jdbc.sql.IsNotNullComparisonStatement
- All Implemented Interfaces:
ComparisonStatement,SQLStatement
Represents the "IS NOT NULL" expression, for creating comparisons on expressions.
DatabaseSchemaLayout layout = new DatabaseSchemaLayout(driver, getHSQLDataSource());
Table table = layout.getCurrentSchema().getTable("customer");
ExpressionStatement children = new ColumnExpressionStatement(layout, table.getColumn("children"));
IsNotNullComparisonStatement statement =
new IsNotNullComparisonStatement(layout, children);
- Author:
- jbanes
-
Constructor Summary
ConstructorsConstructorDescriptionCreates the statement with only the layout...IsNotNullComparisonStatement(DatabaseSchemaLayout layout, ExpressionStatement expression) Creates the statement with the provided database layout and expression. -
Method Summary
Methods inherited from class com.invirgance.convirgance.jdbc.sql.IsNullComparisonStatement
getExpression, getParent, setExpression, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.invirgance.convirgance.jdbc.sql.SQLStatement
query, query
-
Constructor Details
-
IsNotNullComparisonStatement
Creates the statement with only the layout...- Parameters:
layout- The database layout.
-
IsNotNullComparisonStatement
Creates the statement with the provided database layout and expression.- Parameters:
layout- Database layout.expression- Expression statement.
-
-
Method Details
-
render
- Specified by:
renderin interfaceSQLStatement- Overrides:
renderin classIsNullComparisonStatement
-