Uses of Interface
org.apache.torque.Column
Packages that use Column
Package
Description
Torque is an object-relational mapper for Java.
This package contains Torque's Criteria classes.
A manager/factory API for use with Torque-generated data beans.
Description of the schema layout.
This package contains classes which are mainly used in the SQL generation
process.
Misc. utility classes.
SQL function handling
-
Uses of Column in org.apache.torque
Classes in org.apache.torque that implement Column -
Uses of Column in org.apache.torque.criteria
Methods in org.apache.torque.criteria that return types with arguments of type ColumnMethods in org.apache.torque.criteria with parameters of type ColumnModifier and TypeMethodDescriptionCriteria.addAscendingOrderByColumn(Column column) Adds an order by clause, explicitly specifying ascending.Criteria.addAscendingOrderByColumn(Column column, boolean ignoreCase) Add an order by clause, explicitly specifying ascending.Criteria.addAsColumn(String name, Column clause) Add an AS clause to the select columns.Criteria.addDescendingOrderByColumn(Column column) Add order by column name, explicitly specifying descending.Criteria.addDescendingOrderByColumn(Column column, boolean ignoreCase) Add order by column name, explicitly specifying descending.Criteria.addGroupByColumn(Column groupBy) Add a group by clause.Adds a join to the criteria, E.g. to create the conditionAdds a join to the criteria, E.g. to create the conditionAdds a join to the criteria, E.g. to create the conditionCriteria.addSelectColumn(Column column) Adds a select column to the Criteria.Criteria.andVerbatimSql(String sql, Object[] replacements, Column toAddToFromClause1, Column toAddToFromClause2) ANDs a verbatim sql condition to this Criteria.Criteria.orVerbatimSql(String sql, Object[] replacements, Column toAddToFromClause1, Column toAddToFromClause2) ORs a verbatim sql condition to this 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 -
Uses of Column in org.apache.torque.manager
Methods in org.apache.torque.manager that return types with arguments of type ColumnModifier and TypeMethodDescriptionCacheListener.getInterestedFields()Get the list of fields we are listening forMethods in org.apache.torque.manager with parameters of type ColumnModifier and TypeMethodDescriptionprotected voidAbstractBaseManager.addValidField(Column... columns) Add variable number of fields to the list potentially monitored by a listenerprotected <TT extends Persistent>
voidAbstractBaseManager.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 ColumnModifier and TypeClassDescriptionclassColumnMap is used to model a column of a table in a database.Methods in org.apache.torque.map with parameters of type ColumnModifier and TypeMethodDescriptionstatic ColumnMapMapHelper.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 ColumnConstructors in org.apache.torque.sql with parameters of type Column -
Uses of Column in org.apache.torque.util
Methods in org.apache.torque.util that return ColumnModifier and TypeMethodDescriptionJdbcTypedValue.getSqlExpression()Returns the sqlExpression to use instead of the value.Methods in org.apache.torque.util that return types with arguments of type ColumnModifier and TypeMethodDescriptionColumnValues.entrySet()SummaryHelper.getGroupByColumns()ColumnValues.keySet()Methods in org.apache.torque.util with parameters of type ColumnModifier and TypeMethodDescriptionbooleanAdds a Column to the list, if no column with the same SQL Expression is not already contained.voidSummaryHelper.addGroupBy(Column column) Add a column that will be used to group the aggregate results by.AvgHelper.avg(Criteria c, Connection conn, Column column) Returns the average of a column in a query.Returns the average of a column in a query.booleanUniqueColumnList.containsSqlExpression(Column column) Checks if this list already contains a column with the same SQL expression.intCountHelper.count(Criteria c, Connection conn, Column column) Returns the number of rows in a query.intReturns the number of rows in a query.intExecutes a insert into...select statement.intExecutes a insert into...select statement.intBasePeerImpl.doInsert(Column[] toInsertInto, Criteria criteria, String dbName, Connection connection) Executes a insert into...select statement.intBasePeerImpl.doInsert(Column[] toInsertInto, Criteria criteria, Connection connection) Executes a insert into...select statement.ColumnValues.put(Column key, JdbcTypedValue value) Method parameters in org.apache.torque.util with type arguments of type ColumnModifier and TypeMethodDescriptionvoidColumnValues.putAll(Map<? extends Column, ? extends JdbcTypedValue> t) Constructors in org.apache.torque.util with parameters of type ColumnModifierConstructorDescriptionJdbcTypedValue(Column sqlExpression) Constructs a JdbcTypedValue with a verbatim SQL.Constructor parameters in org.apache.torque.util with type arguments of type ColumnModifierConstructorDescriptionColumnValues(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.functionsModifier and TypeInterfaceDescriptioninterfaceDefine 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 ColumnModifier and TypeClassDescriptionclassA default framework that implements the core SQLFunction interface requirements that can be used to build specific functions on.classA container for classes that will generate SQL for the SQL99 Standard Aggregate functions.classSQL99 Standard Average function.classSQL99 Standard count function.classSQL99 Standard max function.classSQL99 Standard min function.classSQL99 Standard sum function.Methods in org.apache.torque.util.functions that return ColumnModifier and TypeMethodDescriptionAbstractFunction.getColumn()Returns the column to which this function is applied.AggregateFunction.getColumn()Returns the column the function is applied to.SQLFunction.getColumn()Returns the column to which this function is applied.Methods in org.apache.torque.util.functions with parameters of type ColumnModifier and TypeMethodDescriptionvoidSets the column the function is applied to.Constructors in org.apache.torque.util.functions with parameters of type ColumnModifierConstructorDescriptionprotectedAggregateFunction(String function, Column column, boolean distinct) Constructor for aggregate functions.Construct an AVG function class with the column to average over.Construct an AVG function class with the column to average over and possibly a distinct modifier.Construct an COUNT function class with the column to count.Construct an COUNT function class with the column to count and possibly a distinct modifier.Construct an MAX function class with the column to calculate the maximum from.Construct an MAX function class with the column to calculate the maximum from and possibly a distinct modifier.Construct an MIN function class with the column to calculate the minimum from.Construct an MIN function class with the column to calculate the minimum from and possibly a distinct modifier.Construct an SUM function class with the column to sum over.Construct an SUM function class with the column to sum over and possibly a distinct modifier.