Uses of Class
org.apache.empire.db.DBColumn

Packages that use DBColumn
org.apache.empire.db This package contains the core Empire-DB implementation classes. 
org.apache.empire.db.expr.column This package contains SQL-generator classes for column expressions. 
org.apache.empire.db.expr.compare This package contains SQL-generator classes for compare expressions used in the where and having clause. 
org.apache.empire.db.expr.join This package contains SQL-generator classes for join expressions used in the from clause. 
org.apache.empire.db.expr.order   
org.apache.empire.db.expr.set This package contains SQL-generator classes for set expressions used in the set clause. 
org.apache.empire.db.oracle This package contains classes necessary to support the Oracle database system. 
 

Uses of DBColumn in org.apache.empire.db
 

Subclasses of DBColumn in org.apache.empire.db
protected static class DBCommandExpr.DBCmdColumn
          This class wraps a column of sql command in a special command column object.
static class DBQuery.DBQueryColumn
           
 class DBTableColumn
          This class represent one column of a table.
static class DBView.DBViewColumn
           
 

Fields in org.apache.empire.db declared as DBColumn
 DBColumn DBDatabaseDriver.DBSeqTable.C_SEQNAME
           
 DBColumn DBDatabaseDriver.DBSeqTable.C_SEQVALUE
           
 DBColumn DBDatabaseDriver.DBSeqTable.C_TIMESTAMP
           
protected  DBColumn[] DBQuery.keyColumns
           
protected  DBColumn DBRowSet.timestampColumn
           
protected  DBColumn DBView.DBViewColumn.updateColumn
           
 

Fields in org.apache.empire.db with type parameters of type DBColumn
protected  Map<DBColumn,DBColumn> DBRowSet.columnReferences
           
protected  Map<DBColumn,DBColumn> DBRowSet.columnReferences
           
protected  List<DBColumn> DBRowSet.columns
           
 

Methods in org.apache.empire.db that return DBColumn
static DBColumn DBColumn.findById(String columnId)
          returns a rowset by its identifier
 DBColumn DBRowSet.getColumn(int iColumn)
          Returns a DBColumn object by a specified index value.
 DBColumn DBRowSet.getColumn(String name)
          Gets the column Expression with a particular name.
 DBColumn[] DBIndex.getColumns()
          Returns the columns belonging to this index.
 DBColumn DBRecord.getDBColumn(int index)
          Returns the DBColumn for the field at the given index.
 DBColumn[] DBRowSet.getKeyColumns()
          Returns an array of all primary key columns.
 DBColumn[] DBCommandExpr.DBCmdQuery.getKeyColumns()
          Prints the error message: ERR_NOTSUPPORTED.
 DBColumn[] DBQuery.getKeyColumns()
          return query key columns
 DBColumn DBRowSet.getTimestampColumn()
           
abstract  DBColumn DBColumnExpr.getUpdateColumn()
          Returns the underlying physical column which may be used for updates.
 DBColumn DBColumn.getUpdateColumn()
          Returns this object.
 

