A B C D E F G H I J K L M N O P Q R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- abort(Executor) - Method in class org.apache.torque.util.TorqueConnectionImpl
- AbstractAdapter - Class in org.apache.torque.adapter
-
This class is the abstract base for any database adapter Support for new databases is added by subclassing this class and implementing its abstract methods, and by registering the new database adapter and its corresponding JDBC driver in the service configuration file.
- AbstractAdapter() - Constructor for class org.apache.torque.adapter.AbstractAdapter
-
Empty constructor.
- AbstractBaseManager<T extends Persistent> - Class in org.apache.torque.manager
-
This class contains common functionality of a Manager for instantiating OM's.
- AbstractBaseManager() - Constructor for class org.apache.torque.manager.AbstractBaseManager
- AbstractDataSourceFactory - Class in org.apache.torque.dsfactory
-
A class that contains common functionality of the factories in this package.
- AbstractDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.AbstractDataSourceFactory
- AbstractFunction - Class in org.apache.torque.util.functions
-
A default framework that implements the core SQLFunction interface requirements that can be used to build specific functions on.
- AbstractFunction() - Constructor for class org.apache.torque.util.functions.AbstractFunction
-
Functions should only be created via the FunctionFactory class.
- AbstractIdGenerator - Class in org.apache.torque.oid
-
This class serves as a common base class for the sequence-based and the autoincrement-based id generators
- AbstractIdGenerator(Adapter, String) - Constructor for class org.apache.torque.oid.AbstractIdGenerator
-
Creates an IdGenerator which will work with the specified database.
- AbstractPeerImpl<T extends ObjectModel> - Class in org.apache.torque.util
-
This is an abstract layer for all generated peer classes that implements several convenience methods that otherwise would have to be generated.
- AbstractPeerImpl() - Constructor for class org.apache.torque.util.AbstractPeerImpl
-
Default constructor
- AbstractPeerImpl(RecordMapper<T>, TableMap, String) - Constructor for class org.apache.torque.util.AbstractPeerImpl
-
Constructor providing the objects to be injected as parameters.
- AbstractWhereClausePsPartBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Abstract base class for a WhereClausePsPartBuilder.
- AbstractWhereClausePsPartBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.AbstractWhereClausePsPartBuilder
- adapter - Variable in class org.apache.torque.oid.AbstractIdGenerator
-
The adapter that knows the correct sql syntax
- Adapter - Interface in org.apache.torque.adapter
-
DB
defines the interface for a Torque database adapter. - ADAPTER_KEY - Static variable in interface org.apache.torque.adapter.Adapter
-
Key for the configuration which contains database adapters.
- AdapterFactory - Class in org.apache.torque.adapter
-
This class creates different
Adapter
objects based on specified JDBC driver name. - add(Column) - Method in class org.apache.torque.util.UniqueColumnList
-
Adds a Column to the list, if no column with the same SQL Expression is not already contained.
- add(T) - Method in class org.apache.torque.util.UniqueList
-
Adds an Object to the list.
- addAggregate(String, SQLFunction) - Method in class org.apache.torque.util.SummaryHelper
-
Add in an Aggregate function to the summary information.
- addAlias(String, String) - Method in class org.apache.torque.criteria.Criteria
-
Allows one to specify an alias for a table.
- addAlias(String, Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Allows one to specify an alias for a subselect.
- addArgument(Object) - Method in class org.apache.torque.util.functions.AbstractFunction
-
Add an argument to the function argument list
- addAscendingOrderByColumn(Column) - Method in class org.apache.torque.criteria.Criteria
-
Adds an order by clause, explicitly specifying ascending.
- addAscendingOrderByColumn(Column, boolean) - Method in class org.apache.torque.criteria.Criteria
-
Add an order by clause, explicitly specifying ascending.
- addAsColumn(String, Column) - Method in class org.apache.torque.criteria.Criteria
-
Add an AS clause to the select columns.
- addCacheListenerImpl(CacheListener<?>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Add a new listener
- addColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
-
Add a pre-created column to this table.
- addColumns(ForeignKeyMap.ColumnPair) - Method in class org.apache.torque.map.ForeignKeyMap
-
Adds a column pair to the foreign key.
- addDescendingOrderByColumn(Column) - Method in class org.apache.torque.criteria.Criteria
-
Add order by column name, explicitly specifying descending.
- addDescendingOrderByColumn(Column, boolean) - Method in class org.apache.torque.criteria.Criteria
-
Add order by column name, explicitly specifying descending.
- addedObject(T) - Method in interface org.apache.torque.manager.CacheListener
-
Notify listener that an object has been added to the database
- addForeignKey(ForeignKeyMap) - Method in class org.apache.torque.map.TableMap
-
Add a foreign key to this table.
- addFrom(String) - Method in class org.apache.torque.criteria.Criteria
-
Adds a table to the from clause, not using a joinType or joinCondition.
- addFrom(FromElement) - Method in class org.apache.torque.criteria.Criteria
-
Adds a new Element to the from clause.
- addGroupBy(Column) - Method in class org.apache.torque.util.SummaryHelper
-
Add a column that will be used to group the aggregate results by.
- addGroupByColumn(Column) - Method in class org.apache.torque.criteria.Criteria
-
Add a group by clause.
- addHaving(Criterion) - Method in class org.apache.torque.criteria.Criteria
-
This method adds a prepared Criterion object to the Criteria as a having clause.
- addIdGenerator(IDMethod, IdGenerator) - Method in class org.apache.torque.Database
-
Adds an IdGenerator to the database.
- addInheritanceMap(InheritanceMap) - Method in class org.apache.torque.map.ColumnMap
-
Add an associated inheritance mapping.
- addJoin(String, String, Criterion, JoinType) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria.
- addJoin(Column, Column) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria, E.g.
- addJoin(Column, Column, JoinType) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria, E.g.
- addJoin(Column, Column, SqlEnum, JoinType) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria, E.g.
- addJoin(PreparedStatementPart, PreparedStatementPart, Criterion, JoinType) - Method in class org.apache.torque.criteria.Criteria
-
Adds a join to the criteria, E.g.
- addMapper(RecordMapper<?>, int) - Method in class org.apache.torque.om.mapper.CompositeMapper
-
Adds a new mapper to be applied to a result set.
- addPreparedStatementReplacement(Object) - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Adds a PreparedStatementPart to the list of contained PreparedStatementParts, which contains only the given replacement.
- addSelectColumn(Column) - Method in class org.apache.torque.criteria.Criteria
-
Adds a select column to the Criteria.
- addSelectColumns(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Add all the columns needed to create a new object.
- addTable(String) - Method in class org.apache.torque.map.DatabaseMap
-
Add a new table to the database by name.
- addValidField(Column...) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Add variable number of fields to the list potentially monitored by a listener
- AggregateFunction - Class in org.apache.torque.util.functions
-
A container for classes that will generate SQL for the SQL99 Standard Aggregate functions.
- AggregateFunction(String, Column, boolean) - Constructor for class org.apache.torque.util.functions.AggregateFunction
-
Constructor for aggregate functions.
- ALL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- ALL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "ALL ".
- ALT_NOT_EQUAL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- ALT_NOT_EQUAL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "!=".
- and(Object, Object) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s a new condition with the conditions in this Criteria.
- and(Object, Object, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s a new condition with the conditions in this Criteria.
- and(Criterion) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s Criterion object with the conditions in this Criteria.
- and(Criterion) - Method in class org.apache.torque.criteria.Criterion
-
Replaces this criterion's condition with (this criterion's condition AND criterion).
- AND - Static variable in class org.apache.torque.criteria.Criterion
-
Constant for the operator " AND ".
- andDate(Object, int, int, int) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a new date comparison with the conditions in this Criteria.
- andDate(Object, int, int, int, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a new date comparison with the conditions in this Criteria.
- andIn(Object, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "in" comparison with the conditions in this Criteria.
- andIn(Object, Collection<?>) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "in" comparison with the conditions in this Criteria.
- andNotIn(Object, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "not in" comparison with the conditions in this Criteria.
- andNotIn(Object, Collection<?>) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "not in" comparison with the conditions in this Criteria.
- andVerbatimSql(String, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Ands a verbatim sql condition to this Criteria.
- andVerbatimSql(String, Object[], Column, Column) - Method in class org.apache.torque.criteria.Criteria
-
ANDs a verbatim sql condition to this Criteria.
- append(PreparedStatementPart) - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Appends another PreparedStatementPart to this part.
- append(PreparedStatementPart) - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Adds a PreparedStatementPart to the list of contained PreparedStatementParts.
- append(SqlEnum) - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Appends a SqlEnum to this part.
- appendSetOperation(Criteria, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
Appends a set operation (union, except, intersect) to this Criteria.
- appendSql(String) - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Adds a PreparedStatementPart to the list of contained PreparedStatementParts, which contains only the given sql.
- appendTo(StringBuilder) - Method in class org.apache.torque.criteria.Criterion
-
Appends a debug String representation of the Criterion onto the String builder.
- appendTo(StringBuilder) - Method in class org.apache.torque.om.ComboKey
- appendTo(StringBuilder) - Method in class org.apache.torque.om.ObjectKey
-
Appends a String representation of the key to a buffer.
- applyConfiguration(Configuration, Object) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Iterate over a Configuration subset and apply all properties to a passed object which must contain Bean setter and getter
- AS - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " AS ".
- ASC - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "ASC".
- assertNoComposite() - Method in class org.apache.torque.criteria.Criteria
-
Checks that this Criteria is no composite Criteria, and throws a TorqueRuntimeException otherwise.
- AUTO_INCREMENT - org.apache.torque.adapter.IDMethod
-
Key generation via auto-increment.
- AUTODETECT_ADAPTER - Static variable in interface org.apache.torque.adapter.Adapter
-
Special adapter for auto-detection.
- autoDetectAdapter(Connection) - Static method in class org.apache.torque.adapter.AdapterFactory
-
Creates a new instance of the Torque database adapter based on the JDBC meta-data
- AutoIncrementIdGenerator - Class in org.apache.torque.oid
-
This generator works with databases that have an sql syntax that allows the retrieval of the last id used to insert a row for a Connection.
- AutoIncrementIdGenerator(Adapter, String) - Constructor for class org.apache.torque.oid.AutoIncrementIdGenerator
-
Creates an IdGenerator which will work with the specified database.
- Avg - Class in org.apache.torque.util.functions
-
SQL99 Standard Average function.
- Avg(String) - Constructor for class org.apache.torque.util.functions.Avg
-
Construct an AVG function class with an SQL expression to average over.
- Avg(Column) - Constructor for class org.apache.torque.util.functions.Avg
-
Construct an AVG function class with the column to average over.
- Avg(Column, boolean) - Constructor for class org.apache.torque.util.functions.Avg
-
Construct an AVG function class with the column to average over and possibly a distinct modifier.
B
- BasePeerImpl<T> - Class in org.apache.torque.util
-
This is the base class for all Peer classes in the system.
- BasePeerImpl() - Constructor for class org.apache.torque.util.BasePeerImpl
-
Default constructor
- BasePeerImpl(RecordMapper<T>, TableMap, String) - Constructor for class org.apache.torque.util.BasePeerImpl
-
Constructor providing the objects to be injected as parameters.
- begin() - Static method in class org.apache.torque.util.Transaction
-
Begin a transaction by retrieving a connection from the default database connection pool.
- begin() - Method in interface org.apache.torque.util.TransactionManager
-
Begin a transaction by retrieving a connection from the default database connection pool.
- begin() - Method in class org.apache.torque.util.TransactionManagerImpl
-
Begin a transaction by retrieving a connection from the default database connection pool.
- begin(String) - Static method in class org.apache.torque.util.Transaction
-
Begin a transaction by retrieving a connection from the named database connection pool.
- begin(String) - Method in interface org.apache.torque.util.TransactionManager
-
Begin a transaction by retrieving a connection from the named database connection pool.
- begin(String) - Method in class org.apache.torque.util.TransactionManagerImpl
-
Begin a transaction by retrieving a connection from the named database connection pool.
- BigDecimalMapper - Class in org.apache.torque.om.mapper
-
Maps a database record to a BigDecimal.
- BigDecimalMapper() - Constructor for class org.apache.torque.om.mapper.BigDecimalMapper
-
Constructs a BigDecimalMapper with an offset of 0.
- BigDecimalMapper(int) - Constructor for class org.apache.torque.om.mapper.BigDecimalMapper
-
Constructs a BigDecimalMapper with the given offset.
- BooleanKey - Class in org.apache.torque.om
-
This class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a Boolean.
- BooleanKey() - Constructor for class org.apache.torque.om.BooleanKey
-
Initializes the internal key value to
null
. - BooleanKey(Boolean) - Constructor for class org.apache.torque.om.BooleanKey
-
Creates an BooleanKey and set its internal representation
- BooleanKey(String) - Constructor for class org.apache.torque.om.BooleanKey
-
Creates an BooleanKey and set its internal representation
- BooleanKey(BooleanKey) - Constructor for class org.apache.torque.om.BooleanKey
-
Creates a BooleanKey that is equivalent to key.
- buildColumnValues(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Returns the contents of the object as ColumnValues object.
- buildCriteria(Criteria) - Method in class org.apache.torque.util.SummaryHelper
-
Builds the criteria to use in summarizing the information.
- buildCriteria(ObjectKey<?>) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Build a Criteria object which selects all objects which have a given primary key.
- buildCriteria(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Build a Criteria object from the data object for this peer.
- buildPs(Object, boolean, Query, Adapter) - Method in class org.apache.torque.sql.objectbuilder.ObjectOrColumnPsPartBuilder
-
Builds a PreparedStatementPart from a column or single value.
- buildPs(Object, boolean, Query, Adapter) - Method in interface org.apache.torque.sql.objectbuilder.ObjectPsPartBuilder
-
Builds a PreparedStatementPart from a single Object.
- buildPs(WhereClauseExpression, boolean, Query, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.CurrentDateTimePsPartBuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression.
- buildPs(WhereClauseExpression, boolean, Query, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.EnumValueBuilder
-
Takes a WhereClauseExpression containing a enum object and unwraps the enum value.
- buildPs(WhereClauseExpression, boolean, Query, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.InBuilder
-
Takes a columnName and criteria and builds a SQL 'IN' expression taking into account the ignoreCase flag.
- buildPs(WhereClauseExpression, boolean, Query, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.LikeBuilder
-
Builds the PS part for a WhereClauseExpression with a LIKE operator.
- buildPs(WhereClauseExpression, boolean, Query, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.NullValueBuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression which rhs is null and which has one of the comparison opertator =, <>, or !=.
- buildPs(WhereClauseExpression, boolean, Query, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.StandardBuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.
- buildPs(WhereClauseExpression, boolean, Query, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.VerbatimSqlConditionBuilder
-
Builds the PS part for a WhereClauseExpression with a verbatim SQL condition.
- buildPs(WhereClauseExpression, boolean, Query, Adapter) - Method in interface org.apache.torque.sql.whereclausebuilder.WhereClausePsPartBuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression.
- buildQuery(Criteria) - Static method in class org.apache.torque.sql.SqlBuilder
-
Builds a Query from a criteria.
- buildSelectCriteria(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Build a Criteria object from the data object for this peer, skipping all binary columns.
- byteValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as a byte.
C
- cache - Variable in class org.apache.torque.manager.AbstractBaseManager
-
used to cache the om objects.
- CACHE_KEY - Static variable in class org.apache.torque.Torque
-
Name of config property to determine whether caching is used.
- cacheGet(ObjectKey<?>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get an object from cache
- CacheListener<T extends Persistent> - Interface in org.apache.torque.manager
-
Listener for cache events
- CLASSNAME_KEY - Static variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Key for the configuration property which contains the class name of the datasource to be bound into jndi.
- clear() - Method in class org.apache.torque.criteria.Criteria
-
Resets this Criteria to its original state.
- clear() - Method in class org.apache.torque.manager.MethodResultCache
-
Clear the cache
- clear() - Method in class org.apache.torque.manager.NoOpMethodResultCache
-
Clear the cache
- clear() - Method in class org.apache.torque.util.ColumnValues
- clear() - Method in class org.apache.torque.util.SummaryHelper
-
Resets the class internal variables to their initial states so the class can be re-used like a new class.
- clearImpl() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Clears the cache
- clearOptions() - Method in class org.apache.torque.map.OptionSupport
-
Clears all options.
- clearWarnings() - Method in class org.apache.torque.util.TorqueConnectionImpl
- clone() - Method in class org.apache.torque.criteria.Criteria
-
Returns a shallow copy of this object.
- close() - Method in interface org.apache.torque.dsfactory.DataSourceFactory
-
A hook which is called when the resources of the associated DataSource can be released.
- close() - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Does nothing.
- close() - Method in class org.apache.torque.dsfactory.PerUserPool2DataSourceFactory
-
Closes the pool associated with this factory and releases it.
- close() - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
-
Deprecated.Closes the pool associated with this factory and releases it.
- close() - Method in class org.apache.torque.dsfactory.SharedPool2DataSourceFactory
-
Closes the pool associated with this factory and releases it.
- close() - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-
Deprecated.Closes the pool associated with this factory and releases it.
- close() - Method in interface org.apache.torque.util.TorqueConnection
- close() - Method in class org.apache.torque.util.TorqueConnectionImpl
- closeConnection(Connection) - Method in interface org.apache.torque.avalon.Torque
-
Closes a connection.
- closeConnection(Connection) - Static method in class org.apache.torque.Torque
-
Closes a connection.
- closeConnection(Connection) - Method in class org.apache.torque.TorqueInstance
-
Closes a connection.
- COL_NEXT_ID - Static variable in class org.apache.torque.oid.IDBroker
-
Next_ID column name
- COL_QUANTITY - Static variable in class org.apache.torque.oid.IDBroker
-
Quantity column name
- COL_TABLE_ID - Static variable in class org.apache.torque.oid.IDBroker
-
ID column name
- COL_TABLE_NAME - Static variable in class org.apache.torque.oid.IDBroker
-
Table_Name column name
- Column - Interface in org.apache.torque
-
The metadata of a column (or pseudocolumn) in a database.
- ColumnAccessByName - Interface in org.apache.torque.om
-
Define accessors by name.
- ColumnImpl - Class in org.apache.torque
-
An implementation of the column interface.
- ColumnImpl(String) - Constructor for class org.apache.torque.ColumnImpl
-
Constructor which tries to guess schema, table and column names from an SQL expression.
- ColumnImpl(String, String) - Constructor for class org.apache.torque.ColumnImpl
-
Constructor.
- ColumnImpl(String, String, String) - Constructor for class org.apache.torque.ColumnImpl
-
Constructor.
- ColumnImpl(String, String, String, String) - Constructor for class org.apache.torque.ColumnImpl
-
Constructor.
- ColumnMap - Class in org.apache.torque.map
-
ColumnMap is used to model a column of a table in a database.
- ColumnMap(String, TableMap) - Constructor for class org.apache.torque.map.ColumnMap
-
Constructor.
- ColumnPair(ForeignKeyMap, ColumnMap, String) - Constructor for class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Constructor.
- ColumnPair(ForeignKeyMap, ColumnMap, ColumnMap) - Constructor for class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Constructor.
- ColumnValues - Class in org.apache.torque.util
-
A class containing values for database columns.
- ColumnValues() - Constructor for class org.apache.torque.util.ColumnValues
-
Constructor with no contained column values.
- ColumnValues(String) - Constructor for class org.apache.torque.util.ColumnValues
-
Constructor with no contained column values.
- ColumnValues(Map<Column, JdbcTypedValue>) - Constructor for class org.apache.torque.util.ColumnValues
-
Constructor.
- ColumnValues(Map<Column, JdbcTypedValue>, String) - Constructor for class org.apache.torque.util.ColumnValues
-
Constructor.
- CombinedPreparedStatementPart - Class in org.apache.torque.sql.whereclausebuilder
-
A PreparedStatementPart which consists of a list of other PreparedStatementParts.
- CombinedPreparedStatementPart() - Constructor for class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Constructor.
- CombinedPreparedStatementPart(PreparedStatementPart) - Constructor for class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Constructor.
- ComboKey - Class in org.apache.torque.om
-
This class can be used as an ObjectKey to uniquely identify an object within an application where the key consists of multiple entities (such a String[] representing a multi-column primary key).
- ComboKey() - Constructor for class org.apache.torque.om.ComboKey
-
Initializes the internal key value to
null
. - ComboKey(String) - Constructor for class org.apache.torque.om.ComboKey
-
Creates an ComboKey and set its internal representation
- ComboKey(ComboKey) - Constructor for class org.apache.torque.om.ComboKey
-
Creates a ComboKey that is equivalent to key.
- ComboKey(SimpleKey<?>[]) - Constructor for class org.apache.torque.om.ComboKey
-
Creates an ComboKey and set its internal representation
- commit() - Method in class org.apache.torque.util.TorqueConnectionImpl
- commit(Connection) - Static method in class org.apache.torque.util.Transaction
-
Commit a transaction and close the connection.
- commit(Connection) - Method in interface org.apache.torque.util.TransactionManager
-
Commit a transaction and close the connection.
- commit(Connection) - Method in class org.apache.torque.util.TransactionManagerImpl
-
Commit a transaction and close the connection.
- compareTo(Object) - Method in class org.apache.torque.om.NumberKey
- compareTo(Object) - Method in class org.apache.torque.om.ObjectKey
-
Implements the compareTo method.
- CompositeMapper - Class in org.apache.torque.om.mapper
-
Uses a list of mappers to map a database record to a list of objects.
- CompositeMapper() - Constructor for class org.apache.torque.om.mapper.CompositeMapper
- configure(Configuration) - Method in class org.apache.torque.avalon.TorqueComponent
- CONNECTION_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"connection" Key for the configuration
- ConstraintViolationException - Exception in org.apache.torque
-
This exception is thrown if a database operation violates a database constraint, e.g.
- ConstraintViolationException(String, Throwable) - Constructor for exception org.apache.torque.ConstraintViolationException
-
Constructs a new
ConstraintViolationException
with specified detail message and nestedThrowable
. - ConstraintViolationException(Throwable) - Constructor for exception org.apache.torque.ConstraintViolationException
-
Constructs a new
ConstraintViolationException
with specified nestedThrowable
. - containsColumn(String) - Method in class org.apache.torque.map.TableMap
-
Does this table contain the specified column?
- containsColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
-
Does this table contain the specified column?
- containsKey(Object) - Method in class org.apache.torque.util.ColumnValues
- containsKey(Object) - Method in class org.apache.torque.util.ListOrderedMapCI
-
Test if the key exists in the mapping.
- containsObjectColumn() - Method in class org.apache.torque.map.TableMap
-
Returns true if this tableMap contains a column with object data.
- containsSqlExpression(Column) - Method in class org.apache.torque.util.UniqueColumnList
-
Checks if this list already contains a column with the same SQL expression.
- containsTable(String) - Method in class org.apache.torque.map.DatabaseMap
-
Does this database contain this specific table?
- containsTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
-
Does this database contain this specific table?
- containsValue(Object) - Method in class org.apache.torque.util.ColumnValues
- contextualize(Context) - Method in class org.apache.torque.avalon.TorqueComponent
- copyFrom(DatabaseMap) - Method in class org.apache.torque.map.DatabaseMap
-
Copy all settings except the database from another database map.
- correctBooleans(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.
- correctBooleans(ColumnValues) - Method in class org.apache.torque.util.BasePeerImpl
-
Checks all columns in the criteria to see whether booleanchar and booleanint columns are queried with a boolean.
- count(Criteria) - Method in class org.apache.torque.util.CountHelper
-
The COUNT function returns the number of rows in a query.
- count(Criteria, String) - Method in class org.apache.torque.util.CountHelper
-
Returns the number of rows in a query.
- count(Criteria, Connection) - Method in class org.apache.torque.util.CountHelper
-
The COUNT function returns the number of rows in a query.
- count(Criteria, Connection, String, TableMap) - Method in class org.apache.torque.util.CountHelper
-
Returns the number of rows in a query.
- count(Criteria, Connection, Column) - Method in class org.apache.torque.util.CountHelper
-
Returns the number of rows in a query.
- count(Criteria, Column) - Method in class org.apache.torque.util.CountHelper
-
Returns the number of rows in a query.
- count(TableMap) - Method in class org.apache.torque.util.CountHelper
-
Counts all rows in a table.
- count(TableMap, Connection) - Method in class org.apache.torque.util.CountHelper
-
Counts all rows in a table.
- Count - Class in org.apache.torque.util.functions
-
SQL99 Standard count function.
- Count(String) - Constructor for class org.apache.torque.util.functions.Count
-
Construct an COUNT function class with an SQL expression to count.
- Count(Column) - Constructor for class org.apache.torque.util.functions.Count
-
Construct an COUNT function class with the column to count.
- Count(Column, boolean) - Constructor for class org.apache.torque.util.functions.Count
-
Construct an COUNT function class with the column to count and possibly a distinct modifier.
- CountHelper - Class in org.apache.torque.util
-
Counts entries matching a criteria.
- CountHelper() - Constructor for class org.apache.torque.util.CountHelper
- create(String) - Static method in class org.apache.torque.adapter.AdapterFactory
-
Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key.
- create(String, String) - Static method in class org.apache.torque.adapter.AdapterFactory
-
Creates a new instance of the Torque database adapter associated with the specified JDBC driver or adapter key and the class defined.
- create(Adapter, String) - Static method in class org.apache.torque.oid.IDGeneratorFactory
-
Factory method which instantiates
IdGenerator
implementations based on the return value of the provided adapter'sAdapter.getIDMethodType()
method. - createAndRegisterIdBroker() - Method in class org.apache.torque.Database
-
Creates the IDBroker for this Database and registers it with Torque.
- createArrayOf(String, Object[]) - Method in class org.apache.torque.util.TorqueConnectionImpl
- createBlob() - Method in class org.apache.torque.util.TorqueConnectionImpl
- createClob() - Method in class org.apache.torque.util.TorqueConnectionImpl
- createNClob() - Method in class org.apache.torque.util.TorqueConnectionImpl
- createSQLXML() - Method in class org.apache.torque.util.TorqueConnectionImpl
- createStatement() - Method in class org.apache.torque.util.TorqueConnectionImpl
- createStatement(int, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- createStatement(int, int, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- createStruct(String, Object[]) - Method in class org.apache.torque.util.TorqueConnectionImpl
- Criteria - Class in org.apache.torque.criteria
-
Encapsulates conditions to access rows in database tables.
- Criteria() - Constructor for class org.apache.torque.criteria.Criteria
-
Constructor.
- Criteria(String) - Constructor for class org.apache.torque.criteria.Criteria
-
Constructor with the database name as parameter..
- Criteria(Criteria) - Constructor for class org.apache.torque.criteria.Criteria
-
Copy-constructor.
- Criterion - Class in org.apache.torque.criteria
-
Describes one or more where clause parts in the Criteria.
- Criterion(Object, Object) - Constructor for class org.apache.torque.criteria.Criterion
-
Create a new instance without verbatim sql, using equals as comparison operator.
- Criterion(Object, Object, SqlEnum) - Constructor for class org.apache.torque.criteria.Criterion
-
Create a new instance without verbatim sql.
- Criterion(Object, Object, SqlEnum, String, Object[]) - Constructor for class org.apache.torque.criteria.Criterion
-
Create a new instance.
- Criterion(Criterion) - Constructor for class org.apache.torque.criteria.Criterion
-
Creates a shallow copy of the given Criterion.
- CURRENT_DATE - Static variable in class org.apache.torque.criteria.Criteria
-
"CURRENT_DATE" ANSI SQL function
- CURRENT_DATE - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "CURRENT_DATE".
- CURRENT_TIME - Static variable in class org.apache.torque.criteria.Criteria
-
"CURRENT_TIME" ANSI SQL function
- CURRENT_TIME - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "CURRENT_TIME".
- CURRENT_TIMESTAMP - Static variable in class org.apache.torque.criteria.Criteria
-
"CURRENT_TIMESTAMP" ANSI SQL function
- CURRENT_TIMESTAMP - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "CURRENT_TIMESTAMP".
- CurrentDateTimePsPartBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
A WhereClausePsPartBuilder which handles
SqlEnum.CURRENT_DATE
andSqlEnum.CURRENT_TIME
. - CurrentDateTimePsPartBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.CurrentDateTimePsPartBuilder
D
- Database - Class in org.apache.torque
-
Bundles all information about a database.
- DATABASE_KEY - Static variable in class org.apache.torque.Torque
-
The prefix for configuring the database adapters and the default database.
- DatabaseMap - Class in org.apache.torque.map
-
DatabaseMap is used to model a database.
- DatabaseMap(Database) - Constructor for class org.apache.torque.map.DatabaseMap
-
Constructs a new DatabaseMap.
- databaseName - Variable in class org.apache.torque.oid.AbstractIdGenerator
-
The internal name of the Database that this Generator is connected to.
- DATASOURCE_KEY - Static variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Key for the configuration which contains properties for a DataSource which should be bound into jndi.
- DataSourceFactory - Interface in org.apache.torque.dsfactory
-
A factory that returns a DataSource.
- DateKey - Class in org.apache.torque.om
-
This class can be used as an ObjectKey to uniquely identify an object within an application where the id is a Date.
- DateKey() - Constructor for class org.apache.torque.om.DateKey
-
Initializes the internal key value to
null
. - DateKey(String) - Constructor for class org.apache.torque.om.DateKey
-
Creates an DateKey and set its internal representation
- DateKey(Date) - Constructor for class org.apache.torque.om.DateKey
-
Creates an DateKey and set its internal representation
- DateKey(DateKey) - Constructor for class org.apache.torque.om.DateKey
-
Creates a DateKey that is equivalent to key.
- DateMapper - Class in org.apache.torque.om.mapper
-
Maps a database record to a java.util.Date.
- DateMapper() - Constructor for class org.apache.torque.om.mapper.DateMapper
-
Constructs a DateMapper with an offset of 0.
- DateMapper(int) - Constructor for class org.apache.torque.om.mapper.DateMapper
-
Constructs a DateMapper with the given offset.
- DeadlockException - Exception in org.apache.torque
-
This exception is thrown if the database detects a deadlock.
- DeadlockException(String, Throwable) - Constructor for exception org.apache.torque.DeadlockException
-
Constructs a new
DeadlockException
with specified detail message and nestedThrowable
. - DeadlockException(Throwable) - Constructor for exception org.apache.torque.DeadlockException
-
Constructs a new
DeadlockException
with specified nestedThrowable
. - DEFAULT_CONNECTION_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"defaults.connection" Key for the configuration
- DEFAULT_KEY - Static variable in class org.apache.torque.Torque
-
The key used to configure the name of the default database.
- DEFAULT_MEMORY_LIMIT_PAGES - Static variable in class org.apache.torque.util.LargeSelect
-
The default value for the maximum number of pages of data to be retained in memory.
- DEFAULT_PAGE_PROGRESS_TEXT_PATTERN - Static variable in class org.apache.torque.util.LargeSelect
-
default MessageFormat pattern for the page progress text
- DEFAULT_POOL_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"defaults.pool" Key for the configuration
- DEFAULT_RECORD_PROGRESS_TEXT_PATTERN - Static variable in class org.apache.torque.util.LargeSelect
-
default MessageFormat pattern for the record progress text
- DEFAULT_SCHEMA_KEY - Static variable in class org.apache.torque.Torque
-
default schema name for the configuration
- DEFAULTS_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"defaults" Key for the configuration
- DEFAULTS_KEY - Static variable in class org.apache.torque.Torque
-
"defaults" Key for the configuration
- DELETE - org.apache.torque.sql.Query.Type
-
The instance contains the parts of a delete statement.
- DerbyAdapter - Class in org.apache.torque.adapter
-
This is used to connect to an embedded Apache Derby Database using the supplied JDBC driver.
- DerbyAdapter() - Constructor for class org.apache.torque.adapter.DerbyAdapter
-
Empty constructor.
- DESC - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "DESC".
- dispose() - Method in class org.apache.torque.avalon.TorqueComponent
- dispose() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Disposes of the manager.
- DISTINCT - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- DISTINCT - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "DISTINCT ".
- doDelete(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Deletes rows from a database table.
- doDelete(Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Deletes rows from a table.
- doDelete(ObjectKey<?>) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Deletes a row in the database.
- doDelete(ObjectKey<?>, Connection) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Deletes a row in the database.
- doInsert(Column[], Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes a insert into...select statement.
- doInsert(Column[], Criteria, String) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes a insert into...select statement.
- doInsert(Column[], Criteria, String, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes a insert into...select statement.
- doInsert(Column[], Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes a insert into...select statement.
- doInsert(ColumnValues) - Method in class org.apache.torque.util.BasePeerImpl
-
Inserts a record into a database table.
- doInsert(ColumnValues, Connection) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Method to do inserts.
- doInsert(ColumnValues, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Inserts a record into a database table.
- doInsert(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Method to do inserts
- doInsert(T, Connection) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Method to do inserts.
- doSelect(String) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(String, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(String, RecordMapper<TT>, String) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(String, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects objects from a database.
- doSelect(Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects objects from a database within a transaction.
- doSelect(Criteria, RecordMapper<TT>) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelect(Criteria, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Performs a SQL
select
using a PreparedStatement. - doSelect(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Selects objects from the database which have the same content as the passed object.
- doSelectAsStream(String, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelectAsStream(String, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects rows from a database an maps them to objects.
- doSelectAsStream(Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects objects from a database within a transaction.
- doSelectAsStream(Criteria, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Performs a SQL
select
using a PreparedStatement. - doSelectSingleRecord(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects at most one object from a database.
- doSelectSingleRecord(Criteria, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects at most one object from a database within a transaction.
- doSelectSingleRecord(Criteria, RecordMapper<TT>) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects at most a single row from a database an maps them to objects.
- doSelectSingleRecord(Criteria, RecordMapper<TT>, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Selects at most a single row from a database an maps them to objects.
- doSelectSingleRecord(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Selects at most one object from the database which has the same content as the passed object.
- doubleValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as a double.
- doUpdate(Criteria, ColumnValues) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes an update against the database.
- doUpdate(Criteria, ColumnValues, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Executes an update against the database.
- doUpdate(ColumnValues) - Method in class org.apache.torque.util.BasePeerImpl
-
Convenience method used to update rows in the DB.
- doUpdate(ColumnValues, Connection) - Method in class org.apache.torque.util.BasePeerImpl
-
Convenience method used to update rows in the DB.
- doUpdate(T) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Updates an object in the database.
- doUpdate(T, Connection) - Method in class org.apache.torque.util.AbstractPeerImpl
-
Updates an object in the database.
- DRIVER_KEY - Static variable in interface org.apache.torque.adapter.Adapter
-
Key for the configuration which contains database drivers.
- DSFACTORY_KEY - Static variable in interface org.apache.torque.dsfactory.DataSourceFactory
-
Key for the configuration which contains DataSourceFactories
- dumpResults(Writer, List<?>, boolean) - Method in class org.apache.torque.util.SummaryHelper
-
Convenience method to dump a summary results list to an output writer in a semi-CSV format.
E
- enableLogging(Logger) - Method in class org.apache.torque.avalon.TorqueComponent
- entrySet() - Method in class org.apache.torque.util.ColumnValues
- EnumValueBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression containing an enum object.
- EnumValueBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.EnumValueBuilder
- EQUAL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- EQUAL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "=".
- equals(Object) - Method in class org.apache.torque.ColumnImpl
- equals(Object) - Method in class org.apache.torque.criteria.Criteria
-
Checks whether an object is equal to this Criteria.
- equals(Object) - Method in class org.apache.torque.criteria.Criterion
- equals(Object) - Method in class org.apache.torque.criteria.FromElement
- equals(Object) - Method in class org.apache.torque.criteria.Join
-
This method checks another Criteria.Join to see if they contain the same attributes.
- equals(Object) - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
- equals(Object) - Method in class org.apache.torque.criteria.SqlEnum
-
returns whether o is the same SqlEnum as this object.
- equals(Object) - Method in class org.apache.torque.manager.MethodCacheKey
- equals(Object) - Method in class org.apache.torque.om.ComboKey
-
This method will return true if the conditions for a looseEquals are met and in addition no parts of the keys are null.
- equals(Object) - Method in class org.apache.torque.om.ObjectKey
-
Returns whether this ObjekctKey is equal to another Object.
- equals(Object) - Method in class org.apache.torque.sql.OrderBy
-
Checks whether two orderBy are equal.
- equals(Object) - Method in class org.apache.torque.sql.WhereClauseExpression
- equals(Object) - Method in class org.apache.torque.util.JdbcTypedValue
- ESCAPE - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " ESCAPE ".
- escapeText() - Method in class org.apache.torque.adapter.AbstractAdapter
-
This method is for the SqlExpression.quoteAndEscape rules.
- escapeText() - Method in interface org.apache.torque.adapter.Adapter
-
Determines whether backslashes (\) should be escaped in explicit SQL strings.
- escapeText() - Method in class org.apache.torque.adapter.DerbyAdapter
-
Whether backslashes (\) should be escaped in explicit SQL strings.
- escapeText() - Method in class org.apache.torque.adapter.HsqldbAdapter
-
This method is for the SqlExpression.quoteAndEscape rules.
- escapeText() - Method in class org.apache.torque.adapter.MssqlAdapter
-
Determines whether backslashes (\) should be escaped in explicit SQL strings.
- escapeText() - Method in class org.apache.torque.adapter.OracleAdapter
-
This method is for the SqlExpression.quoteAndEscape rules.
- except(Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Creates a SQL EXCEPT between this Criteria and the passed other criteria.
- EXCEPT - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " EXCEPT ".
- EXCEPT_ALL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " EXCEPT ALL ".
- exceptAll(Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Creates a SQL EXCEPT between this Criteria and the passed other criteria.
- ExceptionMapper - Class in org.apache.torque.util
-
Translates Database Exceptions into TorqueExceptions.
- ExceptionMapper() - Constructor for class org.apache.torque.util.ExceptionMapper
- ExceptionMapperImpl - Class in org.apache.torque.util
-
Default implementation of the ExceptionMapper interface.
- ExceptionMapperImpl() - Constructor for class org.apache.torque.util.ExceptionMapperImpl
- excludeExprColumns() - Method in class org.apache.torque.util.SummaryHelper
-
Should the results include unnamed columns, e.g.
- executeStatement(String) - Method in class org.apache.torque.util.BasePeerImpl
-
Utility method which executes a given sql statement as prepared statement.
- executeStatement(String, String, List<JdbcTypedValue>) - Method in class org.apache.torque.util.BasePeerImpl
-
Utility method which executes a given sql statement as prepared statement.
- executeStatement(String, String, Map<String, JdbcTypedValue>) - Method in class org.apache.torque.util.BasePeerImpl
-
Utility method which executes a given sql statement as prepared statement.
- executeStatement(String, Connection, List<JdbcTypedValue>) - Method in class org.apache.torque.util.BasePeerImpl
-
Utility method which executes a given sql statement as prepared statement.
- executeStatement(String, Connection, Map<String, JdbcTypedValue>) - Method in class org.apache.torque.util.BasePeerImpl
-
Utility method which executes a given sql statement as prepared statement.
- executeStatement(String, List<JdbcTypedValue>) - Method in class org.apache.torque.util.BasePeerImpl
-
Utility method which executes a given sql statement as prepared statement.
- executeStatement(String, Map<String, JdbcTypedValue>) - Method in class org.apache.torque.util.BasePeerImpl
-
Utility method which executes a given sql statement as prepared statement.
- exists(String) - Method in class org.apache.torque.oid.IDBroker
F
- FACTORY_KEY - Static variable in interface org.apache.torque.dsfactory.DataSourceFactory
-
Key for the configuration which contains the fully qualified name of the factory implementation class
- floatValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as a float.
- ForeignKeyMap - Class in org.apache.torque.map
-
ForeignKeyMap is used to model a foreign key in a database.
- ForeignKeyMap(TableMap, String) - Constructor for class org.apache.torque.map.ForeignKeyMap
-
Constructor.
- ForeignKeyMap(TableMap, TableMap) - Constructor for class org.apache.torque.map.ForeignKeyMap
-
Constructor.
- ForeignKeyMap.ColumnPair - Class in org.apache.torque.map
-
A pair of local and Foreign column.
- forUpdate() - Method in class org.apache.torque.criteria.Criteria
-
Sets that FOR UPDATE clause should be added to the query.
- FromElement - Class in org.apache.torque.criteria
-
This class describes an Element in the From-part of a SQL clause.
- FromElement(String) - Constructor for class org.apache.torque.criteria.FromElement
-
Constructor with join type null and joinCondition null.
- FromElement(String, JoinType, String) - Constructor for class org.apache.torque.criteria.FromElement
-
Constructor.
- FromElement(String, JoinType, String, List<Object>) - Constructor for class org.apache.torque.criteria.FromElement
-
Constructor.
- FromElement(String, JoinType, PreparedStatementPart) - Constructor for class org.apache.torque.criteria.FromElement
-
Constructor.
- FUNCTION_DELIMITERS - Static variable in class org.apache.torque.sql.SqlBuilder
-
Delimiters for SQL functions.
G
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.AbstractAdapter
-
This method is used to generate the database specific query extension to limit the number of record returned.
- generateLimits(Query, long, int) - Method in interface org.apache.torque.adapter.Adapter
-
This method is used to generate the database specific query extension to limit the number of record returned.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.DerbyAdapter
-
Build Derby-style query with limit or offset.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.HsqldbAdapter
-
Generate a LIMIT limit OFFSET offset clause if offset > 0 or an LIMIT limit clause if limit is > 0 and offset is 0.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.MssqlAdapter
-
Modify a query to add limit and offset values for MSSQL.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.MysqlAdapter
-
Generate a LIMIT offset, limit clause if offset > 0 or an LIMIT limit clause if limit is > 0 and offset is 0.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.OracleAdapter
-
Build Oracle-style query with limit or offset.
- generateLimits(Query, long, int) - Method in class org.apache.torque.adapter.PostgresAdapter
-
Generate a LIMIT limit OFFSET offset clause if offset > 0 or an LIMIT limit clause if limit is > 0 and offset is 0.
- get(Serializable, String, Serializable...) - Method in class org.apache.torque.manager.MethodResultCache
-
Get an object from the method cache
- get(Serializable, String, Serializable...) - Method in class org.apache.torque.manager.NoOpMethodResultCache
- get(Object) - Method in class org.apache.torque.util.ColumnValues
- get(Object) - Method in class org.apache.torque.util.ListOrderedMapCI
-
Get the object associated with this key.
- getAdapter() - Method in class org.apache.torque.Database
-
Returns the adapter to this database.
- getAdapter(String) - Method in interface org.apache.torque.avalon.Torque
-
Returns database adapter for a specific connection pool.
- getAdapter(String) - Static method in class org.apache.torque.Torque
-
Returns the database adapter for a specific database name.
- getAdapter(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the database adapter for a specific database.
- getAggregates() - Method in class org.apache.torque.util.SummaryHelper
-
Get the order map list of aggregate functions to use in summarizing this table's informations.
- getAliases() - Method in class org.apache.torque.criteria.Criteria
-
Get the table aliases.
- getArgument(int) - Method in class org.apache.torque.util.functions.AbstractFunction
-
Return the object representation of the function parameter at the specified index.
- getArgument(int) - Method in class org.apache.torque.util.functions.AggregateFunction
- getArgument(int) - Method in interface org.apache.torque.util.functions.SQLFunction
-
Returns the function parameters at index i.
- getArgumentList() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Get the full list of function arguments
- getArguments() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Return all the parameters as an object array.
- getArguments() - Method in class org.apache.torque.util.functions.AggregateFunction
- getArguments() - Method in interface org.apache.torque.util.functions.SQLFunction
-
Return all the parameters as an object array.
- getAsColumns() - Method in class org.apache.torque.criteria.Criteria
-
Get the column aliases.
- getAutoCommit() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getByName(String) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Retrieves a field from the object by name.
- getByPeerName(String) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Retrieves a field from the object by name passed in as a String.
- getByPosition(int) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Retrieves a field from the object by position as specified in a database schema for example.
- getCatalog() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getClassName() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get the classname to instantiate for getInstance()
- getClassName() - Method in class org.apache.torque.map.InheritanceMap
-
Returns the class name for this InheritanceMap.
- getClientInfo() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getClientInfo(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
- getColumn() - Method in class org.apache.torque.map.InheritanceMap
-
Returns the column this inheritance map belongs to.
- getColumn() - Method in class org.apache.torque.sql.OrderBy
-
Returns the column to order by.
- getColumn() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the column to which this function is applied.
- getColumn() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Returns the column the function is applied to.
- getColumn() - Method in interface org.apache.torque.util.functions.SQLFunction
-
Returns the column to which this function is applied.
- getColumn(String) - Method in class org.apache.torque.map.TableMap
-
Get a ColumnMap for the named table.
- getColumnMap(Column, Criteria) - Static method in class org.apache.torque.map.MapHelper
-
Returns the column map for a column.
- getColumnName() - Method in interface org.apache.torque.Column
-
Returns the name of the database column (not prefixed by the table name).
- getColumnName() - Method in class org.apache.torque.ColumnImpl
-
Returns the column name.
- getColumnName() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of a column.
- getColumnName() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the column name.
- getColumnName() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Returns the column name.
- getColumns() - Method in class org.apache.torque.map.ForeignKeyMap
-
Returns the column pairs.
- getColumns() - Method in class org.apache.torque.map.TableMap
-
Get a ColumnMap[] of the columns in this table.
- getComparison() - Method in class org.apache.torque.criteria.Criterion
-
Get the comparison.
- getConfiguration() - Method in interface org.apache.torque.avalon.Torque
-
Get the configuration for this component.
- getConfiguration() - Static method in class org.apache.torque.Torque
-
Get the configuration for this component.
- getConfiguration() - Method in class org.apache.torque.TorqueInstance
-
Get the configuration for this component.
- getConjunction() - Method in class org.apache.torque.criteria.Criterion
-
Returns the conjunction for the parts of this criterion
- getConnection() - Method in interface org.apache.torque.avalon.Torque
-
This method returns a Connection from the default pool.
- getConnection() - Static method in class org.apache.torque.Torque
-
This method returns a Connection from the default pool.
- getConnection() - Method in class org.apache.torque.TorqueInstance
-
This method returns a Connection from the default pool.
- getConnection(String) - Method in interface org.apache.torque.avalon.Torque
- getConnection(String) - Static method in class org.apache.torque.Torque
-
This method returns a Connecton using the given database name.
- getConnection(String) - Method in class org.apache.torque.TorqueInstance
-
Returns a database connection to the database with the key
name
. - getConnection(String, String, String) - Method in interface org.apache.torque.avalon.Torque
-
This method returns a Connecton using the given parameters.
- getConnection(String, String, String) - Static method in class org.apache.torque.Torque
-
This method returns a Connecton using the given parameters.
- getConnection(String, String, String) - Method in class org.apache.torque.TorqueInstance
-
This method returns a Connection using the given parameters.
- getCurrentPageNumber() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the number of the current page.
- getCurrentPageResults() - Method in class org.apache.torque.util.LargeSelect
-
Provide access to the results from the current page.
- getCurrentPageSize() - Method in class org.apache.torque.util.LargeSelect
-
Provides a count of the number of rows to be displayed on the current page - for the last page this may be less than the configured page size.
- getDatabase(String) - Method in interface org.apache.torque.avalon.Torque
-
Returns the database for the key
databaseName
. - getDatabase(String) - Static method in class org.apache.torque.Torque
-
Returns the database for the given key.
- getDatabase(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the database for the key
databaseName
. - getDatabaseMap() - Method in interface org.apache.torque.avalon.Torque
-
Returns the default database map information.
- getDatabaseMap() - Method in class org.apache.torque.Database
-
Returns the database map for this database.
- getDatabaseMap() - Method in class org.apache.torque.map.TableMap
-
Get the DatabaseMap containing this TableMap.
- getDatabaseMap() - Static method in class org.apache.torque.Torque
-
Returns the default database map information.
- getDatabaseMap() - Method in class org.apache.torque.TorqueInstance
-
Returns the database map information for the default db.
- getDatabaseMap(String) - Method in interface org.apache.torque.avalon.Torque
-
Returns the database map information.
- getDatabaseMap(String) - Static method in class org.apache.torque.Torque
-
Returns the database map information for a given database.
- getDatabaseMap(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the database map information for the given database name.
- getDatabaseName() - Method in class org.apache.torque.util.BasePeerImpl
-
Get the database name for this instance.
- getDatabases() - Method in interface org.apache.torque.avalon.Torque
-
Returns a Map containing all Databases registered to Torque.
- getDatabases() - Static method in class org.apache.torque.Torque
-
Returns a Map containing all Databases registered to Torque.
- getDatabases() - Method in class org.apache.torque.TorqueInstance
-
Returns a Map containing all Databases registered to Torque.
- getDataSource() - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
- getDataSource() - Method in interface org.apache.torque.dsfactory.DataSourceFactory
- getDataSource() - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
- getDataSource() - Method in class org.apache.torque.dsfactory.PerUserPool2DataSourceFactory
- getDataSource() - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
-
Deprecated.
- getDataSource() - Method in class org.apache.torque.dsfactory.SharedPool2DataSourceFactory
- getDataSource() - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-
Deprecated.
- getDataSourceFactory() - Method in class org.apache.torque.Database
-
Returns the DataSourceFactory for this database.
- getDataSourceFactory(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the DataSourceFactory for the database with the name
name
. - getDbMap() - Method in class org.apache.torque.map.TableMap
-
Returns the database map for this table.
- getDbName() - Method in class org.apache.torque.criteria.Criteria
-
Get the Database name to be used for this criterion.
- getDbName() - Method in class org.apache.torque.util.ColumnValues
-
Returns the name of the database handle to use for connection opening.
- getDefault() - Method in class org.apache.torque.map.ColumnMap
-
A string representing the default value defined for this column.
- getDefaultDB() - Method in interface org.apache.torque.avalon.Torque
-
Returns the name of the default database.
- getDefaultDB() - Static method in class org.apache.torque.Torque
-
Returns the name of the default database.
- getDefaultDB() - Method in class org.apache.torque.TorqueInstance
-
Returns the name of the default database.
- getDescription() - Method in class org.apache.torque.map.ColumnMap
-
Returns the column description info.
- getDescription() - Method in class org.apache.torque.map.TableMap
-
Returns the table description info.
- getDisplayString() - Method in class org.apache.torque.sql.Query
-
Returns a String to display this query.
- getExtends() - Method in class org.apache.torque.map.InheritanceMap
-
Returns the ancestor class for the class described by this InheritanceMap.
- getFetchSize() - Method in class org.apache.torque.criteria.Criteria
-
Returns the JDBC statement fetch size to use for queries.
- getFetchSize() - Method in class org.apache.torque.sql.Query
-
Returns the JDBC statement fetch size to use for queries.
- getFirstRecordNoForPage() - Method in class org.apache.torque.util.LargeSelect
-
Provide the record number of the first row included on the current page.
- getForeign() - Method in class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Returns the foreign column of the pair.
- getForeignKeyMap() - Method in class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Returns the associated foreign key map.
- getForeignKeys() - Method in class org.apache.torque.map.TableMap
-
Get all foreign keys in the table..
- getForeignTable() - Method in class org.apache.torque.map.ForeignKeyMap
-
Returns the foreign table of the foreign key.
- getForeignTableName() - Method in class org.apache.torque.map.ForeignKeyMap
-
Returns name of the foreign table of the foreign key.
- getForUpdate() - Method in class org.apache.torque.sql.Query
-
Returns the FOR UPDATE clause which should be added to the query.
- getFromClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the from buffer in order to specify which tables are involved in this query.
- getFromElements() - Method in class org.apache.torque.criteria.Criteria
-
Get all elements in the from clause of the query.
- getFromExpression() - Method in class org.apache.torque.criteria.FromElement
-
Returns the fromExpression, which might e.g.
- getFullTableName() - Method in interface org.apache.torque.Column
-
Returns the table name prefixed with the schema name if it exists.
- getFullTableName() - Method in class org.apache.torque.ColumnImpl
-
Returns the table name prefixed with the schema name if it exists.
- getFullTableName() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of the table this column is in.
- getFullTableName() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the table name prefixed with the schema name if it exists from the function argument(s).
- getFullTableName() - Method in class org.apache.torque.util.functions.AggregateFunction
- getFullTableName(String, String) - Static method in class org.apache.torque.sql.SqlBuilder
-
Fully qualify a table name with an optional schema reference.
- getFullyQualifiedTableName() - Method in class org.apache.torque.map.TableMap
-
Returns the fully qualified table name, if available.
- getFunction() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Get the function name to use, e.g.
- getGroupByClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the group by columns buffer in order to specify which columns are used to group the results of the query.
- getGroupByColumns() - Method in class org.apache.torque.criteria.Criteria
-
Get all group by columns.
- getGroupByColumns() - Method in class org.apache.torque.util.SummaryHelper
- getGroupKey() - Method in class org.apache.torque.manager.MethodCacheKey
-
Return the group key
- getHaving() - Method in class org.apache.torque.criteria.Criteria
-
Get Having Criterion.
- getHaving() - Method in class org.apache.torque.sql.Query
-
Get the having clause.
- getHoldability() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getId(Connection, Object, RecordMapper<T>) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
-
Returns an id as a BigDecimal.
- getIdAsBigDecimal(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
-
Returns an id as a BigDecimal.
- getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
- getIdAsInt(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
-
Returns an id as a primitive int.
- getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
- getIdAsLong(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
-
Returns an id as a primitive long.
- getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the last ID used by this connection.
- getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
-
Returns an id as a String.
- getIdAsString(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
-
Returns an id as a String.
- getIdBroker() - Method in class org.apache.torque.Database
-
Get the IDBroker for this database.
- getIdGenerator(IDMethod) - Method in class org.apache.torque.Database
-
Returns the IdGenerator of the given type for this Database.
- getIdMethod(String) - Static method in enum org.apache.torque.adapter.IDMethod
-
Returns the id method for a id method name.
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns SQL used to get the most recently inserted primary key.
- getIDMethodSQL(Object) - Method in interface org.apache.torque.adapter.Adapter
-
Returns SQL used to get the most recently inserted primary key.
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DerbyAdapter
-
Returns the SQL to get the database key of the last row inserted, which in this case is
VALUES IDENTITY_VAL_LOCAL()
. - getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.HsqldbAdapter
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.MssqlAdapter
-
Returns the last value from an identity column (available on a per-session basis from the global variable
@@identity
). - getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.MysqlAdapter
-
Returns the SQL to get the database key of the last row inserted, which in this case is
SELECT LAST_INSERT_ID()
. - getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.NoneAdapter
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.OracleAdapter
- getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.PostgresAdapter
- getIDMethodType() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns the constant from the
IDMethod
interface denoting which type of primary key generation method this type of RDBMS uses. - getIDMethodType() - Method in interface org.apache.torque.adapter.Adapter
-
Returns the constant from the
IDMethod
interface denoting which type of primary key generation method this type of RDBMS uses. - getIDMethodType() - Method in class org.apache.torque.adapter.DerbyAdapter
- getIDMethodType() - Method in class org.apache.torque.adapter.HsqldbAdapter
- getIDMethodType() - Method in class org.apache.torque.adapter.MssqlAdapter
- getIDMethodType() - Method in class org.apache.torque.adapter.MysqlAdapter
- getIDMethodType() - Method in class org.apache.torque.adapter.NoneAdapter
- getIDMethodType() - Method in class org.apache.torque.adapter.OracleAdapter
- getIDMethodType() - Method in class org.apache.torque.adapter.PostgresAdapter
- getIdSql(Object) - Method in class org.apache.torque.oid.AbstractIdGenerator
-
Returns the SQL to retrieve the next id.
- getIdTable() - Method in class org.apache.torque.Database
-
Get the ID table for this database.
- getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
- getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.NoOpMethodResultCache
- getInheritance() - Method in class org.apache.torque.map.ColumnMap
-
Gets the inheritance type used.
- getInheritanceMap(String) - Method in class org.apache.torque.map.ColumnMap
-
Get the inheritance map with the specified key.
- getInheritanceMaps() - Method in class org.apache.torque.map.ColumnMap
-
Get the inheritance information associated with this column,
- getInstance() - Static method in class org.apache.torque.Torque
-
Retrieves the single
TorqueInstance
used by this class. - getInstance() - Static method in class org.apache.torque.util.ExceptionMapper
-
Returns the current instance of the Exception mapper to use.
- getInterestedFields() - Method in interface org.apache.torque.manager.CacheListener
-
Get the list of fields we are listening for
- getJavaName() - Method in class org.apache.torque.map.ColumnMap
-
Gets the Java Name for this column as defined in XML or created by generator code.
- getJavaName() - Method in class org.apache.torque.map.TableMap
-
Get the Java name of the table as defined in XML.
- getJavaNamingMethod() - Method in class org.apache.torque.map.ColumnMap
-
Returns the Java naming method for this column.
- getJavaType() - Method in class org.apache.torque.map.ColumnMap
-
Returns the java type of this column.
- getJdbcType() - Method in class org.apache.torque.om.BooleanKey
-
Returns the JDBC type of the key as defined in
java.sql.Types
. - getJdbcType() - Method in class org.apache.torque.om.ComboKey
-
Returns the JDBC type of the key as defined in
java.sql.Types
. - getJdbcType() - Method in class org.apache.torque.om.DateKey
-
Returns the JDBC type of the key as defined in
java.sql.Types
. - getJdbcType() - Method in class org.apache.torque.om.NumberKey
-
Returns the JDBC type of the key as defined in
java.sql.Types
. - getJdbcType() - Method in class org.apache.torque.om.ObjectKey
-
Returns the JDBC type of the key as defined in
java.sql.Types
. - getJdbcType() - Method in class org.apache.torque.om.StringKey
-
Returns the JDBC type of the key as defined in
java.sql.Types
. - getJdbcType() - Method in class org.apache.torque.util.JdbcTypedValue
-
Returns the JDBC type as in
java.sql.Types
. - getJoinCondition() - Method in class org.apache.torque.criteria.FromElement
-
Returns the join condition.
- getJoinCondition() - Method in class org.apache.torque.criteria.Join
- getJoins() - Method in class org.apache.torque.criteria.Criteria
-
Get the List of Joins.
- getJoinType() - Method in class org.apache.torque.criteria.FromElement
-
Returns the join type.
- getJoinType() - Method in class org.apache.torque.criteria.Join
- getKey() - Method in class org.apache.torque.map.InheritanceMap
-
Returns the key by which this inheritanceMap is activated.
- getLastRecordNoForPage() - Method in class org.apache.torque.util.LargeSelect
-
Provide the record number of the last row included on the current page.
- getLeftTable() - Method in class org.apache.torque.criteria.Join
- getLimit() - Method in class org.apache.torque.criteria.Criteria
-
Get the upper limit for the number of records returned by a query.
- getLimit() - Method in class org.apache.torque.sql.Query
-
Get the limit number.
- getLocal() - Method in class org.apache.torque.map.ForeignKeyMap.ColumnPair
-
Returns the local column of the pair.
- getLogger() - Method in class org.apache.torque.avalon.TorqueComponent
-
Convenience method to provide the Avalon logger the way AbstractLogEnabled does.
- getLValue() - Method in class org.apache.torque.criteria.Criterion
-
Get the left hand side value of the comparison.
- getLValue() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the value on the left hand side of the operator of the expression.
- getManager(String) - Method in interface org.apache.torque.avalon.Torque
-
This method returns a Manager for the given name.
- getManager(String) - Static method in class org.apache.torque.Torque
-
This method returns a Manager for the given name.
- getManager(String) - Method in class org.apache.torque.TorqueInstance
-
This method returns a Manager for the given name.
- getManager(String, String) - Method in interface org.apache.torque.avalon.Torque
-
This methods returns either the Manager from the configuration file, or the default one provided by the generated code.
- getManager(String, String) - Static method in class org.apache.torque.Torque
-
This methods returns either the Manager from the configuration file, or the default one provided by the generated code.
- getManager(String, String) - Method in class org.apache.torque.TorqueInstance
-
This methods returns either the Manager from the configuration file, or the default one provided by the generated code.
- getManagerClass() - Method in class org.apache.torque.map.TableMap
-
Returns the manager class for this table.
- getMemoryPageLimit() - Method in class org.apache.torque.util.LargeSelect
-
Retrieves the multiplier that will be used to compute the memory limit when a constructor with no memory page limit is used - the memory limit will be this number multiplied by the page size.
- getMetaData() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getMethodResultCache() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get the object usable for result caching
- getName() - Method in class org.apache.torque.Database
-
Rturns the name of the database.
- getName() - Method in class org.apache.torque.map.DatabaseMap
-
The name of the database to which this database map belongs.
- getName() - Method in class org.apache.torque.map.TableMap
-
Get the name of the Table, not prefixed by a possible schema name
- getNetworkTimeout() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getNextIds(String, int) - Method in class org.apache.torque.oid.IDBroker
-
This method returns x number of ids for the given table.
- getNextIds(String, int, Connection) - Method in class org.apache.torque.oid.IDBroker
-
This method returns x number of ids for the given table.
- getNextResults() - Method in class org.apache.torque.util.LargeSelect
-
Gets the next page of rows.
- getNextResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
-
Indicates if further result pages are available.
- getNumberOfCompareOperands() - Method in class org.apache.torque.criteria.SqlEnum
-
Returns the number of operands, if the SqlEnum is a comparison operator.
- getObjectOrColumnPsPartBuilder() - Static method in class org.apache.torque.sql.whereclausebuilder.AbstractWhereClausePsPartBuilder
-
Returns the ObjectPsPartBuilder to use for single values or columns.
- getOffset() - Method in class org.apache.torque.criteria.Criteria
-
Get how many records should be skipped at the start of the result.
- getOffset() - Method in class org.apache.torque.sql.Query
-
Get the offset number.
- getOMClass() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get the Class instance
- getOMClass() - Method in class org.apache.torque.map.TableMap
-
Returns the OM class for this table.
- getOMInstance() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get a fresh instance of an om
- getOMInstance(ObjectKey<?>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Return an instance of an om based on the id
- getOMInstance(ObjectKey<?>, boolean) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Return an instance of an om based on the id
- getOMs(List<? extends ObjectKey<?>>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Gets a list of om's based on id's.
- getOMs(List<? extends ObjectKey<?>>, boolean) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Gets a list of om's based on id's.
- getOMs(ObjectKey<?>...) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Gets a list of om's based on id's.
- getOperator() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the value on the operator of the expression.
- getOption(String) - Method in class org.apache.torque.map.OptionSupport
-
Returns the value of an option.
- getOptions() - Method in class org.apache.torque.map.OptionSupport
-
Returns an unmodifiable map of all options.
- getOrCreateDatabase(String) - Method in interface org.apache.torque.avalon.Torque
-
Returns the database for the key
databaseName
. - getOrCreateDatabase(String) - Static method in class org.apache.torque.Torque
-
Returns the database for the key
databaseName
. - getOrCreateDatabase(String) - Method in class org.apache.torque.TorqueInstance
-
Returns the database for the key
databaseName
. - getOrder() - Method in class org.apache.torque.sql.OrderBy
-
Returns the order to order by (ASC or DESC).
- getOrderByClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the order by columns buffer in order to specify which columns are used to sort the results of the query.
- getOrderByColumns() - Method in class org.apache.torque.criteria.Criteria
-
Get all order by columns.
- getPage(int) - Method in class org.apache.torque.util.LargeSelect
-
Retrieve a specific page, if it exists.
- getPageProgressText() - Method in class org.apache.torque.util.LargeSelect
-
A convenience method that provides text showing progress through the selected rows on a page basis.
- getPageProgressTextPattern() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the MessageFormat pattern for the page progress The default is
- getPageSize() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the page size.
- getPaginated() - Method in class org.apache.torque.util.LargeSelect
-
Provide an indication of whether or not paging of results will be required.
- getPartOperator() - Method in class org.apache.torque.sql.Query
-
Returns the operator connecting the query parts.
- getParts() - Method in class org.apache.torque.criteria.Criterion
-
Returns the parts of which this criterion consists.
- getParts() - Method in class org.apache.torque.sql.Query
-
Returns the parts of this query.
- getPeerClass() - Method in class org.apache.torque.map.TableMap
-
Returns the Peer Class for this table.
- getPeerInstance(Class<T>) - Static method in class org.apache.torque.Torque
-
This method returns a PeerImpl for the given class.
- getPeerInstance(Class<T>) - Method in class org.apache.torque.TorqueInstance
-
This method returns a PeerImpl for the given class.
- getPosition() - Method in class org.apache.torque.map.ColumnMap
-
Returns the position (one based) of this column in the table.
- getPostLimit() - Method in class org.apache.torque.sql.Query
-
Get the Post limit String.
- getPrefix() - Method in class org.apache.torque.map.TableMap
-
Get table prefix name.
- getPreLimit() - Method in class org.apache.torque.sql.Query
-
Get the Pre limit String.
- getPreparedStatementReplacements() - Method in class org.apache.torque.criteria.Criterion
-
Returns the prepared statement replacements for a verbatim sql condition.
- getPreparedStatementReplacements() - Method in class org.apache.torque.criteria.FromElement
-
Returns the replacements for prepared statement placeholders in the fromExpression.
- getPreparedStatementReplacements() - Method in interface org.apache.torque.criteria.PreparedStatementPart
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.objectbuilder.PreparedStatementPartForSubselect
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.Query
-
Returns all preparedStatementReplacements in the query.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.whereclausebuilder.NoReplacementsPreparedStatementPart
-
Returns the empty list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.whereclausebuilder.OnlyReplacementsPreparedStatementPart
-
Returns the list of prepared statement replacements.
- getPreparedStatementReplacements() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the values for the placeholders in the verbatim sql condition.
- getPreviousResults() - Method in class org.apache.torque.util.LargeSelect
-
Gets the previous page of rows.
- getPreviousResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
-
Indicates if previous results pages are available.
- getPrimaryKey() - Method in class org.apache.torque.map.TableMap
-
Returns the single primary key of this table, if it exists
- getPrimaryKey() - Method in interface org.apache.torque.om.ObjectModel
-
getter for the object primaryKey.
- getPrimaryKeyMethod() - Method in class org.apache.torque.map.TableMap
-
Get the method used to generate primary keys for this table.
- getPrimaryKeyMethodInfo(IDMethod) - Method in class org.apache.torque.map.TableMap
-
Get the information used to generate a primary key
- getQuantity(String) - Method in class org.apache.torque.oid.IDBroker
-
Returns the quantity value for a table.
- getRecordMapper() - Method in class org.apache.torque.util.BasePeerImpl
-
Get the record mapper for this instance.
- getRecordProgressText() - Method in class org.apache.torque.util.LargeSelect
-
A convenience method that provides text showing progress through the selected rows on a record basis.
- getRecordProgressTextPattern() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the MessageFormat pattern for the record progress The default is
- getRegion() - Method in class org.apache.torque.manager.AbstractBaseManager
-
Get the cache region used for JCS.
- getRightTable() - Method in class org.apache.torque.criteria.Join
- getRowcount() - Method in class org.apache.torque.sql.Query
-
Get the rowcount number.
- getRValue() - Method in class org.apache.torque.criteria.Criterion
-
Get the right hand side value of the comparison.
- getRValue() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the value on the right hand side of the operator of the expression.
- getScale() - Method in class org.apache.torque.map.ColumnMap
-
Gets the scale set for this column (if any) as set in the XML database definition.
- getSchema() - Method in class org.apache.torque.Database
-
Returns the database schema for this Database.
- getSchema() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getSchema(String) - Method in interface org.apache.torque.avalon.Torque
-
This method returns the current schema for a database connection
- getSchema(String) - Static method in class org.apache.torque.Torque
-
This method returns the current schema for a database connection
- getSchema(String) - Method in class org.apache.torque.TorqueInstance
-
This method returns the current schema for a database connection
- getSchemaName() - Method in interface org.apache.torque.Column
-
Returns the name of any fixed schema prefix for the column's table (if any).
- getSchemaName() - Method in class org.apache.torque.ColumnImpl
-
Returns the name of any fixed schema prefix for the column's table (if any).
- getSchemaName() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of the schema of the table this column is in.
- getSchemaName() - Method in class org.apache.torque.map.TableMap
-
Get the schema to which the table belongs to.
- getSchemaName() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the name of any fixed schema prefix for the column's table (if any) from the function argument(s).
- getSchemaName() - Method in class org.apache.torque.util.functions.AggregateFunction
- getSearchParam(String) - Method in class org.apache.torque.util.LargeSelect
-
Retrieve a search parameter.
- getSearchParam(String, String) - Method in class org.apache.torque.util.LargeSelect
-
Retrieve a search parameter.
- getSelectClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the columns buffer in order to specify which columns are returned in this query.
- getSelectColumns() - Method in class org.apache.torque.criteria.Criteria
-
Return all select columns.
- getSelectModifiers() - Method in class org.apache.torque.criteria.Criteria
-
Return all select modifiers.
- getSelectModifiers() - Method in class org.apache.torque.sql.Query
-
Retrieve the modifier buffer in order to add modifiers to this query.
- getSetCriteriaParts() - Method in class org.apache.torque.criteria.Criteria
-
Return the parts of the criteria which compose a query using set operations (union, except, intersect).
- getSetOperator() - Method in class org.apache.torque.criteria.Criteria
-
Returns the operator between the set operations.
- getSize() - Method in class org.apache.torque.map.ColumnMap
-
The "precision" value from the XML size="<precision>[,<scale>]" attribute.
- getSql() - Method in class org.apache.torque.criteria.Criterion
-
Returns the verbatim sql for this condition.
- getSql() - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Returns the SQL of the part.
- getSql() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns the verbatim sql for this expression, if any.
- getSqlAsString() - Method in interface org.apache.torque.criteria.PreparedStatementPart
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.sql.objectbuilder.PreparedStatementPartForSubselect
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.sql.whereclausebuilder.CombinedPreparedStatementPart
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.sql.whereclausebuilder.NoReplacementsPreparedStatementPart
-
Returns the SQL of the part as String.
- getSqlAsString() - Method in class org.apache.torque.sql.whereclausebuilder.OnlyReplacementsPreparedStatementPart
-
returns the empty sql.
- getSqlExpression() - Method in interface org.apache.torque.Column
-
Returns the SQL expression for the column, qualified by the table name but not by the schema name.
- getSqlExpression() - Method in class org.apache.torque.ColumnImpl
-
Returns the SQL expression for the column, qualified by the table name but not by the schema name.
- getSqlExpression() - Method in class org.apache.torque.map.ColumnMap
-
Returns the SQL expression for the fully qualified column name.
- getSqlExpression() - Method in class org.apache.torque.util.functions.AbstractFunction
-
This should return the SQL string that can be used when constructing the query.
- getSqlExpression() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Generate the SQL for this function.
- getSqlExpression() - Method in class org.apache.torque.util.JdbcTypedValue
-
Returns the sqlExpression to use instead of the value.
- getStringDelimiter() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns the character used to indicate the beginning and end of a piece of text used in a SQL statement (generally a single quote).
- getStringDelimiter() - Method in interface org.apache.torque.adapter.Adapter
-
Returns the character used to indicate the beginning and end of a piece of text used in a SQL statement (generally a single quote).
- getSubselectForAlias(String) - Method in class org.apache.torque.criteria.Criteria
-
Returns the subselect associated with an alias.
- getTable() - Method in class org.apache.torque.map.ColumnMap
-
Returns the map for the table this column belongs to.
- getTable() - Method in class org.apache.torque.map.ForeignKeyMap
-
Returns the local table of the foreign key.
- getTable(String) - Method in class org.apache.torque.map.DatabaseMap
-
Get a TableMap for the table by name.
- getTableForAlias(String) - Method in class org.apache.torque.criteria.Criteria
-
Returns the database table name associated with an alias.
- getTableMap() - Method in class org.apache.torque.util.BasePeerImpl
-
Get the default table map for this instance.
- getTableMap(Object, Criteria, TableMap) - Static method in class org.apache.torque.map.MapHelper
-
Returns the table map for a table name.
- getTableMap(String, String) - Static method in class org.apache.torque.sql.SqlBuilder
-
Returns the table map for a table.
- getTableName() - Method in interface org.apache.torque.Column
-
Returns the name of the associated table (not prefixed by the schema name).
- getTableName() - Method in class org.apache.torque.ColumnImpl
-
Returns the table name.
- getTableName() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of the table this column is in.
- getTableName() - Method in class org.apache.torque.util.functions.AbstractFunction
-
Returns the name of the associated table (not prefixed by the schema name) from the function argument(s).
- getTableName() - Method in class org.apache.torque.util.functions.AggregateFunction
- getTables() - Method in class org.apache.torque.map.DatabaseMap
-
Get a TableMap[] of all of the tables in the database.
- getTopLevelCriterion() - Method in class org.apache.torque.criteria.Criteria
-
Returns the top level Criterion.
- getTorqueType() - Method in class org.apache.torque.map.ColumnMap
-
Get the name of the Torque type of this column.
- getTotalPages() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the total number of pages of search results that are known to exist (this will be the actual value when the query has completeted (see
getQyeryCompleted()
). - getTotalRecords() - Method in class org.apache.torque.util.LargeSelect
-
Retrieve the total number of search result records that are known to exist (this will be the actual value when the query has completed (see
getTotalsFinalized()
). - getTotalsFinalized() - Method in class org.apache.torque.util.LargeSelect
-
Provide access to indicator that the total values for the number of records and pages are now accurate as opposed to known upper limits.
- getTransactionIsolation() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getTransactionManager() - Static method in class org.apache.torque.util.Transaction
-
Returns the current transaction manager.
- getType() - Method in class org.apache.torque.map.ColumnMap
-
Get the type of this column.
- getType() - Method in class org.apache.torque.sql.Query
-
Returns the type of this SQL statement.
- getTypeMap() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getUnqualifiedName(String, String) - Static method in class org.apache.torque.sql.SqlBuilder
-
Unqualify a table or column name.
- getUpdateLockClause() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns the clause which acquires a write lock on a row when doing a select.
- getUpdateLockClause() - Method in interface org.apache.torque.adapter.Adapter
-
Returns the clause which acquires a write lock on a row when doing a select.
- getUpdateLockClause() - Method in class org.apache.torque.adapter.MssqlAdapter
-
Returns the clause which acquires a write lock on a row when doing a select.
- getUpdateValues() - Method in class org.apache.torque.sql.Query
-
Retrieve the values to update to in case of an update statement.
- getValue() - Method in class org.apache.torque.om.ObjectKey
-
Get the underlying object.
- getValue() - Method in class org.apache.torque.util.JdbcTypedValue
-
Returns the value.
- getWarnings() - Method in class org.apache.torque.util.TorqueConnectionImpl
- getWhereClause() - Method in class org.apache.torque.sql.Query
-
Retrieve the where buffer in order to specify the selection criteria E.g.
- getWhereClausePreparedStatementReplacements() - Method in class org.apache.torque.sql.Query
-
Retrieves the replacements which are inserted into prepared statement placeholders in the where clause.
- getWhereClausePsPartBuilders() - Static method in class org.apache.torque.sql.SqlBuilder
-
Returns the Builders which are responsible to render single where clause conditions.
- getWrappedValue(Object) - Method in class org.apache.torque.sql.whereclausebuilder.EnumValueBuilder
- GREATER_EQUAL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- GREATER_EQUAL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression ">=".
- GREATER_THAN - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- GREATER_THAN - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression ">".
- groupCache - Variable in class org.apache.torque.manager.AbstractBaseManager
-
used to cache the method result objects.
- guessFullTableFromCriteria(Criteria) - Static method in class org.apache.torque.sql.SqlBuilder
-
Guesses a table name from a criteria by inspecting the first column in the criteria.
H
- hashCode() - Method in class org.apache.torque.ColumnImpl
- hashCode() - Method in class org.apache.torque.criteria.Criteria
-
Returns the hash code value for this Criteria.
- hashCode() - Method in class org.apache.torque.criteria.Criterion
- hashCode() - Method in class org.apache.torque.criteria.FromElement
- hashCode() - Method in class org.apache.torque.criteria.Join
-
Returns the hash code value for this Join.
- hashCode() - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
- hashCode() - Method in class org.apache.torque.criteria.SqlEnum
-
returns a hashcode for this object which is consistent with equals()
- hashCode() - Method in class org.apache.torque.manager.MethodCacheKey
- hashCode() - Method in class org.apache.torque.om.ComboKey
-
if the underlying key array is not null and the first element is not null this method returns the hashcode of the first element in the key.
- hashCode() - Method in class org.apache.torque.om.ObjectKey
-
Returns the hashcode of the underlying value (key), if key is not null.
- hashCode() - Method in class org.apache.torque.sql.OrderBy
- hashCode() - Method in class org.apache.torque.sql.WhereClauseExpression
- hashCode() - Method in class org.apache.torque.util.JdbcTypedValue
- hasLimit() - Method in class org.apache.torque.sql.Query
-
True if this query has a limit clause registered.
- hasResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
-
Indicates if any results are available.
- HsqldbAdapter - Class in org.apache.torque.adapter
-
This is used to connect to Hsqldb databases.
- HsqldbAdapter() - Constructor for class org.apache.torque.adapter.HsqldbAdapter
-
Constructor.
I
- ID_BROKER - org.apache.torque.adapter.IDMethod
-
Key generation via the IDBroker table.
- ID_GENERATOR_METHODS - Static variable in class org.apache.torque.oid.IDGeneratorFactory
-
The list of ID generation method types which have associated
IdGenerator
implementations. - ID_TABLE - Static variable in class org.apache.torque.oid.IDBroker
-
Name of the ID_TABLE = ID_TABLE
- IDBroker - Class in org.apache.torque.oid
-
This method of ID generation is used to ensure that code is more database independent.
- IDBroker(Database) - Constructor for class org.apache.torque.oid.IDBroker
-
Constructs an IdBroker for the given Database.
- IdGenerator - Interface in org.apache.torque.oid
-
Interface to be implemented by id generators.
- IDGeneratorFactory - Class in org.apache.torque.oid
-
A factory which instantiates
IdGenerator
implementations. - IDMethod - Enum in org.apache.torque.adapter
-
Interface for various ID retrieval method types (i.e.
- ignoreCase(String) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Wraps the input string in a database function to change it to a case-insensitive representation.
- ignoreCase(String) - Method in interface org.apache.torque.adapter.Adapter
-
Wraps the input string in a database function to change it to a case-insensitive representation.
- ignoreCase(String) - Method in class org.apache.torque.adapter.DerbyAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.HsqldbAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.MssqlAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.MysqlAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.NoneAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.OracleAdapter
-
This method is used to ignore case.
- ignoreCase(String) - Method in class org.apache.torque.adapter.PostgresAdapter
-
This method is used to ignore case.
- ignoreCaseInOrderBy(String) - Method in class org.apache.torque.adapter.AbstractAdapter
-
This method is used to ignore case in an ORDER BY clause.
- ignoreCaseInOrderBy(String) - Method in interface org.apache.torque.adapter.Adapter
-
This method is used to ignore case in an ORDER BY clause.
- ILIKE - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- ILIKE - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " ILIKE ".
- IN - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- IN - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " IN ".
- InBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression containing a Like operator.
- InBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.InBuilder
- InheritanceMap - Class in org.apache.torque.map
-
InheritanceMap is used to model OM inheritance classes.
- InheritanceMap(ColumnMap, String, String, String) - Constructor for class org.apache.torque.map.InheritanceMap
-
Create an inheritance map object.
- init(Serializable, String, Serializable...) - Method in class org.apache.torque.manager.MethodCacheKey
-
Initialize the key
- init(String) - Static method in class org.apache.torque.Torque
-
Initialization of Torque with a path to a properties file.
- init(String) - Method in class org.apache.torque.TorqueInstance
-
Initialization of Torque with a path to a properties or xml file.
- init(Configuration) - Static method in class org.apache.torque.Torque
-
Initialization of Torque with a configuration.
- init(Configuration) - Method in class org.apache.torque.TorqueInstance
-
Initialization of Torque with a Configuration object.
- INIT_CLASS_NAME_FORMAT - Static variable in class org.apache.torque.map.DatabaseMap
-
Format used to create create the class name for initializing a DB specific map
- initCPDS(Configuration, ConnectionPoolDataSource) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Initializes the ConnectionPoolDataSource.
- initialize() - Method in class org.apache.torque.avalon.TorqueComponent
- initialize() - Method in class org.apache.torque.map.DatabaseMap
-
Fully populate this DatabaseMap with all the TablesMaps.
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Initialize the factory.
- initialize(Configuration) - Method in interface org.apache.torque.dsfactory.DataSourceFactory
-
Initialize the factory.
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.PerUserPool2DataSourceFactory
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
-
Deprecated.
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.SharedPool2DataSourceFactory
- initialize(Configuration) - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-
Deprecated.
- initJdbc2Pool(DataSource, Configuration) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Initializes the Jdbc2PoolDataSource.
- initManagerMappings(Configuration) - Method in class org.apache.torque.TorqueInstance
-
Creates a mapping between classes and their manager classes.
- INNER_JOIN - org.apache.torque.criteria.JoinType
-
SQL Expression " INNER JOIN ".
- INNER_JOIN - Static variable in class org.apache.torque.criteria.Criteria
-
"INNER JOIN" SQL statement
- IntegerMapper - Class in org.apache.torque.om.mapper
-
Maps a database record to a Integer.
- IntegerMapper() - Constructor for class org.apache.torque.om.mapper.IntegerMapper
-
Constructs a IntegerMapper with an offset of 0.
- IntegerMapper(int) - Constructor for class org.apache.torque.om.mapper.IntegerMapper
-
Constructs a IntegerMapper with the given offset.
- intersect(Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Creates a SQL INTERSECT between this Criteria and the passed other criteria.
- INTERSECT - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " INTERSECT ".
- INTERSECT_ALL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " INTERSECT ALL ".
- intersectAll(Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Creates a SQL INTERSECT ALL between this Criteria and the passed other criteria.
- intValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as an int.
- invalidateResult() - Method in class org.apache.torque.util.LargeSelect
-
Clear the query result so that the query is re-executed when the next page is retrieved.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.CurrentDateTimePsPartBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.EnumValueBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.InBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.LikeBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.NullValueBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.StandardBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in class org.apache.torque.sql.whereclausebuilder.VerbatimSqlConditionBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
- isApplicable(WhereClauseExpression, Adapter) - Method in interface org.apache.torque.sql.whereclausebuilder.WhereClausePsPartBuilder
-
Returns whether this WhereClausePsPartBuilder is applicable for a given WhereClauseExpression.
- isAutoIncrement() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether this column is an autoincrement column.
- isClosed() - Method in class org.apache.torque.util.TorqueConnectionImpl
- isCommitted() - Method in interface org.apache.torque.util.TorqueConnection
-
Has Transaction.commit() been called successfully on this connection?
- isCommitted() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
Has Transaction.commit() been called successfully on this connection?
- isComposite() - Method in class org.apache.torque.criteria.Criteria
-
Returns whether this Criteria is a composite criteria, i.e.
- isComposite() - Method in class org.apache.torque.criteria.Criterion
-
Returns whether this criterion is a composite criterion.
- isConnectionRequired() - Method in class org.apache.torque.oid.AbstractIdGenerator
-
A flag to determine whether a Connection is required to generate an id.
- isConnectionRequired() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
-
A flag to determine whether a Connection is required to generate an id.
- isConnectionRequired() - Method in class org.apache.torque.oid.IDBroker
-
A flag to determine whether a Connection is required to generate an id.
- isConnectionRequired() - Method in interface org.apache.torque.oid.IdGenerator
-
A flag to determine whether a Connection is required to generate an id.
- isConnectionRequired() - Method in class org.apache.torque.oid.SequenceIdGenerator
-
A flag to determine whether a Connection is required to generate an id.
- isDistinct() - Method in class org.apache.torque.util.functions.AggregateFunction
-
Should the column have DISTINCT added in front of it?
- isEmpty() - Method in class org.apache.torque.util.ColumnValues
- isForUpdate() - Method in class org.apache.torque.criteria.Criteria
-
Returns whether a FOR UPDATE clause is added.
- isGetGeneratedKeysSupported() - Method in class org.apache.torque.oid.AbstractIdGenerator
-
A flag to determine whether Statement#getGeneratedKeys() should be used.
- isGetGeneratedKeysSupported() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
-
A flag to determine whether Statement#getGeneratedKeys() should be used.
- isGetGeneratedKeysSupported() - Method in class org.apache.torque.oid.IDBroker
-
A flag to determine whether Statement#getGeneratedKeys() should be used.
- isGetGeneratedKeysSupported() - Method in interface org.apache.torque.oid.IdGenerator
-
A flag to determine whether Statement#getGeneratedKeys() should be used.
- isGetGeneratedKeysSupported() - Method in class org.apache.torque.oid.SequenceIdGenerator
-
A flag to determine whether Statement#getGeneratedKeys() should be used.
- isIgnoreCase() - Method in class org.apache.torque.criteria.Criteria
-
Returns whether case should be ignored in where clauses and order by whenever String columns are encountered.
- isIgnoreCase() - Method in class org.apache.torque.criteria.Criterion
-
Is ignore case on or off?
- isIgnoreCase() - Method in class org.apache.torque.sql.OrderBy
-
Returns whether case should be ignored for String columns.
- isInit() - Method in interface org.apache.torque.avalon.Torque
-
Determine whether Torque has already been initialized.
- isInit() - Static method in class org.apache.torque.Torque
-
Determine whether Torque has already been initialized.
- isInit() - Method in class org.apache.torque.TorqueInstance
-
Determine whether Torque has already been initialized.
- isModified() - Method in interface org.apache.torque.om.ObjectModel
-
Returns whether the object has been modified, since it was last retrieved from storage.
- isNew() - Method in interface org.apache.torque.om.ObjectModel
-
Returns whether the object has ever been saved.
- isNotNull() - Method in class org.apache.torque.map.ColumnMap
-
Is null value allowed ?
- ISNOTNULL - Static variable in class org.apache.torque.criteria.Criteria
-
"IS NOT NULL" null comparison
- ISNOTNULL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " IS NOT NULL".
- ISNULL - Static variable in class org.apache.torque.criteria.Criteria
-
"IS NULL" null comparison
- ISNULL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " IS NULL".
- isPk() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether this column is a primary key.
- isPostInsert() - Method in class org.apache.torque.oid.AbstractIdGenerator
-
A flag to determine the timing of the id generation
- isPostInsert() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
-
A flag to determine the timing of the id generation
- isPostInsert() - Method in class org.apache.torque.oid.IDBroker
-
A flag to determine the timing of the id generation
- isPostInsert() - Method in interface org.apache.torque.oid.IdGenerator
-
A flag to determine the timing of the id generation
- isPostInsert() - Method in class org.apache.torque.oid.SequenceIdGenerator
-
A flag to determine the timing of the id generation
- isPrimaryKey() - Method in class org.apache.torque.map.ColumnMap
-
Is this column a primary key?
- isPriorToInsert() - Method in class org.apache.torque.oid.AbstractIdGenerator
-
A flag to determine the timing of the id generation
- isPriorToInsert() - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
-
A flag to determine the timing of the id generation
- isPriorToInsert() - Method in class org.apache.torque.oid.IDBroker
-
A flag to determine the timing of the id generation *
- isPriorToInsert() - Method in interface org.apache.torque.oid.IdGenerator
-
A flag to determine the timing of the id generation
- isPriorToInsert() - Method in class org.apache.torque.oid.SequenceIdGenerator
-
A flag to determine the timing of the id generation
- isProtected() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether getters and setters are generated with the access modifier "protected" rather than "public".
- isReadOnly() - Method in class org.apache.torque.util.TorqueConnectionImpl
- isRolledBack() - Method in interface org.apache.torque.util.TorqueConnection
-
Has Transaction.rollback() been called successfully on this connection?
- isRolledBack() - Method in class org.apache.torque.util.TorqueConnectionImpl
-
Has Transaction.rollback() been called successfully on this connection?
- isSingleRecord() - Method in class org.apache.torque.criteria.Criteria
-
Returns whether the check that a query returns exactly one record is active.
- isThreadRunning() - Method in class org.apache.torque.oid.IDBroker
-
Returns whether the idbroker thread is running.
- isUseInheritance() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether this column uses inheritance subclasses.
- isUseInheritance() - Method in class org.apache.torque.map.TableMap
-
Returns whether this table uses inheritance.
- isUseManager() - Method in class org.apache.torque.map.TableMap
-
Returns whether managers are used for this table.
- isUsePrimitive() - Method in class org.apache.torque.map.ColumnMap
-
Returns whether this column uses primitive values rather than objects.
- isValid(int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- isVerbatimSqlCondition() - Method in class org.apache.torque.criteria.Criterion
-
Returns whether this Criterion represents a verbatim sql condition.
- isVerbatimSqlCondition() - Method in class org.apache.torque.sql.WhereClauseExpression
-
Returns whether this expression represents a verbatim sql condition.
- isWrapperFor(Class<?>) - Method in class org.apache.torque.util.TorqueConnectionImpl
J
- javanameMethod(String) - Method in class org.apache.torque.map.DatabaseMap
-
Converts a database schema name to java object name.
- JdbcTypedValue - Class in org.apache.torque.util
-
A value for a column, with the JDBC type if it is an explicit value.
- JdbcTypedValue(Object, int) - Constructor for class org.apache.torque.util.JdbcTypedValue
-
Constructs a JdbcTypedValue with a value and a type.
- JdbcTypedValue(Column) - Constructor for class org.apache.torque.util.JdbcTypedValue
-
Constructs a JdbcTypedValue with a verbatim SQL.
- JNDI_KEY - Static variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Key for the configuration which contains jndi properties.
- JndiDataSourceFactory - Class in org.apache.torque.dsfactory
-
A factory that looks up the DataSource from JNDI.
- JndiDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.JndiDataSourceFactory
- Join - Class in org.apache.torque.criteria
-
Data object to describe a join between two tables, for example
- Join(Column, Column, SqlEnum, JoinType) - Constructor for class org.apache.torque.criteria.Join
-
Constructor with the comparison operator.
- Join(PreparedStatementPart, PreparedStatementPart, Criterion, JoinType) - Constructor for class org.apache.torque.criteria.Join
-
Constructor.
- JOIN - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- JOIN - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "JOIN".
- JoinBuilder - Class in org.apache.torque.sql
-
Generates SQL for joins.
- JoinType - Enum in org.apache.torque.criteria
-
The possible explicit join types.
K
- keyFor(double) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(int) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(long) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(Boolean) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(Number) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(String) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(BigDecimal) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(Date) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(DateKey) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(NumberKey) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keyFor(StringKey) - Static method in class org.apache.torque.om.SimpleKey
-
Creates an ObjectKey for the key object.
- keySet() - Method in class org.apache.torque.util.ColumnValues
L
- LargeSelect<T> - Class in org.apache.torque.util
-
This class can be used to retrieve a large result set from a database query.
- LargeSelect(Criteria, int, int, BasePeerImpl<T>) - Constructor for class org.apache.torque.util.LargeSelect
-
Creates a LargeSelect whose results are returned as a
List
containing a maximum ofpageSize
objects of the type T at a time, maintaining a maximum ofmemoryPageLimit
pages of results in memory. - LargeSelect(Criteria, int, BasePeerImpl<T>) - Constructor for class org.apache.torque.util.LargeSelect
-
Creates a LargeSelect whose results are returned as a
List
containing a maximum ofpageSize
objects of the type defined within the class namedreturnBuilderClassName
at a time, maintaining a maximum ofLargeSelect.memoryPageLimit
pages of results in memory. - LEFT_JOIN - org.apache.torque.criteria.JoinType
-
SQL Expression " LEFT JOIN ".
- LEFT_JOIN - Static variable in class org.apache.torque.criteria.Criteria
-
"LEFT JOIN" SQL statement
- LESS_EQUAL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- LESS_EQUAL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "<=".
- LESS_THAN - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- LESS_THAN - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "<".
- LIKE - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- LIKE - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " LIKE ".
- LikeBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression containing a Like operator.
- LikeBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.LikeBuilder
- ListOrderedMapCI<T> - Class in org.apache.torque.util
-
A subclass of LinkedHashMap that has case insensitive String key methods.
- ListOrderedMapCI() - Constructor for class org.apache.torque.util.ListOrderedMapCI
- lockTable(Connection, String) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Locks the specified table.
- lockTable(Connection, String) - Method in interface org.apache.torque.adapter.Adapter
-
Locks the specified table.
- lockTable(Connection, String) - Method in class org.apache.torque.adapter.DerbyAdapter
-
Locks the specified table.
- lockTable(Connection, String) - Method in class org.apache.torque.adapter.HsqldbAdapter
-
Locks the specified table.
- lockTable(Connection, String) - Method in class org.apache.torque.adapter.MssqlAdapter
-
Locks the specified table.
- lockTable(Connection, String) - Method in class org.apache.torque.adapter.MysqlAdapter
-
Locks the specified table.
- lockTable(Connection, String) - Method in class org.apache.torque.adapter.NoneAdapter
-
Locks the specified table.
- lockTable(Connection, String) - Method in class org.apache.torque.adapter.OracleAdapter
-
Locks the specified table.
- lockTable(Connection, String) - Method in class org.apache.torque.adapter.PostgresAdapter
-
Locks the specified table.
- log - Static variable in class org.apache.torque.manager.AbstractBaseManager
-
the log
- log - Static variable in class org.apache.torque.sql.SqlBuilder
-
Logging
- LongMapper - Class in org.apache.torque.om.mapper
-
Maps a database record to a Long.
- LongMapper() - Constructor for class org.apache.torque.om.mapper.LongMapper
-
Constructs a LongMapper with an offset of 0.
- LongMapper(int) - Constructor for class org.apache.torque.om.mapper.LongMapper
-
Constructs a LongMapper with the given offset.
- longValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as a long.
- looseEquals(Object) - Method in class org.apache.torque.om.ComboKey
-
keyObj is equal to this ComboKey if keyObj is a ComboKey, String, ObjectKey[], or String[] that contains the same information this key contains.
M
- MANAGER_PREFIX - Static variable in class org.apache.torque.Torque
-
A prefix for
Manager
properties in the configuration. - MANAGER_SUFFIX - Static variable in class org.apache.torque.Torque
-
A
Service
property determining its implementing class name . - MapHelper - Class in org.apache.torque.map
-
Utility methods for Database, Table and Column Maps.
- Max - Class in org.apache.torque.util.functions
-
SQL99 Standard max function.
- Max(String) - Constructor for class org.apache.torque.util.functions.Max
-
Construct an MAX function class with an SQL expression to calculate the maximum from.
- Max(Column) - Constructor for class org.apache.torque.util.functions.Max
-
Construct an MAX function class with the column to calculate the maximum from.
- Max(Column, boolean) - Constructor for class org.apache.torque.util.functions.Max
-
Construct an MAX function class with the column to calculate the maximum from and possibly a distinct modifier.
- MethodCacheKey - Class in org.apache.torque.manager
-
The key for the MethodResultCache.
- MethodCacheKey() - Constructor for class org.apache.torque.manager.MethodCacheKey
- MethodCacheKey(Serializable, String, Serializable...) - Constructor for class org.apache.torque.manager.MethodCacheKey
-
Construct key
- MethodResultCache - Class in org.apache.torque.manager
-
This class provides a cache for convenient storage of method results.
- MethodResultCache() - Constructor for class org.apache.torque.manager.MethodResultCache
-
Allows subclasses to have ctors that do not require a cache.
- MethodResultCache(GroupCacheAccess<MethodCacheKey, Object>) - Constructor for class org.apache.torque.manager.MethodResultCache
-
Constructor
- Min - Class in org.apache.torque.util.functions
-
SQL99 Standard min function.
- Min(String) - Constructor for class org.apache.torque.util.functions.Min
-
Construct an MIN function class with an SQL expression to calculate the minimum from.
- Min(Column) - Constructor for class org.apache.torque.util.functions.Min
-
Construct an MIN function class with the column to calculate the minimum from.
- Min(Column, boolean) - Constructor for class org.apache.torque.util.functions.Min
-
Construct an MIN function class with the column to calculate the minimum from and possibly a distinct modifier.
- MINUS - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " MINUS ".
- MINUS_ALL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " MINUS ALL ".
- mrCache - Variable in class org.apache.torque.manager.AbstractBaseManager
-
method results cache
- MssqlAdapter - Class in org.apache.torque.adapter
-
This is used to connect to a MSSQL database.
- MssqlAdapter() - Constructor for class org.apache.torque.adapter.MssqlAdapter
-
Empty constructor.
- MysqlAdapter - Class in org.apache.torque.adapter
-
This is used in order to connect to a MySQL database using the MM drivers.
- MysqlAdapter() - Constructor for class org.apache.torque.adapter.MysqlAdapter
-
Empty protected constructor.
N
- NATIVE - org.apache.torque.adapter.IDMethod
-
Key generation via database-specific ID method (i.e.
- nativeSQL(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
- NEXT_ID - Static variable in class org.apache.torque.oid.IDBroker
-
Fully qualified Next_ID column name
- NO_ID_METHOD - org.apache.torque.adapter.IDMethod
-
No RDBMS key generation (keys may be generated by the application).
- NoneAdapter - Class in org.apache.torque.adapter
-
This DatabaseHandler is used when you do not have a database installed.
- NoneAdapter() - Constructor for class org.apache.torque.adapter.NoneAdapter
-
Empty protected constructor.
- NoOpMethodResultCache - Class in org.apache.torque.manager
-
This class provides a no-op cache for convenient storage of method results
- NoOpMethodResultCache(GroupCacheAccess<MethodCacheKey, Object>) - Constructor for class org.apache.torque.manager.NoOpMethodResultCache
- NoReplacementsPreparedStatementPart - Class in org.apache.torque.sql.whereclausebuilder
-
A PreparedStatementPart which only contains SQL and no replacements.
- NoReplacementsPreparedStatementPart(String) - Constructor for class org.apache.torque.sql.whereclausebuilder.NoReplacementsPreparedStatementPart
-
Constructor.
- normalizeName(String) - Method in class org.apache.torque.map.ColumnMap
-
Makes sure that the column names don't include table prefixes.
- NoRowsException - Exception in org.apache.torque
-
This exception indicates that no rows were returned but at least one should have been returned.
- NoRowsException() - Constructor for exception org.apache.torque.NoRowsException
-
Constructs a new
TorqueException
without specified detail message. - NoRowsException(String) - Constructor for exception org.apache.torque.NoRowsException
-
Constructs a new
TorqueException
with specified detail message. - NoRowsException(String, Throwable) - Constructor for exception org.apache.torque.NoRowsException
-
Constructs a new
TorqueException
with specified detail message and nestedThrowable
. - NoRowsException(Throwable) - Constructor for exception org.apache.torque.NoRowsException
-
Constructs a new
TorqueException
with specified nestedThrowable
. - NOT_EQUAL - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- NOT_EQUAL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression "<>".
- NOT_ILIKE - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- NOT_ILIKE - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " NOT ILIKE ".
- NOT_IN - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- NOT_IN - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " NOT IN ".
- NOT_LIKE - Static variable in class org.apache.torque.criteria.Criteria
-
Comparison type.
- NOT_LIKE - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " NOT LIKE ".
- notifyListeners(Column, TT, TT) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Notify all listeners associated to the column that an object has changed
- NullValueBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression which rhs is null and which has one of the comparison opertator =, <>, or !=, or which operator is SqlEnum.ISNULL or SqlEnum.ISNOTNULL
- NullValueBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.NullValueBuilder
- NumberKey - Class in org.apache.torque.om
-
This class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a single entity such a GUID or the value of a db row's primary key.
- NumberKey() - Constructor for class org.apache.torque.om.NumberKey
-
Initializes the internal key value to
null
. - NumberKey(double) - Constructor for class org.apache.torque.om.NumberKey
-
Creates a NumberKey equivalent to
key
. - NumberKey(int) - Constructor for class org.apache.torque.om.NumberKey
-
Creates a NumberKey equivalent to
key
. - NumberKey(long) - Constructor for class org.apache.torque.om.NumberKey
-
Creates a NumberKey equivalent to
key
. - NumberKey(Number) - Constructor for class org.apache.torque.om.NumberKey
-
Creates a NumberKey equivalent to
key
. - NumberKey(String) - Constructor for class org.apache.torque.om.NumberKey
-
Creates an NumberKey and set its internal representation
- NumberKey(BigDecimal) - Constructor for class org.apache.torque.om.NumberKey
-
Creates an NumberKey and set its internal representation
- NumberKey(NumberKey) - Constructor for class org.apache.torque.om.NumberKey
-
Creates a NumberKey that is equivalent to key.
O
- ObjectKey<T> - Class in org.apache.torque.om
-
This class can be used to uniquely identify an object within an application.
- ObjectKey() - Constructor for class org.apache.torque.om.ObjectKey
-
Initializes the internal key value to
null
. - ObjectListMapper - Class in org.apache.torque.om.mapper
-
Maps a record to a list of objects.
- ObjectListMapper() - Constructor for class org.apache.torque.om.mapper.ObjectListMapper
-
Constructor.
- ObjectListMapper(int) - Constructor for class org.apache.torque.om.mapper.ObjectListMapper
-
Constructor which sets the number of columns to map.
- ObjectListMapper(List<Class<?>>) - Constructor for class org.apache.torque.om.mapper.ObjectListMapper
-
Constructor which determines the number of columns to map and the classes the result columns are mapped to.
- ObjectModel - Interface in org.apache.torque.om
-
This interface defines methods related to object referencing and tracking
- ObjectOrColumnPsPartBuilder - Class in org.apache.torque.sql.objectbuilder
-
Builds a PreparedStatementPart from a column or single value.
- ObjectOrColumnPsPartBuilder() - Constructor for class org.apache.torque.sql.objectbuilder.ObjectOrColumnPsPartBuilder
- ObjectPsPartBuilder - Interface in org.apache.torque.sql.objectbuilder
-
Builds a PreparedStatementPart from a single object (e.g.
- ON - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " ON ".
- OnlyReplacementsPreparedStatementPart - Class in org.apache.torque.sql.whereclausebuilder
-
A PreparedStatementPart which only contains replacements, no sql.
- OnlyReplacementsPreparedStatementPart(Object) - Constructor for class org.apache.torque.sql.whereclausebuilder.OnlyReplacementsPreparedStatementPart
-
Constructor.
- OptimisticLockingFailedException - Exception in org.apache.torque
-
This exception is thrown if the database detects that a row in a table with optimistic locking was updated by another process.
- OptimisticLockingFailedException(String) - Constructor for exception org.apache.torque.OptimisticLockingFailedException
-
Constructs a new
ConcurrentUpdateException
with specified detail message. - OptimisticLockingFailedException(String, Throwable) - Constructor for exception org.apache.torque.OptimisticLockingFailedException
-
Constructs a new
ConcurrentUpdateException
with specified detail message and nestedThrowable
. - OptimisticLockingFailedException(Throwable) - Constructor for exception org.apache.torque.OptimisticLockingFailedException
-
Constructs a new
ConcurrentUpdateException
with specified nestedThrowable
. - OptionSupport - Class in org.apache.torque.map
-
OptionSupport provides the basic methods for the management of options within the database schema model.
- OptionSupport() - Constructor for class org.apache.torque.map.OptionSupport
- or(Object, Object) - Method in class org.apache.torque.criteria.Criteria
-
"OR"s a new condition with the conditions in this Criteria.
- or(Object, Object, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
"OR"s a new condition with the conditions in this Criteria.
- or(Criterion) - Method in class org.apache.torque.criteria.Criteria
-
"OR"s a Criterion object with the conditions in this Criteria.
- or(Criterion) - Method in class org.apache.torque.criteria.Criterion
-
Replaces this criterion's condition with (this criterion's condition OR criterion).
- OR - Static variable in class org.apache.torque.criteria.Criterion
-
Constant for the operator " OR ".
- OracleAdapter - Class in org.apache.torque.adapter
-
This code should be used for an Oracle database pool.
- OracleAdapter() - Constructor for class org.apache.torque.adapter.OracleAdapter
-
Empty constructor.
- orDate(Object, int, int, int) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to OR a new date comparison with the conditions in this Criteria.
- orDate(Object, int, int, int, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to OR a new date comparison with the conditions in this Criteria.
- OrderBy - Class in org.apache.torque.sql
-
An order by clause.
- OrderBy(Column, SqlEnum, boolean) - Constructor for class org.apache.torque.sql.OrderBy
-
Constructor.
- org.apache.torque - package org.apache.torque
-
Torque is an object-relational mapper for Java.
- org.apache.torque.adapter - package org.apache.torque.adapter
-
Adapters between Torque and various databases.
- org.apache.torque.avalon - package org.apache.torque.avalon
-
Avalon component implementation.
- org.apache.torque.criteria - package org.apache.torque.criteria
-
This package contains Torque's Criteria classes.
- org.apache.torque.dsfactory - package org.apache.torque.dsfactory
-
Torque's API for creation of various javax.sql.DataSource implementations.
- org.apache.torque.manager - package org.apache.torque.manager
-
A manager/factory API for use with Torque-generated data beans.
- org.apache.torque.map - package org.apache.torque.map
-
Description of the schema layout.
- org.apache.torque.oid - package org.apache.torque.oid
-
The ID broker, an API to provide persistent object identifiers, as described by Scott Ambler's paper on "Enterprise-Ready Object IDs".
- org.apache.torque.om - package org.apache.torque.om
-
API for the classic Torque-generated object model.
- org.apache.torque.om.mapper - package org.apache.torque.om.mapper
-
Contains the Mapper interface which defines how to map from a ResultSet to an object, and simple implementations of this interface.
- org.apache.torque.sql - package org.apache.torque.sql
-
This package contains classes which are mainly used in the SQL generation process.
- org.apache.torque.sql.objectbuilder - package org.apache.torque.sql.objectbuilder
-
This package contains classes which can build PreparedStatementParts from a single value or column.
- org.apache.torque.sql.whereclausebuilder - package org.apache.torque.sql.whereclausebuilder
-
This package contains classes which can build PreparedStatementParts from a WhereClauseExpression.
- org.apache.torque.util - package org.apache.torque.util
-
Misc.
- org.apache.torque.util.functions - package org.apache.torque.util.functions
-
SQL function handling
- orIn(Object, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to OR a "in" comparison with the conditions in this Criteria.
- orIn(Object, Collection<?>) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to OR a "in" comparison with the conditions in this Criteria.
- orNotIn(Object, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to OR a "not in" comparison with the conditions in this Criteria.
- orNotIn(Object, Collection<?>) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to OR a "not in" comparison with the conditions in this Criteria.
- orVerbatimSql(String, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
ORs a verbatim sql condition to this Criteria.
- orVerbatimSql(String, Object[], Column, Column) - Method in class org.apache.torque.criteria.Criteria
-
ORs a verbatim sql condition to this Criteria.
P
- PATH_KEY - Static variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Key for the configuration property which contains the jndi path.
- Persistent - Interface in org.apache.torque.om
-
This interface defines methods related to saving an object
- PerUserPool2DataSourceFactory - Class in org.apache.torque.dsfactory
-
A factory that looks up the DataSource using the DBCP2 pool methods.
- PerUserPool2DataSourceFactory() - Constructor for class org.apache.torque.dsfactory.PerUserPool2DataSourceFactory
- PerUserPoolDataSourceFactory - Class in org.apache.torque.dsfactory
-
Deprecated.
- PerUserPoolDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
-
Deprecated.
- POOL_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
"pool" Key for the configuration
- PostgresAdapter - Class in org.apache.torque.adapter
-
This is used to connect to PostgresQL databases.
- PostgresAdapter() - Constructor for class org.apache.torque.adapter.PostgresAdapter
-
Empty constructor.
- prepareCall(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
- prepareCall(String, int, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- prepareCall(String, int, int, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- PreparedStatementPart - Interface in org.apache.torque.criteria
-
The rendered SQL for a part of a prepared statement, including replacements for ? placeholders.
- PreparedStatementPartForSubselect - Class in org.apache.torque.sql.objectbuilder
-
A PreparedStatementPart which encapsulates a subselect.
- PreparedStatementPartForSubselect(Criteria, Query) - Constructor for class org.apache.torque.sql.objectbuilder.PreparedStatementPartForSubselect
-
Constructor.
- PreparedStatementPartImpl - Class in org.apache.torque.criteria
-
Modifiable implementation of the PreparedStatementPart interface.
- PreparedStatementPartImpl() - Constructor for class org.apache.torque.criteria.PreparedStatementPartImpl
-
Default constructor, creates an empty PreparedStatementPart.
- PreparedStatementPartImpl(String, Object...) - Constructor for class org.apache.torque.criteria.PreparedStatementPartImpl
-
Constructor, creates a pre-filled PreparedStatementPartImpl.
- PreparedStatementPartImpl(PreparedStatementPart) - Constructor for class org.apache.torque.criteria.PreparedStatementPartImpl
-
Copy-Constructor.
- prepareStatement(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
- prepareStatement(String, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- prepareStatement(String, int[]) - Method in class org.apache.torque.util.TorqueConnectionImpl
- prepareStatement(String, int, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- prepareStatement(String, int, int, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- prepareStatement(String, String[]) - Method in class org.apache.torque.util.TorqueConnectionImpl
- processJoins(Criteria, Query) - Static method in class org.apache.torque.sql.JoinBuilder
-
Adds the Joins from the criteria to the query.
- processRow(ResultSet, int, Criteria) - Method in class org.apache.torque.om.mapper.BigDecimalMapper
-
Maps the current row in the result to a BigDecimal.
- processRow(ResultSet, int, Criteria) - Method in class org.apache.torque.om.mapper.CompositeMapper
-
Maps the current row in the result Set by applying all known mappers and putting the result of each mapper in the result list.
- processRow(ResultSet, int, Criteria) - Method in class org.apache.torque.om.mapper.DateMapper
-
Maps the current row in the result set to a java.util.Date.
- processRow(ResultSet, int, Criteria) - Method in class org.apache.torque.om.mapper.IntegerMapper
-
Maps the current row in the result set to a Integer.
- processRow(ResultSet, int, Criteria) - Method in class org.apache.torque.om.mapper.LongMapper
-
Maps the current row in the result set to a Long.
- processRow(ResultSet, int, Criteria) - Method in class org.apache.torque.om.mapper.ObjectListMapper
-
Maps the current row in the result set by reading all columns from offset on to the end of the row and store an object for each column in the result.
- processRow(ResultSet, int, Criteria) - Method in interface org.apache.torque.om.mapper.RecordMapper
-
Constructs the object from the current row in the resultSet.
- processRow(ResultSet, int, Criteria) - Method in class org.apache.torque.om.mapper.StringMapper
-
Maps the current row in the result set to a String.
- put(String, T) - Method in class org.apache.torque.util.ListOrderedMapCI
-
Adds a value to the end of the list with the specified key.
- put(Column, JdbcTypedValue) - Method in class org.apache.torque.util.ColumnValues
- put(T, Serializable, String, Serializable...) - Method in class org.apache.torque.manager.MethodResultCache
-
Put an object into the method cache
- put(T, Serializable, String, Serializable...) - Method in class org.apache.torque.manager.NoOpMethodResultCache
- putAll(Map<? extends Column, ? extends JdbcTypedValue>) - Method in class org.apache.torque.util.ColumnValues
- putImpl(MethodCacheKey, Object) - Method in class org.apache.torque.manager.MethodResultCache
- putImpl(MethodCacheKey, Object) - Method in class org.apache.torque.manager.NoOpMethodResultCache
- putInstanceImpl(ObjectKey<?>, T) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Put an object into the cache
- putInstanceImpl(T) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Put an object into the cache
Q
- QUANTITY - Static variable in class org.apache.torque.oid.IDBroker
-
Fully qualified Quantity column name
- Query - Class in org.apache.torque.sql
-
Contains the various parts of a SQL statement (select, update or delete).
- Query() - Constructor for class org.apache.torque.sql.Query
- Query.Type - Enum in org.apache.torque.sql
-
All types of the statement.
R
- RecordMapper<T> - Interface in org.apache.torque.om.mapper
-
Maps an object to a database record and back.
- refreshedObject(T) - Method in interface org.apache.torque.manager.CacheListener
-
Notify listener that an object has been modified
- registerAsListener() - Method in class org.apache.torque.manager.AbstractBaseManager
-
NoOp version.
- registerIDBroker(IDBroker) - Static method in class org.apache.torque.Torque
-
Registers an id broker.
- registerIDBroker(IDBroker) - Method in class org.apache.torque.TorqueInstance
-
Registers an id broker.
- registerPeerInstance(Class<T>, BasePeerImpl<T>) - Static method in class org.apache.torque.Torque
-
This method registers a PeerImpl for a given class.
- registerPeerInstance(Class<T>, BasePeerImpl<T>) - Method in class org.apache.torque.TorqueInstance
-
This method registers a PeerImpl for a given class.
- releaseSavepoint(Savepoint) - Method in class org.apache.torque.util.TorqueConnectionImpl
- remove(Serializable, String, Serializable...) - Method in class org.apache.torque.manager.MethodResultCache
-
Remove object from method cache
- remove(Serializable, String, Serializable...) - Method in class org.apache.torque.manager.NoOpMethodResultCache
- remove(Object) - Method in class org.apache.torque.util.ColumnValues
- remove(Object) - Method in class org.apache.torque.util.ListOrderedMapCI
-
Removes the mapping for the specified key.
- removeAll(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
-
Remove all objects of the same group
- removeAll(Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
- removedObject(T) - Method in interface org.apache.torque.manager.CacheListener
-
Notify listener that an object has been removed from the database
- removeImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
- removeImpl(MethodCacheKey) - Method in class org.apache.torque.manager.NoOpMethodResultCache
- removeInstanceImpl(ObjectKey<?>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Remove an object from the cache
- removeSearchParam(String) - Method in class org.apache.torque.util.LargeSelect
-
Remove a value from the search parameters.
- removeUnderScores(String) - Method in class org.apache.torque.map.TableMap
-
Removes the PREFIX, removes the underscores and makes first letter caps.
- ResultsetSpliterator<T> - Class in org.apache.torque.util
-
Stream support: Encapsulate iteration over a JDBC ResultSet
- ResultsetSpliterator(RecordMapper<T>, Criteria, Statement, ResultSet) - Constructor for class org.apache.torque.util.ResultsetSpliterator
-
Constructor
- retrieveStoredOM(ObjectKey<?>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Retrieve an object from persistent storage
- retrieveStoredOMs(List<? extends ObjectKey<?>>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Gets a list of om's based on id's.
- RIGHT_JOIN - org.apache.torque.criteria.JoinType
-
SQL Expression " RIGHT JOIN ".
- RIGHT_JOIN - Static variable in class org.apache.torque.criteria.Criteria
-
"RIGHT JOIN" SQL statement
- ROLE - Static variable in interface org.apache.torque.avalon.Torque
-
The avalon role.
- rollback() - Method in class org.apache.torque.util.TorqueConnectionImpl
- rollback(Connection) - Static method in class org.apache.torque.util.Transaction
-
Roll back a transaction and release the connection.
- rollback(Connection) - Method in interface org.apache.torque.util.TransactionManager
-
Roll back a transaction and release the connection.
- rollback(Connection) - Method in class org.apache.torque.util.TransactionManagerImpl
-
Roll back a transaction and release the connection.
- rollback(Savepoint) - Method in class org.apache.torque.util.TorqueConnectionImpl
- run() - Method in class org.apache.torque.oid.IDBroker
-
A background thread that tries to ensure that when someone asks for ids, that there are already some loaded and that the database is not accessed.
- run() - Method in class org.apache.torque.util.LargeSelect
-
A background thread that retrieves the rows.
- run() - Method in class org.apache.torque.util.ResultsetSpliterator
-
Method to be run onClose() of associated stream
S
- safeRollback(Connection) - Static method in class org.apache.torque.util.Transaction
-
Roll back a transaction without throwing errors if they occur.
- safeRollback(Connection) - Method in interface org.apache.torque.util.TransactionManager
-
Roll back a transaction without throwing errors if they occur.
- safeRollback(Connection) - Method in class org.apache.torque.util.TransactionManagerImpl
-
Roll back a transaction without throwing errors if they occur.
- save() - Method in interface org.apache.torque.om.Persistent
-
Saves the object.
- save(String) - Method in interface org.apache.torque.om.Persistent
-
Stores the object in the database.
- save(Connection) - Method in interface org.apache.torque.om.Persistent
-
Stores the object in the database.
- SCHEMA_KEY - Static variable in class org.apache.torque.Torque
-
"schema" Key for the configuration
- SCHEMA_SEPARATOR_CHAR - Static variable in class org.apache.torque.map.DatabaseMap
-
The character which separates the schema name from the table name.
- SELECT - org.apache.torque.sql.Query.Type
-
The instance contains the parts of a select statement.
- SEPARATOR - Static variable in class org.apache.torque.om.ComboKey
-
The single character used to separate key values in a string.
- SEPARATOR_STRING - Static variable in class org.apache.torque.om.ComboKey
-
The single character used to separate key values in a string.
- SEQUENCE - org.apache.torque.adapter.IDMethod
-
Key generation via sequences.
- SequenceIdGenerator - Class in org.apache.torque.oid
-
This generator works with databases that have an sql syntax for getting an id prior to inserting a row into the database.
- SequenceIdGenerator(Adapter, String) - Constructor for class org.apache.torque.oid.SequenceIdGenerator
-
Creates an IdGenerator which will work with the specified database.
- setAdapter(Adapter) - Method in class org.apache.torque.Database
-
Sets the adapter for this database.
- setAll() - Method in class org.apache.torque.criteria.Criteria
-
Adds "ALL " to the SQL statement.
- setArgumentList(List<Object>) - Method in class org.apache.torque.util.functions.AbstractFunction
-
Set the full function argument list.
- setArguments(Object...) - Method in class org.apache.torque.util.functions.AbstractFunction
-
Sets the function arguments.
- setArguments(Object...) - Method in class org.apache.torque.util.functions.AggregateFunction
-
Assumes that there are one or two arguments being specified.
- setArguments(Object...) - Method in interface org.apache.torque.util.functions.SQLFunction
-
Sets the function specific arguments.
- setAutoCommit(boolean) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setAutoIncrement(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether this column is an autoincrement column.
- setByName(String, Object) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Set a field in the object by field (Java) name.
- setByPeerName(String, Object) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Set field values by Peer Field Name-
- setByPosition(int, Object) - Method in interface org.apache.torque.om.ColumnAccessByName
-
Set field values by it's position (zero based) in the XML schema.
- setCapabilities(Connection, Adapter) - Static method in class org.apache.torque.adapter.AdapterFactory
-
Update static capabilities of the Torque database adapter with actual readings based on the JDBC meta-data
- setCapabilities(DatabaseMetaData) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Update static capabilities of the adapter with actual readings based on the JDBC meta-data
- setCapabilities(DatabaseMetaData) - Method in interface org.apache.torque.adapter.Adapter
-
Update static capabilities of the adapter with actual readings based on the JDBC meta-data
- setCatalog(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setClassName(String) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Set the classname to instantiate for getInstance()
- setClassName(String) - Method in class org.apache.torque.map.InheritanceMap
-
Sets the class name for this InheritanceMap.
- setClientInfo(String, String) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setClientInfo(Properties) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setColumn(Column) - Method in class org.apache.torque.util.functions.AggregateFunction
-
Sets the column the function is applied to.
- setColumn(ColumnMap) - Method in class org.apache.torque.map.InheritanceMap
-
Sets the column this inheritance map belongs to.
- setCommitted(boolean) - Method in interface org.apache.torque.util.TorqueConnection
-
Called by TransactionManagerImpl.commit() to track state
- setCommitted(boolean) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
Called by TransactionManagerImpl.commit() to track state
- setConfiguration(Configuration) - Method in class org.apache.torque.oid.IDBroker
-
Set the configuration
- setConfiguration(Configuration) - Static method in class org.apache.torque.Torque
-
Sets the configuration for Torque and all dependencies.
- setConfiguration(Configuration) - Method in class org.apache.torque.TorqueInstance
-
Sets the configuration for Torque and all dependencies.
- setDatabaseName(String) - Method in class org.apache.torque.util.BasePeerImpl
-
Set the database name for this instance.
- setDataSourceFactory(DataSourceFactory) - Method in class org.apache.torque.Database
-
Sets the DataSourceFactory for this database.
- setDbName(String) - Method in class org.apache.torque.criteria.Criteria
-
Set the Database name.
- setDbName(Criteria) - Method in class org.apache.torque.util.BasePeerImpl
-
Sets the database name in the passed criteria to the table's default, if it is not already set.
- setDefault(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the default value for this column.
- setDescription(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the description for this column.
- setDescription(String) - Method in class org.apache.torque.map.TableMap
-
Sets the table description.
- setDistinct() - Method in class org.apache.torque.criteria.Criteria
-
Adds "DISTINCT " to the SQL statement.
- setExcludeExprColumns(boolean) - Method in class org.apache.torque.util.SummaryHelper
-
Define if unnamed output columns which get labeled as EXPR{index#}) should be included in the the output set.
- setExtends(String) - Method in class org.apache.torque.map.InheritanceMap
-
Sets the ancestor class for the class described by this InheritanceMap.
- setFetchSize(Integer) - Method in class org.apache.torque.criteria.Criteria
-
Sets the JDBC statement fetch size to use for queries.
- setFetchSize(Integer) - Method in class org.apache.torque.sql.Query
-
Sets the JDBC statement fetch size to use for queries.
- setForUpdate(boolean) - Method in class org.apache.torque.criteria.Criteria
-
Sets whether FOR UPDATE clause should be added to the query.
- setForUpdate(String) - Method in class org.apache.torque.sql.Query
-
Sets the FOR UPDATE clause which should be added to the query.
- setFunction(String) - Method in class org.apache.torque.util.functions.AggregateFunction
-
Set the function name to use, e.g.
- setFunction(String) - Method in class org.apache.torque.util.functions.Avg
-
This method cannot be called, an UnsupportedOperationException will always be thrown.
- setFunction(String) - Method in class org.apache.torque.util.functions.Count
-
This method cannot be called, an UnsupportedOperationException will always be thrown.
- setFunction(String) - Method in class org.apache.torque.util.functions.Max
-
This method cannot be called, an UnsupportedOperationException will always be thrown.
- setFunction(String) - Method in class org.apache.torque.util.functions.Min
-
This method cannot be called, an UnsupportedOperationException will always be thrown.
- setFunction(String) - Method in class org.apache.torque.util.functions.Sum
-
This method cannot be called, an UnsupportedOperationException will always be thrown.
- setHaving(String) - Method in class org.apache.torque.sql.Query
-
Set the having clause.
- setHoldability(int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setIdTable(String) - Method in class org.apache.torque.Database
-
Set the ID table for this database.
- setIdTable(TableMap) - Method in class org.apache.torque.Database
-
Set the ID table for this database.
- setIdTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
-
Add a new TableMap to the database.
- setIgnoreCase(boolean) - Method in class org.apache.torque.criteria.Criteria
-
Sets whether case should be ignored in where clauses and order by whenever String columns are encountered.
- setIgnoreCase(boolean) - Method in class org.apache.torque.criteria.Criterion
-
Sets ignore case.
- setInheritance(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the inheritance type.
- setInstance(TorqueInstance) - Static method in class org.apache.torque.Torque
-
Sets the single
TorqueInstance
used by this class. - setInstance(ExceptionMapper) - Static method in class org.apache.torque.util.ExceptionMapper
-
Sets a new instance of an Exception mapper to use.
- setJavaName(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the Java Name for this column.
- setJavaName(String) - Method in class org.apache.torque.map.TableMap
-
Set the Java name of the table as defined by generator/XML.
- setJavaNamingMethod(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the java naming method for this column.
- setJavaType(String) - Method in class org.apache.torque.map.ColumnMap
-
Sets the java type of this column.
- setJdbcType(int) - Method in class org.apache.torque.util.JdbcTypedValue
-
Sets the JDBC type as in
java.sql.Types
. - setKey(String) - Method in class org.apache.torque.map.InheritanceMap
-
Sets the key by which this inheritanceMap is activated.
- setLimit(int) - Method in class org.apache.torque.criteria.Criteria
-
Set a limit for the query
- setLimit(String) - Method in class org.apache.torque.sql.Query
-
Set the limit number.
- setLValue(Object) - Method in class org.apache.torque.criteria.Criterion
-
Set the left hand side value of the comparison.
- setLValue(Object) - Method in class org.apache.torque.sql.WhereClauseExpression
-
Sets the value on the left hand side of the operator of the expression.
- setManagerClass(Class<?>) - Method in class org.apache.torque.map.TableMap
-
Sets the manager class for this table.
- setMemoryPageLimit(int) - Method in class org.apache.torque.util.LargeSelect
-
Sets the multiplier that will be used to compute the memory limit when a constructor with no memory page limit is used - the memory limit will be this number multiplied by the page size.
- setModified(boolean) - Method in interface org.apache.torque.om.ObjectModel
-
Sets the modified state for the object.
- setNetworkTimeout(Executor, int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setNew(boolean) - Method in interface org.apache.torque.om.ObjectModel
-
Setter for the isNew attribute.
- setNotNull(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Set if this column may be null.
- setObjectOrColumnPsPartBuilder(ObjectPsPartBuilder) - Static method in class org.apache.torque.sql.whereclausebuilder.AbstractWhereClausePsPartBuilder
-
Set the ObjectPsPartBuilder to use for single values or columns.
- setOffset(long) - Method in class org.apache.torque.criteria.Criteria
-
Set the offset.
- setOffset(String) - Method in class org.apache.torque.sql.Query
-
Set the offset number.
- setOMClass(Class<?>) - Method in class org.apache.torque.map.TableMap
-
Sets the OM root class for this table.
- setOMClass(Class<T>) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Set the Class that will be instantiated by this manager
- setOperator(SqlEnum) - Method in class org.apache.torque.sql.WhereClauseExpression
-
Sets the value on the operator of the expression.
- setOption(String, String) - Method in class org.apache.torque.map.OptionSupport
-
Sets an option.
- setPageProgressTextPattern(String) - Method in class org.apache.torque.util.LargeSelect
-
Set the MessageFormat pattern for the page progress.
- setPartOperator(String) - Method in class org.apache.torque.sql.Query
-
Sets the operator connecting the query parts.
- setPeerClass(Class<?>) - Method in class org.apache.torque.map.TableMap
-
Sets the Peer class for this table.
- setPk(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether this column is a primary key.
- setPosition(int) - Method in class org.apache.torque.map.ColumnMap
-
Sets the position (one based) of this column in the table.
- setPostLimit(String) - Method in class org.apache.torque.sql.Query
-
Set the Post limit String.
- setPrefix(String) - Method in class org.apache.torque.map.TableMap
-
Set table prefix name.
- setPreLimit(String) - Method in class org.apache.torque.sql.Query
-
Get the Pre limit String.
- setPrimaryKey(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Set if this column is a primary key or not.
- setPrimaryKey(String) - Method in interface org.apache.torque.om.ObjectModel
-
Sets the PrimaryKey for the object.
- setPrimaryKey(ObjectKey<?>) - Method in interface org.apache.torque.om.ObjectModel
-
Sets the PrimaryKey for the object.
- setPrimaryKeyMethod(IDMethod) - Method in class org.apache.torque.map.TableMap
-
Sets the method used to generate a key for this table.
- setPrimaryKeyMethodInfo(Object) - Method in class org.apache.torque.map.TableMap
-
Sets the pk information needed to generate a key.
- setPrimaryKeyMethodInfo(IDMethod, Object) - Method in class org.apache.torque.map.TableMap
-
Sets the pk information needed to generate a key.
- setProperty(String, Configuration, Object) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
-
Encapsulates setting configuration properties on
DataSource
objects. - setProtected(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether getters and setters should be generated with the access modifier "protected" rather than "public".
- setReadOnly(boolean) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setRecordMapper(RecordMapper<T>) - Method in class org.apache.torque.util.BasePeerImpl
-
Set the record mapper for this instance.
- setRecordProgressTextPattern(String) - Method in class org.apache.torque.util.LargeSelect
-
Set the MessageFormat pattern for the record progress.
- setRegion(String) - Method in class org.apache.torque.manager.AbstractBaseManager
-
Set the cache region used for JCS.
- setRolledBack(boolean) - Method in interface org.apache.torque.util.TorqueConnection
-
Called by TransactionManagerImpl.rollback() to track state
- setRolledBack(boolean) - Method in class org.apache.torque.util.TorqueConnectionImpl
-
Called by TransactionManagerImpl.rollback() to track state
- setRowcount(String) - Method in class org.apache.torque.sql.Query
-
Set the rowcount number.
- setRValue(Object) - Method in class org.apache.torque.criteria.Criterion
-
Set the right hand side value of the comparison.
- setRValue(Object) - Method in class org.apache.torque.sql.WhereClauseExpression
-
Sets the value on the right hand side of the operator of the expression.
- setSavepoint() - Method in class org.apache.torque.util.TorqueConnectionImpl
- setSavepoint(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setScale(int) - Method in class org.apache.torque.map.ColumnMap
- setSchema(String) - Method in class org.apache.torque.Database
-
Sets the schema for this database.
- setSchema(String) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setSchema(String, String) - Method in interface org.apache.torque.avalon.Torque
-
Sets the current schema for a database connection
- setSchema(String, String) - Static method in class org.apache.torque.Torque
-
Sets the current schema for a database connection
- setSchema(String, String) - Method in class org.apache.torque.TorqueInstance
-
Sets the current schema for a database connection
- setSearchParam(String, String) - Method in class org.apache.torque.util.LargeSelect
-
Set a search parameter.
- setSingleRecord(boolean) - Method in class org.apache.torque.criteria.Criteria
-
Switch the check on or off that a query returns exactly one record.
- setSize(int) - Method in class org.apache.torque.map.ColumnMap
-
Set the size of this column.
- setTableMap(TableMap) - Method in class org.apache.torque.util.BasePeerImpl
-
Set the default table map for this instance.
- setTorqueType(String) - Method in class org.apache.torque.map.ColumnMap
-
Set the Torque type of this column.
- setTransactionIsolation(int) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setTransactionManager(TransactionManager) - Static method in class org.apache.torque.util.Transaction
-
Sets the transaction manager to use.
- setType(Object) - Method in class org.apache.torque.map.ColumnMap
-
Set the type of this column.
- setType(Query.Type) - Method in class org.apache.torque.sql.Query
-
Sets the type of this SQL statement.
- setTypeMap(Map<String, Class<?>>) - Method in class org.apache.torque.util.TorqueConnectionImpl
- setUseInheritance(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether this column uses inheritance subclasses.
- setUseInheritance(boolean) - Method in class org.apache.torque.map.TableMap
-
Sets whether this table uses inheritance.
- setUseManager(boolean) - Method in class org.apache.torque.map.TableMap
-
Sets whether managers are used for this table.
- setUsePrimitive(boolean) - Method in class org.apache.torque.map.ColumnMap
-
Sets whether this column uses primitive values rather than objects.
- setValue(Object) - Method in class org.apache.torque.util.JdbcTypedValue
-
Sets the value.
- setValue(String) - Method in class org.apache.torque.om.BooleanKey
-
Sets the internal representation to a String.
- setValue(String) - Method in class org.apache.torque.om.ComboKey
-
Sets the internal representation using a String of the form produced by the toString method.
- setValue(String) - Method in class org.apache.torque.om.DateKey
-
Sets the internal representation to a String
- setValue(String) - Method in class org.apache.torque.om.NumberKey
-
Sets the internal representation using a String representation of a number.
- setValue(O) - Method in class org.apache.torque.om.ObjectKey
-
Sets the internal representation to the same object used by key.
- setValue(T) - Method in class org.apache.torque.om.ObjectKey
-
Sets the internal representation.
- SharedPool2DataSourceFactory - Class in org.apache.torque.dsfactory
-
A factory that looks up the DataSource using the DBCP2 pool methods.
- SharedPool2DataSourceFactory() - Constructor for class org.apache.torque.dsfactory.SharedPool2DataSourceFactory
- SharedPoolDataSourceFactory - Class in org.apache.torque.dsfactory
-
Deprecated.
- SharedPoolDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
-
Deprecated.
- shortValue() - Method in class org.apache.torque.om.NumberKey
-
Returns the value of this NumberKey as a short.
- shutdown() - Static method in class org.apache.torque.Torque
-
Shuts down the service.
- shutdown() - Method in class org.apache.torque.TorqueInstance
-
Shuts down Torque.
- SimpleKey<T> - Class in org.apache.torque.om
-
This empty class marks an ObjectKey as being capable of being represented as a single column in a database.
- SimpleKey() - Constructor for class org.apache.torque.om.SimpleKey
- size() - Method in class org.apache.torque.util.ColumnValues
- SqlBuilder - Class in org.apache.torque.sql
-
Factored out code that is used to process SQL tables.
- SqlEnum - Class in org.apache.torque.criteria
-
A typesafe enum of SQL string fragments.
- SQLFunction - Interface in org.apache.torque.util.functions
-
Define the basic methods that classes that support SQL Functions need to implement for Classes that use them.
- StandardBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression which RHS and LHS is a simple value.
- StandardBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.StandardBuilder
- start() - Method in class org.apache.torque.oid.IDBroker
-
Starts the idBroker.
- STD_SEPARATOR_CHAR - Static variable in class org.apache.torque.map.DatabaseMap
-
The character used by most implementations as the separator between name elements.
- stop() - Method in class org.apache.torque.oid.IDBroker
-
Shuts down the IDBroker thread.
- StringKey - Class in org.apache.torque.om
-
This class can be used as an ObjectKey to uniquely identify an object within an application where the id consists of a single entity such a GUID or the value of a db row's primary key.
- StringKey() - Constructor for class org.apache.torque.om.StringKey
-
Initializes the internal key value to
null
. - StringKey(String) - Constructor for class org.apache.torque.om.StringKey
-
Creates an StringKey and set its internal representation
- StringKey(StringKey) - Constructor for class org.apache.torque.om.StringKey
-
Creates a StringKey that is equivalent to key.
- StringMapper - Class in org.apache.torque.om.mapper
-
Maps a database record to a String.
- StringMapper() - Constructor for class org.apache.torque.om.mapper.StringMapper
-
Constructs a StringMapper with an offset of 0.
- StringMapper(int) - Constructor for class org.apache.torque.om.mapper.StringMapper
-
Constructs a StringMapper with the given offset.
- Sum - Class in org.apache.torque.util.functions
-
SQL99 Standard sum function.
- Sum(String) - Constructor for class org.apache.torque.util.functions.Sum
-
Construct an SUM function class with an SQL expression to sum over.
- Sum(Column) - Constructor for class org.apache.torque.util.functions.Sum
-
Construct an SUM function class with the column to sum over.
- Sum(Column, boolean) - Constructor for class org.apache.torque.util.functions.Sum
-
Construct an SUM function class with the column to sum over and possibly a distinct modifier.
- summarize(Criteria) - Method in class org.apache.torque.util.SummaryHelper
-
Return a list of ListOrderedMapCI objects with the results of the summary query.
- summarize(Criteria, Connection) - Method in class org.apache.torque.util.SummaryHelper
-
Return a list of OrderedMap objects with the results of the summary query.
- summarize(Criteria, List<Class<?>>) - Method in class org.apache.torque.util.SummaryHelper
-
Return a list of ListOrderedMapCI objects with the results of the summary query.
- summarize(Criteria, List<Class<?>>, Connection) - Method in class org.apache.torque.util.SummaryHelper
-
Return a list of ListOrderedMapCI objects with the results of the summary query.
- SummaryHelper - Class in org.apache.torque.util
-
A utility to help produce aggregate summary information about a table.
- SummaryHelper() - Constructor for class org.apache.torque.util.SummaryHelper
- supportsNativeLimit() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns whether the database can natively limit the size of the ResultSet of a query.
- supportsNativeLimit() - Method in interface org.apache.torque.adapter.Adapter
-
This method is used to check whether the database natively supports limiting the size of the resultset.
- supportsNativeLimit() - Method in class org.apache.torque.adapter.NoneAdapter
-
Returns whether the database can natively limit the size of the ResultSet of a query.
- supportsNativeOffset() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Returns whether the database natively supports returning results starting at an offset position other than 0.
- supportsNativeOffset() - Method in interface org.apache.torque.adapter.Adapter
-
This method is used to check whether the database natively supports returning results starting at an offset position other than 0.
- supportsNativeOffset() - Method in class org.apache.torque.adapter.MssqlAdapter
-
Returns whether the database natively supports returning results starting at an offset position other than 0.
- supportsNativeOffset() - Method in class org.apache.torque.adapter.NoneAdapter
-
Returns whether the database natively supports returning results starting at an offset position other than 0.
T
- TABLE_ID - Static variable in class org.apache.torque.oid.IDBroker
-
Fully qualified ID column name
- TABLE_NAME - Static variable in class org.apache.torque.oid.IDBroker
-
Fully qualified Table_Name column name
- TableMap - Class in org.apache.torque.map
-
TableMap is used to model a table in a database.
- TableMap(String, String, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
-
Constructor.
- TableMap(String, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
-
Constructor.
- TIME_BETWEEN_LOOKUPS_KEY - Static variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
-
Key for the configuration property which contains the time between two jndi lookups.
- TooManyRowsException - Exception in org.apache.torque
-
This exception indicates that more rows were returned than expected.
- TooManyRowsException() - Constructor for exception org.apache.torque.TooManyRowsException
-
Constructs a new
TorqueException
without specified detail message. - TooManyRowsException(String) - Constructor for exception org.apache.torque.TooManyRowsException
-
Constructs a new
TorqueException
with specified detail message. - TooManyRowsException(String, Throwable) - Constructor for exception org.apache.torque.TooManyRowsException
-
Constructs a new
TorqueException
with specified detail message and nestedThrowable
. - TooManyRowsException(Throwable) - Constructor for exception org.apache.torque.TooManyRowsException
-
Constructs a new
TorqueException
with specified nestedThrowable
. - Torque - Class in org.apache.torque
-
A static facade wrapper around the Torque implementation (which is in
TorqueInstance
). - Torque - Interface in org.apache.torque.avalon
-
Avalon role interface for Torque.
- TORQUE_KEY - Static variable in class org.apache.torque.Torque
-
The prefix for all configuration keys used by Torque.
- TorqueComponent - Class in org.apache.torque.avalon
-
Avalon component for Torque.
- TorqueComponent() - Constructor for class org.apache.torque.avalon.TorqueComponent
- TorqueConnection - Interface in org.apache.torque.util
-
Torque's extension to the JDBC connection
- TorqueConnectionImpl - Class in org.apache.torque.util
-
Encapsulates connection status tracking and allows AutoClosing within Torque.
- TorqueConnectionImpl(Connection) - Constructor for class org.apache.torque.util.TorqueConnectionImpl
-
Constructor
- TorqueException - Exception in org.apache.torque
-
The base class of all checked exceptions thrown by Torque.
- TorqueException() - Constructor for exception org.apache.torque.TorqueException
-
Constructs a new
TorqueException
without specified detail message. - TorqueException(String) - Constructor for exception org.apache.torque.TorqueException
-
Constructs a new
TorqueException
with specified detail message. - TorqueException(String, Throwable) - Constructor for exception org.apache.torque.TorqueException
-
Constructs a new
TorqueException
with specified detail message and nestedThrowable
. - TorqueException(Throwable) - Constructor for exception org.apache.torque.TorqueException
-
Constructs a new
TorqueException
with specified nestedThrowable
. - TorqueInstance - Class in org.apache.torque
-
The core of Torque's implementation.
- TorqueInstance() - Constructor for class org.apache.torque.TorqueInstance
-
Creates a new instance with default configuration.
- TorqueRuntimeException - Exception in org.apache.torque
-
This is the base class of all non-checked exceptions in Torque.
- TorqueRuntimeException() - Constructor for exception org.apache.torque.TorqueRuntimeException
-
Constructs a new
TorqueRuntimeException
without specified detail message. - TorqueRuntimeException(String) - Constructor for exception org.apache.torque.TorqueRuntimeException
-
Constructs a new
TorqueRuntimeException
with specified detail message. - TorqueRuntimeException(String, Throwable) - Constructor for exception org.apache.torque.TorqueRuntimeException
-
Constructs a new
TorqueRuntimeException
with specified detail message and nestedThrowable
. - TorqueRuntimeException(Throwable) - Constructor for exception org.apache.torque.TorqueRuntimeException
-
Constructs a new
TorqueRuntimeException
with specified nestedThrowable
. - toString() - Method in enum org.apache.torque.adapter.IDMethod
- toString() - Method in class org.apache.torque.ColumnImpl
- toString() - Method in class org.apache.torque.criteria.Criteria
-
Build a string representation of the Criteria for debugging purposes.
- toString() - Method in class org.apache.torque.criteria.Criterion
-
Build a string representation of the Criterion for debug purposes.
- toString() - Method in class org.apache.torque.criteria.FromElement
-
Returns a SQL representation of the element.
- toString() - Method in class org.apache.torque.criteria.Join
-
Returns a String representation of the class, mainly for debugging purposes.
- toString() - Method in enum org.apache.torque.criteria.JoinType
-
Returns the SQL expression for the join type.
- toString() - Method in class org.apache.torque.criteria.PreparedStatementPartImpl
- toString() - Method in class org.apache.torque.criteria.SqlEnum
- toString() - Method in class org.apache.torque.manager.MethodCacheKey
- toString() - Method in class org.apache.torque.map.ColumnMap
- toString() - Method in class org.apache.torque.map.DatabaseMap
- toString() - Method in class org.apache.torque.map.TableMap
- toString() - Method in class org.apache.torque.om.ComboKey
-
A String that may consist of one section or multiple sections separated by a colon.
- toString() - Method in class org.apache.torque.om.DateKey
-
Get a String representation for this key.
- toString() - Method in class org.apache.torque.om.ObjectKey
-
Get a String representation of this key.
- toString() - Method in class org.apache.torque.sql.Query
-
Outputs the query statement.
- toString() - Method in class org.apache.torque.sql.WhereClauseExpression
- toString() - Method in class org.apache.torque.util.ColumnValues
- toString() - Method in class org.apache.torque.util.JdbcTypedValue
- toString() - Method in class org.apache.torque.util.LargeSelect
-
Provide something useful for debugging purposes.
- toStringBuilder(StringBuilder) - Method in class org.apache.torque.sql.Query
-
Appends the query to a string builder.
- toTorqueException(SQLException) - Method in class org.apache.torque.util.ExceptionMapper
-
Maps a SQLException to an appropriate TorqueException.
- toTorqueException(SQLException) - Method in class org.apache.torque.util.ExceptionMapperImpl
- toUpperCase(String) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Wraps the input string in a database function to change it to upper case.
- toUpperCase(String) - Method in interface org.apache.torque.adapter.Adapter
-
Wraps the input string in a database function to change it to upper case.
- toUpperCase(String) - Method in class org.apache.torque.adapter.DerbyAdapter
-
This method is used to ignore case.
- toUpperCase(String) - Method in class org.apache.torque.adapter.HsqldbAdapter
-
This method is used to ignore case.
- toUpperCase(String) - Method in class org.apache.torque.adapter.MssqlAdapter
-
This method is used to ignore case.
- toUpperCase(String) - Method in class org.apache.torque.adapter.MysqlAdapter
-
This method is used to ignore case.
- toUpperCase(String) - Method in class org.apache.torque.adapter.NoneAdapter
-
This method is used to ignore case.
- toUpperCase(String) - Method in class org.apache.torque.adapter.OracleAdapter
-
This method is used to ignore case.
- toUpperCase(String) - Method in class org.apache.torque.adapter.PostgresAdapter
-
This method is used to ignore case.
- Transaction - Class in org.apache.torque.util
-
Encapsulates transaction and connection handling within Torque.
- TRANSACTION_MANAGER_KEY - Static variable in class org.apache.torque.Torque
-
The prefix for configuring the transaction manger.
- TransactionManager - Interface in org.apache.torque.util
-
Torque's interface to the transaction management system.
- TransactionManagerImpl - Class in org.apache.torque.util
-
Standard connection and transaction management for Torque.
- TransactionManagerImpl() - Constructor for class org.apache.torque.util.TransactionManagerImpl
- tryAdvance(Consumer<? super T>) - Method in class org.apache.torque.util.ResultsetSpliterator
U
- union(Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Creates a SQL UNION between this Criteria and the passed other criteria.
- UNION - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " UNION ".
- UNION_ALL - Static variable in class org.apache.torque.criteria.SqlEnum
-
SQL Expression " UNION ALL ".
- unionAll(Criteria) - Method in class org.apache.torque.criteria.Criteria
-
Creates a SQL UNION ALL between this Criteria and the passed other criteria.
- UniqueColumnList - Class in org.apache.torque.util
-
List with unique entries.
- UniqueColumnList() - Constructor for class org.apache.torque.util.UniqueColumnList
-
Constructs an empty UniqueList.
- UniqueColumnList(UniqueColumnList) - Constructor for class org.apache.torque.util.UniqueColumnList
-
Copy-constructor.
- UniqueList<T> - Class in org.apache.torque.util
-
List with unique entries.
- UniqueList() - Constructor for class org.apache.torque.util.UniqueList
-
Constructs an empty UniqueList.
- UniqueList(UniqueList<T>) - Constructor for class org.apache.torque.util.UniqueList
-
Copy-constructor.
- unlockTable(Connection, String) - Method in class org.apache.torque.adapter.AbstractAdapter
-
Unlocks the specified table.
- unlockTable(Connection, String) - Method in interface org.apache.torque.adapter.Adapter
-
Unlocks the specified table.
- unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DerbyAdapter
-
Unlocks the specified table.
- unlockTable(Connection, String) - Method in class org.apache.torque.adapter.HsqldbAdapter
-
Unlocks the specified table.
- unlockTable(Connection, String) - Method in class org.apache.torque.adapter.MssqlAdapter
-
Tries to unlock the specified table.
- unlockTable(Connection, String) - Method in class org.apache.torque.adapter.MysqlAdapter
-
Unlocks the specified table.
- unlockTable(Connection, String) - Method in class org.apache.torque.adapter.NoneAdapter
-
Unlocks the specified table.
- unlockTable(Connection, String) - Method in class org.apache.torque.adapter.OracleAdapter
-
Unlocks the specified table.
- unlockTable(Connection, String) - Method in class org.apache.torque.adapter.PostgresAdapter
-
Unlocks the specified table.
- unwrap(Class<T>) - Method in class org.apache.torque.util.TorqueConnectionImpl
- UPDATE - org.apache.torque.sql.Query.Type
-
The instance contains the parts of an update statement.
- updateQuantity(Connection, String, BigDecimal) - Method in class org.apache.torque.oid.IDBroker
-
Helper method to update a row in the ID_TABLE.
- useEscapeClauseForLike() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Whether an escape clause in like should be used.
- useEscapeClauseForLike() - Method in interface org.apache.torque.adapter.Adapter
-
Whether an escape clause in like should be used.
- useEscapeClauseForLike() - Method in class org.apache.torque.adapter.DerbyAdapter
-
Whether an escape clause in like should be used.
- useEscapeClauseForLike() - Method in class org.apache.torque.adapter.HsqldbAdapter
-
Whether an escape clause in like should be used.
- useEscapeClauseForLike() - Method in class org.apache.torque.adapter.MssqlAdapter
-
Whether an escape clause in like should be used.
- useEscapeClauseForLike() - Method in class org.apache.torque.adapter.OracleAdapter
-
Whether an escape clause in like should be used.
- useGetGeneratedKeys() - Method in class org.apache.torque.adapter.AbstractAdapter
-
whether Statement#getGeneratedKeys() should be used.
- useGetGeneratedKeys() - Method in interface org.apache.torque.adapter.Adapter
-
whether Statement#getGeneratedKeys() should be used.
- useGetGeneratedKeys() - Method in class org.apache.torque.adapter.DerbyAdapter
-
Derby supports this feature but does not report it via JDBC
- useIlike() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Whether ILIKE should be used for case insensitive like clauses.
- useIlike() - Method in interface org.apache.torque.adapter.Adapter
-
Whether ILIKE should be used for case insensitive like clauses.
- useIlike() - Method in class org.apache.torque.adapter.PostgresAdapter
-
Whether ILIKE should be used for case insensitive like clauses.
- useMinusForExcept() - Method in class org.apache.torque.adapter.AbstractAdapter
-
Whether to use the MINUS operator instead of the EXCEPT operator.
- useMinusForExcept() - Method in interface org.apache.torque.adapter.Adapter
-
Whether to use the MINUS operator instead of the EXCEPT operator.
- useMinusForExcept() - Method in class org.apache.torque.adapter.OracleAdapter
-
Whether to use the MINUS operator instead of the EXCEPT operator.
V
- valueOf(String) - Static method in enum org.apache.torque.adapter.IDMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.torque.criteria.JoinType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.torque.sql.Query.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.torque.adapter.IDMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.torque.criteria.JoinType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.torque.sql.Query.Type
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Method in class org.apache.torque.util.ColumnValues
- VerbatimSqlConditionBuilder - Class in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression containing a verbatim SQL condition.
- VerbatimSqlConditionBuilder() - Constructor for class org.apache.torque.sql.whereclausebuilder.VerbatimSqlConditionBuilder
W
- where(Object, Object) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s a new condition with the conditions in this Criteria.
- where(Object, Object, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s a new condition with the conditions in this Criteria.
- where(Criterion) - Method in class org.apache.torque.criteria.Criteria
-
"AND"s Criterion object with the conditions in this Criteria.
- WhereClauseExpression - Class in org.apache.torque.sql
-
The raw values for a part of the where clause of a SQL statement, either of the form lValue operator rValue, e.g.
- WhereClauseExpression(Object, SqlEnum, Object, String, Object[]) - Constructor for class org.apache.torque.sql.WhereClauseExpression
-
Constructor.
- WhereClausePsPartBuilder - Interface in org.apache.torque.sql.whereclausebuilder
-
Builds a PreparedStatementPart from a WhereClauseExpression.
- whereDate(Object, int, int, int) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a new date comparison with the conditions in this Criteria.
- whereDate(Object, int, int, int, SqlEnum) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a new date comparison with the conditions in this Criteria.
- whereIn(Object, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "in" comparison with the conditions in this Criteria.
- whereIn(Object, Collection<?>) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "in" comparison with the conditions in this Criteria.
- whereNotIn(Object, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "not in" comparison with the conditions in this Criteria.
- whereNotIn(Object, Collection<?>) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a "not in" comparison with the conditions in this Criteria.
- whereVerbatimSql(String, Object[]) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a verbatim sql condition to this Criteria.
- whereVerbatimSql(String, Object[], Column, Column) - Method in class org.apache.torque.criteria.Criteria
-
Convenience method to AND a verbatim sql condition to this Criteria.
All Classes All Packages