Class PostgresAtAt

All Implemented Interfaces:
DBPreparable

public class PostgresAtAt extends DBCompareExpr
PostgresAtAt create a Postgres @@ comparator
  • Constructor Details

  • Method Details

    • getDatabase

      public DBDatabase getDatabase()
      Description copied from class: DBObject
      Returns the database object to which this object belongs to. For the database object itself this function will return the this pointer.
      Specified by:
      getDatabase in class DBObject
      Returns:
      the database object
    • prepareParams

      public void prepareParams(DBCommand cmd, DBExpr parent)
      Description copied from interface: DBPreparable
      Prepares an expression for a query This function is called by DBCommand in order to add values as query parameters instead of being literally included in the sql statement Please Note: This function is internally called. Do not call yourself!
      Parameters:
      cmd - the command to which to add the parameters
      parent - the parent expression holding the value
    • copy

      public DBCompareExpr copy(DBCommand newCmd)
      Description copied from class: DBCompareExpr
      internally used for command cloning
      Specified by:
      copy in class DBCompareExpr
      Parameters:
      newCmd - the new command object
      Returns:
      the cloned compare expression
    • isMutuallyExclusive

      public boolean isMutuallyExclusive(DBCompareExpr other)
      Specified by:
      isMutuallyExclusive in class DBCompareExpr
    • isConstraintOn

      public boolean isConstraintOn(DBColumnExpr colExpr)
      Specified by:
      isConstraintOn in class DBCompareExpr
    • getRowSet

      public DBRowSet getRowSet()
      Description copied from class: DBCompareExpr
      Returns the underlying rowset containing this column For functions involving none or more than one physical column this function return the first one
      Specified by:
      getRowSet in class DBCompareExpr
      Returns:
      a column used for this expression
    • addReferencedColumns

      public void addReferencedColumns(Set<DBColumn> list)
      Description copied from class: DBExpr
      Internal function to obtain all DBColumnExpr-objects used by this expression.
      Specified by:
      addReferencedColumns in class DBExpr
      Parameters:
      list - list to which all used column expressions must be added
    • addSQL

      public void addSQL(DBSQLBuilder sql, long context)
      Description copied from class: DBExpr
      Used to build the SQL command. SQL for this expression must be appended to StringBuilder.
      Specified by:
      addSQL in class DBExpr
      Parameters:
      sql - the string buffer used to build the sql command
      context - context flag for this SQL-Command (see CTX_??? constants).