Class IsNotNullComparisonStatement

java.lang.Object
com.invirgance.convirgance.jdbc.sql.IsNullComparisonStatement
com.invirgance.convirgance.jdbc.sql.IsNotNullComparisonStatement
All Implemented Interfaces:
ComparisonStatement, SQLStatement

public class IsNotNullComparisonStatement extends IsNullComparisonStatement
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 Details

    • IsNotNullComparisonStatement

      public IsNotNullComparisonStatement(DatabaseSchemaLayout layout)
      Creates the statement with only the layout...
      Parameters:
      layout - The database layout.
    • IsNotNullComparisonStatement

      public IsNotNullComparisonStatement(DatabaseSchemaLayout layout, ExpressionStatement expression)
      Creates the statement with the provided database layout and expression.
      Parameters:
      layout - Database layout.
      expression - Expression statement.
  • Method Details