# Uses of Interface
org.apache.torque.Column

Packages that use Column
Package
Description
org.apache.torque
Torque is an object-relational mapper for Java.
org.apache.torque.criteria
This package contains Torque's Criteria classes.
org.apache.torque.manager
A manager/factory API for use with Torque-generated data beans.
org.apache.torque.map
Description of the schema layout.
org.apache.torque.sql
This package contains classes which are mainly used in the SQL generation process.
org.apache.torque.util
Misc. utility classes.
org.apache.torque.util.functions
SQL function handling

- ## Uses of Column in org.apache.torque

  Classes in org.apache.torque that implement Column
  Modifier and Type
  Class
  Description
  `class`
  `ColumnImpl`
  An implementation of the column interface.

- ## Uses of Column in org.apache.torque.criteria

  Methods in org.apache.torque.criteria that return types with arguments of type Column
  Modifier and Type
  Method
  Description
  `Map<String,Column>`
  Criteria.`getAsColumns()`
  Get the column aliases.
  Methods in org.apache.torque.criteria with parameters of type Column
  Modifier and Type
  Method
  Description
  `Criteria`
  Criteria.`addAscendingOrderByColumn(Column column)`
  Adds an order by clause, explicitly specifying ascending.
  `Criteria`
  Criteria.`addAscendingOrderByColumn(Column column, boolean ignoreCase)`
  Add an order by clause, explicitly specifying ascending.
  `Criteria`
  Criteria.`addAsColumn(String name, Column clause)`
  Add an AS clause to the select columns.
  `Criteria`
  Criteria.`addDescendingOrderByColumn(Column column)`
  Add order by column name, explicitly specifying descending.
  `Criteria`
  Criteria.`addDescendingOrderByColumn(Column column, boolean ignoreCase)`
  Add order by column name, explicitly specifying descending.
  `Criteria`
  Criteria.`addGroupByColumn(Column groupBy)`
  Add a group by clause.
  `Criteria`
  Criteria.`addJoin(Column left, Column right)`
  Adds a join to the criteria, E.g. to create the condition
  `Criteria`
  Criteria.`addJoin(Column left, Column right, JoinType joinType)`
  Adds a join to the criteria, E.g. to create the condition
  `Criteria`
  Criteria.`addJoin(Column left, Column right, SqlEnum comparison, JoinType joinType)`
  Adds a join to the criteria, E.g. to create the condition
  `Criteria`
  Criteria.`addSelectColumn(Column column)`
  Adds a select column to the Criteria.
  `Criteria`
  Criteria.`andVerbatimSql(String sql, Object[] replacements, Column toAddToFromClause1, Column toAddToFromClause2)`
  ANDs a verbatim sql condition to this Criteria.
  `Criteria`
  Criteria.`orVerbatimSql(String sql, Object[] replacements, Column toAddToFromClause1, Column toAddToFromClause2)`
  ORs a verbatim sql condition to this Criteria.
  `Criteria`
  Criteria.`whereVerbatimSql(String sql, Object[] replacements, Column toAddToFromClause1, Column toAddToFromClause2)`
  Convenience method to AND a verbatim sql condition to this Criteria.
  Constructors in org.apache.torque.criteria with parameters of type Column
  Modifier
  Constructor
  Description
  ``
  `Join(Column leftColumn, Column rightColumn, SqlEnum comparison, JoinType joinType)`
  Constructor with the comparison operator.

- ## Uses of Column in org.apache.torque.manager

  Methods in org.apache.torque.manager that return types with arguments of type Column
  Modifier and Type
  Method
  Description
  `List<Column>`
  CacheListener.`getInterestedFields()`
  Get the list of fields we are listening for
  Methods in org.apache.torque.manager with parameters of type Column
  Modifier and Type
  Method
  Description
  `protected void`
  AbstractBaseManager.`addValidField(Column... columns)`
  Add variable number of fields to the list potentially monitored by a listener
  `protected <TT extends Persistent>
  void`
  AbstractBaseManager.`notifyListeners(Column column, TT oldOm, TT om)`
  Notify all listeners associated to the column that an object has changed

- ## Uses of Column in org.apache.torque.map

  Classes in org.apache.torque.map that implement Column
  Modifier and Type
  Class
  Description
  `class`
  `ColumnMap`
  ColumnMap is used to model a column of a table in a database.
  Methods in org.apache.torque.map with parameters of type Column
  Modifier and Type
  Method
  Description
  `static ColumnMap`
  MapHelper.`getColumnMap(Column column, Criteria criteria)`
  Returns the column map for a column.

- ## Uses of Column in org.apache.torque.sql

  Methods in org.apache.torque.sql that return Column
  Modifier and Type
  Method
  Description
  `Column`
  OrderBy.`getColumn()`
  Returns the column to order by.
  Constructors in org.apache.torque.sql with parameters of type Column
  Modifier
  Constructor
  Description
  ``
  `OrderBy(Column column, SqlEnum order, boolean ignoreCase)`
  Constructor.