Methods in org.apache.empire.db that return types with arguments of type DBColumn
 Map<DBColumn,DBColumn> DBRowSet.getColumnReferences()
          Returns the a list of column references.
 Map<DBColumn,DBColumn> DBRowSet.getColumnReferences()
          Returns the a list of column references.
 List<DBColumn> DBRowSet.getColumns()
          Gets all columns of this rowset (e.g.
 

Methods in org.apache.empire.db with parameters of type DBColumn
protected  void DBDDLGenerator.addAlterTableStmt(DBColumn col, StringBuilder sql, DBSQLScript script)
           
protected  void DBRowSet.addColumnReference(DBColumn source, DBColumn target)
          Adds a column reference to the list of table references.
 DBIndex DBTable.addIndex(String name, boolean unique, DBColumn[] columns)
          Adds an index.
protected  boolean DBQuery.addJoinRestriction(DBCommand upd, DBColumn updCol, DBColumn keyCol, DBColumn[] keyColumns, DBRecord rec)
          Adds join restrictions to the supplied command object.
protected  boolean DBQuery.addJoinRestriction(DBCommand upd, DBColumn updCol, DBColumn keyCol, DBColumn[] keyColumns, DBRecord rec)
          Adds join restrictions to the supplied command object.
 DBColumnExpr DBColumnExpr.as(DBColumn column)
          creates a new DBAliasExpr which renames the current expression to the name of the supplied column.
 boolean DBIndex.contains(DBColumn col)
          Checks if this index contains the column col
 boolean DBExpressionIndex.contains(DBColumn col)
          Checks if this index contains the column col
 int DBRowSet.getColumnIndex(DBColumn column)
          Gets the index of a particular column expression.
 int DBIndex.getColumnPos(DBColumn col)
          Gets the position of a specified DBColumn object.
 int DBExpressionIndex.getColumnPos(DBColumn col)
          Gets the position of a specified DBColumn object.
protected  DBColumnExpr DBColumnExpr.getExprFromPhrase(int phrase, Object[] params, DBColumn updateColumn, boolean isAggregate)
           
protected  DBColumnExpr DBColumnExpr.getExprFromPhrase(int phrase, Object[] params, DBColumn updateColumn, boolean isAggregate, DataType dataType)
          Creates a new DBFuncExpr from a given SQL-PRHASE and optional additional parameters.
 Options DBRecord.getFieldOptions(DBColumn column)
          Gets the possbile Options for a field in the context of the current record.
 boolean DBCommand.hasJoinOn(DBColumn column)
          Returns true if the command has a join on the given column or false otherwise.
protected  boolean DBCommand.hasSetExprOn(DBColumn column)
          Checks whether a column is in the list of set expressions
 boolean DBRowSet.isColumnReadOnly(DBColumn col)
          Checks whether a column is read only or writable.
 boolean DBRecord.isFieldReadOnly(DBColumn column)
          returns whether a field is read only or not
 boolean DBRecord.isFieldVisible(DBColumn column)
          returns whether a field is visible to the client or not
 boolean DBRowSet.isKeyColumn(DBColumn column)
          Checks whether a given column is part of the primary key for this RowSet
 DBJoinExpr DBCommand.join(DBColumnExpr left, DBColumn right)
          Adds an inner join based on two columns to the list of join expressions.
 DBJoinExpr DBCommand.join(DBColumnExpr left, DBColumn right, DBJoinType joinType)
          Adds a join based on two columns to the list of join expressions.
 boolean DBCommand.removeJoinsOn(DBColumn column)
          removes all joins to a given column
 void DBRecord.setModified(DBColumn column, boolean isModified)
          Sets the modified state of a column.
This will force the field to be updated in the database, if set to TRUE.
 void DBTable.setPrimaryKey(DBColumn column)
          Sets the primary key to a single column.
 void DBTable.setPrimaryKey(DBColumn[] columns)
          Sets the primary keys.
 void DBTable.setPrimaryKey(DBColumn col1, DBColumn col2)
          Adds two columns to the primary key list.
 void DBTable.setPrimaryKey(DBColumn col1, DBColumn col2, DBColumn col3)
          Adds three columns to the primary key list.
 void DBRowSet.setTimestampColumn(DBColumn timestampColumn)
           
protected  boolean DBCommand.useCmdParam(DBColumn col, Object value)
           
 

Method parameters in org.apache.empire.db with type arguments of type DBColumn
 void DBRowSet.addReferencedColumns(Set<DBColumn> list)
           
 void DBCombinedCmd.addReferencedColumns(Set<DBColumn> list)
           
 void DBCommandExpr.DBCmdQuery.addReferencedColumns(Set<DBColumn> list)
           
 void DBCmdParam.addReferencedColumns(Set<DBColumn> list)
           
 void DBCommand.addReferencedColumns(Set<DBColumn> list)
          Adds Columns
abstract  void DBExpr.addReferencedColumns(Set<DBColumn> list)
          Internal function to obtain all DBColumnExpr-objects used by this expression.
 void DBColumn.addReferencedColumns(Set<DBColumn> list)
           
 

Constructors in org.apache.empire.db with parameters of type DBColumn
DBIndex(String name, int type, DBColumn[] columns)
          Constructs a DBIndex object set the specified parameters to this object.
DBQuery(DBCommandExpr cmd, DBColumn keyColumn)
          Constructs a new DBQuery object initialize the query object.
DBQuery(DBCommandExpr cmd, DBColumn[] keyColumns)
          Constructor initializes the query object.
 

Uses of DBColumn in org.apache.empire.db.expr.column
 

Fields in org.apache.empire.db.expr.column declared as DBColumn
protected  DBColumn DBAbstractFuncExpr.updateColumn
           
 

Methods in org.apache.empire.db.expr.column that return DBColumn
 DBColumn DBCountExpr.getUpdateColumn()
          Returns null.
 DBColumn DBAliasExpr.getUpdateColumn()
          Returns the DBColunm object.
 DBColumn DBConcatExpr.getUpdateColumn()
           
 DBColumn DBCaseExpr.getUpdateColumn()
           
 DBColumn DBCalcExpr.getUpdateColumn()
          returns null
 DBColumn DBValueExpr.getUpdateColumn()
          Returns null.
 DBColumn DBAbstractFuncExpr.getUpdateColumn()
          Returns the DBColunm object.
 

Method parameters in org.apache.empire.db.expr.column with type arguments of type DBColumn
 void DBCountExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBAliasExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBConcatExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBCaseExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBCalcExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBDecodeExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBValueExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBAbstractFuncExpr.addReferencedColumns(Set<DBColumn> list)
           
 

Constructors in org.apache.empire.db.expr.column with parameters of type DBColumn
DBAbstractFuncExpr(DBColumnExpr expr, DBColumn updateColumn, boolean isAggregate, DataType dataType)
          Constructs a new DBFuncExpr object set the specified parameters to this object.
DBFuncExpr(DBColumnExpr expr, int phrase, Object[] params, DBColumn updateColumn, boolean isAggregate, DataType dataType)
          Constructs a new DBFuncExpr object set the specified parameters to this object.
DBFuncExpr(DBColumnExpr expr, String template, Object[] params, DBColumn updateColumn, boolean isAggregate, DataType dataType)
          Constructs a new DBFuncExpr object set the specified parameters to this object.
 

Uses of DBColumn in org.apache.empire.db.expr.compare
 

Method parameters in org.apache.empire.db.expr.compare with type arguments of type DBColumn
 void DBExistsExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBCompareColExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBCompareNotExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBParenthesisExpr.addReferencedColumns(Set<DBColumn> list)
           
 void DBCompareAndOrExpr.addReferencedColumns(Set<DBColumn> list)
           
 

Uses of DBColumn in org.apache.empire.db.expr.join
 

Methods in org.apache.empire.db.expr.join with parameters of type DBColumn
 boolean DBJoinExpr.isJoinOn(DBColumn column)
          returns true if this join is using the given column or false otherwise
 

Method parameters in org.apache.empire.db.expr.join with type arguments of type DBColumn
 void DBJoinExpr.addReferencedColumns(Set<DBColumn> list)
           
 

Uses of DBColumn in org.apache.empire.db.expr.order
 

Methods in org.apache.empire.db.expr.order that return DBColumn
 DBColumn DBOrderByExpr.getColumn()
           
 

Method parameters in org.apache.empire.db.expr.order with type arguments of type DBColumn
 void DBOrderByExpr.addReferencedColumns(Set<DBColumn> list)
           
 

Uses of DBColumn in org.apache.empire.db.expr.set
 

Fields in org.apache.empire.db.expr.set declared as DBColumn
 DBColumn DBSetExpr.column
           
 

Methods in org.apache.empire.db.expr.set that return DBColumn
 DBColumn DBSetExpr.getColumn()
           
 

Method parameters in org.apache.empire.db.expr.set with type arguments of type DBColumn
 void DBSetExpr.addReferencedColumns(Set<DBColumn> list)
           
 

Constructors in org.apache.empire.db.expr.set with parameters of type DBColumn
DBSetExpr(DBColumn expr, Object value)
          Constructs a new DBSetExpr object.
 

Uses of DBColumn in org.apache.empire.db.oracle
 

Methods in org.apache.empire.db.oracle that return DBColumn
 DBColumn OracleRowNumExpr.getUpdateColumn()
          Returns null.
 

Method parameters in org.apache.empire.db.oracle with type arguments of type DBColumn
 void OracleRowNumExpr.addReferencedColumns(Set<DBColumn> list)
           
 



Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.