- ## Uses of Column in org.apache.torque.util

  Methods in org.apache.torque.util that return Column
  Modifier and Type
  Method
  Description
  `Column`
  JdbcTypedValue.`getSqlExpression()`
  Returns the sqlExpression to use instead of the value.
  Methods in org.apache.torque.util that return types with arguments of type Column
  Modifier and Type
  Method
  Description
  `Set<Map.Entry<Column,JdbcTypedValue>>`
  ColumnValues.`entrySet()`
  `List<Column>`
  SummaryHelper.`getGroupByColumns()`
  `Set<Column>`
  ColumnValues.`keySet()`
  Methods in org.apache.torque.util with parameters of type Column
  Modifier and Type
  Method
  Description
  `boolean`
  UniqueColumnList.`add(Column column)`
  Adds a Column to the list, if no column with the same SQL Expression is not already contained.
  `void`
  SummaryHelper.`addGroupBy(Column column)`
  Add a column that will be used to group the aggregate results by.
  `BigDecimal`
  AvgHelper.`avg(Criteria c, Connection conn, Column column)`
  Returns the average of a column in a query.
  `BigDecimal`
  AvgHelper.`avg(Criteria c, Column column)`
  Returns the average of a column in a query.
  `boolean`
  UniqueColumnList.`containsSqlExpression(Column column)`
  Checks if this list already contains a column with the same SQL expression.
  `int`
  CountHelper.`count(Criteria c, Connection conn, Column column)`
  Returns the number of rows in a query.
  `int`
  CountHelper.`count(Criteria c, Column column)`
  Returns the number of rows in a query.
  `int`
  BasePeerImpl.`doInsert(Column[] toInsertInto, Criteria criteria)`
  Executes a insert into...select statement.
  `int`
  BasePeerImpl.`doInsert(Column[] toInsertInto, Criteria criteria, String dbName)`
  Executes a insert into...select statement.
  `int`
  BasePeerImpl.`doInsert(Column[] toInsertInto, Criteria criteria, String dbName, Connection connection)`
  Executes a insert into...select statement.
  `int`
  BasePeerImpl.`doInsert(Column[] toInsertInto, Criteria criteria, Connection connection)`
  Executes a insert into...select statement.
  `JdbcTypedValue`
  ColumnValues.`put(Column key, JdbcTypedValue value)`
  Method parameters in org.apache.torque.util with type arguments of type Column
  Modifier and Type
  Method
  Description
  `void`
  ColumnValues.`putAll(Map<? extends Column,? extends JdbcTypedValue> t)`
  Constructors in org.apache.torque.util with parameters of type Column
  Modifier
  Constructor
  Description
  ``
  `JdbcTypedValue(Column sqlExpression)`
  Constructs a JdbcTypedValue with a verbatim SQL.
  Constructor parameters in org.apache.torque.util with type arguments of type Column
  Modifier
  Constructor
  Description
  ``
  `ColumnValues(Map<Column,JdbcTypedValue> columnValues)`
  Constructor.
  ``
  `ColumnValues(Map<Column,JdbcTypedValue> columnValues, String dbName)`
  Constructor.

- ## Uses of Column in org.apache.torque.util.functions

  Subinterfaces of Column in org.apache.torque.util.functions
  Modifier and Type
  Interface
  Description
  `interface`
  `SQLFunction`
  Define the basic methods that classes that support SQL Functions need to implement for Classes that use them.
  Classes in org.apache.torque.util.functions that implement Column
  Modifier and Type
  Class
  Description
  `class`
  `AbstractFunction`
  A default framework that implements the core SQLFunction interface requirements that can be used to build specific functions on.
  `class`
  `AggregateFunction`
  A container for classes that will generate SQL for the SQL99 Standard Aggregate functions.
  `class`
  `Avg`
  SQL99 Standard Average function.
  `class`
  `Count`
  SQL99 Standard count function.
  `class`
  `Max`
  SQL99 Standard max function.
  `class`
  `Min`
  SQL99 Standard min function.
  `class`
  `Sum`
  SQL99 Standard sum function.
  Methods in org.apache.torque.util.functions that return Column
  Modifier and Type
  Method
  Description
  `Column`
  AbstractFunction.`getColumn()`
  Returns the column to which this function is applied.
  `Column`
  AggregateFunction.`getColumn()`
  Returns the column the function is applied to.
  `Column`
  SQLFunction.`getColumn()`
  Returns the column to which this function is applied.
  Methods in org.apache.torque.util.functions with parameters of type Column
  Modifier and Type
  Method
  Description
  `void`
  AggregateFunction.`setColumn(Column column)`
  Sets the column the function is applied to.
  Constructors in org.apache.torque.util.functions with parameters of type Column
  Modifier
  Constructor
  Description
  `protected`
  `AggregateFunction(String function, Column column, boolean distinct)`
  Constructor for aggregate functions.
  ``
  `Avg(Column column)`
  Construct an AVG function class with the column to average over.
  ``
  `Avg(Column column, boolean distinct)`
  Construct an AVG function class with the column to average over and possibly a distinct modifier.
  ``
  `Count(Column column)`
  Construct an COUNT function class with the column to count.
  ``
  `Count(Column column, boolean distinct)`
  Construct an COUNT function class with the column to count and possibly a distinct modifier.
  ``
  `Max(Column column)`
  Construct an MAX function class with the column to calculate the maximum from.
  ``
  `Max(Column column, boolean distinct)`
  Construct an MAX function class with the column to calculate the maximum from and possibly a distinct modifier.
  ``
  `Min(Column column)`
  Construct an MIN function class with the column to calculate the minimum from.
  ``
  `Min(Column column, boolean distinct)`
  Construct an MIN function class with the column to calculate the minimum from and possibly a distinct modifier.
  ``
  `Sum(Column column)`
  Construct an SUM function class with the column to sum over.
  ``
  `Sum(Column column, boolean distinct)`
  Construct an SUM function class with the column to sum over and possibly a distinct modifier.