A B C D E F G H I J K L M N O P Q R S T U V W X

A

ALL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
ALL - Static variable in class org.apache.torque.util.SqlEnum
 
ALT_NOT_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
ALT_NOT_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
AND - Static variable in class org.apache.torque.util.Criteria.Criterion
 
AND - Static variable in class org.apache.torque.util.Query
 
ASC - Static variable in class org.apache.torque.util.Criteria
"Order by" qualifier - ascending
ASC - Static variable in class org.apache.torque.util.SqlEnum
 
AUTO_INCREMENT - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via auto-increment.
AbstractBaseManager - class org.apache.torque.manager.AbstractBaseManager.
This class contains common functionality of a Manager for instantiating OM's.
AbstractBaseManager() - Constructor for class org.apache.torque.manager.AbstractBaseManager
 
AbstractDataSourceFactory - class org.apache.torque.dsfactory.AbstractDataSourceFactory.
A class that contains common functionality of the factories in this package.
AbstractDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.AbstractDataSourceFactory
 
AppData - class org.apache.torque.engine.database.model.AppData.
A class for holding application data structures.
AppData(String, String) - Constructor for class org.apache.torque.engine.database.model.AppData
Creates a new instance for the specified database type.
AutoIncrementIdGenerator - class org.apache.torque.oid.AutoIncrementIdGenerator.
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(DB) - Constructor for class org.apache.torque.oid.AutoIncrementIdGenerator
Creates an IdGenerator which will work with the specified database.
abstractValue - Variable in class org.apache.torque.engine.database.model.Table
 
acquireConstraintName(String, int) - Method in class org.apache.torque.engine.database.model.Table
Macro to a constraint name.
adapterMap - Static variable in class org.apache.torque.Torque
The cache of DB adapter keys
adapters - Static variable in class org.apache.torque.adapter.DBFactory
JDBC driver to Torque Adapter map.
add(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
add(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
add(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
add(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
add(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
add(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
add(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
add(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
add(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
add(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
add(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
add(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
addAlias(String, String) - Method in class org.apache.torque.util.Criteria
Allows one to specify an alias for a table that can be used in various parts of the SQL.
addAsColumn(String, String) - Method in class org.apache.torque.util.Criteria
Add an AS clause to the select columns.
addAscendingOrderByColumn(String) - Method in class org.apache.torque.util.Criteria
Add order by column name, explicitly specifying ascending.
addCacheListenerImpl(CacheListener) - Method in class org.apache.torque.manager.AbstractBaseManager
 
addColumn(Attributes) - Method in class org.apache.torque.engine.database.model.Index
Adds a new column to an index.
addColumn(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new column from attrib and add it to this table.
addColumn(Column) - Method in class org.apache.torque.engine.database.model.Table
Adds a new column to the column list and set the parent table of the column to the current table
addColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
Add a pre-created column to this table.
addColumn(String, Object) - Method in class org.apache.torque.map.TableMap
Add a column to this table of a certain type.
addColumn(String, Object, int) - Method in class org.apache.torque.map.TableMap
Add a column to this table of a certain type and size.
addColumn(String, Object, boolean, String, String, int) - Method in class org.apache.torque.map.TableMap
Add a column to the table.
addCriterionTable(Criteria.Criterion, StringStack) - Method in class org.apache.torque.util.Criteria.Criterion
method supporting recursion through all criterions to give us a StringStack of tables from each criterion
addDatabase(Attributes) - Method in class org.apache.torque.engine.database.model.AppData
An utility method to add a new database from an xml attribute.
addDatabase(Database) - Method in class org.apache.torque.engine.database.model.AppData
Add a database to the list and sets the AppData property to this AppData
addDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
addDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
addDescendingOrderByColumn(String) - Method in class org.apache.torque.util.Criteria
Add order by column name, explicitly specifying descending.
addFileset(FileSet) - Method in class org.apache.torque.task.TorqueDataModelTask
Adds a set of xml schema files (nested fileset attribute).
addForeignKey(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new foreign key from attrib and add it to this table.
addForeignKey(ForeignKey) - Method in class org.apache.torque.engine.database.model.Table
Adds a new FK to the FK list and set the parent table of the column to the current table
addForeignKey(String, Object, String, String) - Method in class org.apache.torque.map.TableMap
Add a foreign key column to the table.
addForeignKey(String, Object, String, String, int) - Method in class org.apache.torque.map.TableMap
Add a foreign key column to the table.
addForeignPrimaryKey(String, Object, String, String) - Method in class org.apache.torque.map.TableMap
Add a foreign primary key column to the table.
addForeignPrimaryKey(String, Object, String, String, int) - Method in class org.apache.torque.map.TableMap
Add a foreign primary key column to the table.
addGroupByColumn(String) - Method in class org.apache.torque.util.Criteria
Add group by column name.
addHaving(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria as a having clause.
addIdGenerator(String, IdGenerator) - Method in class org.apache.torque.map.DatabaseMap
Add a type of id generator for access by a TableMap.
addIdMethodParameter(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new id method parameter from attrib and add it to this table.
addIdMethodParameter(IdMethodParameter) - Method in class org.apache.torque.engine.database.model.Table
Adds a new ID method parameter to the list and sets the parent table of the column associated with the supplied parameter to this table.
addIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
addIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
addIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
addIndex(Index) - Method in class org.apache.torque.engine.database.model.Table
Adds a new index to the index list and set the parent table of the column to the current table
addIndex(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new index from attrib and add it to this table.
addInheritance(Attributes) - Method in class org.apache.torque.engine.database.model.Column
A utility function to create a new column from attrib and add it to this table.
addInheritance(Inheritance) - Method in class org.apache.torque.engine.database.model.Column
Adds a new inheritance definition to the inheritance list and set the parent column of the inheritance to the current column
addJoin(String, String) - Method in class org.apache.torque.util.Criteria
This is the way that you should add a join of two tables.
addNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
addNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
addNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
addOrderByColumn(String) - Method in class org.apache.torque.util.Criteria
Deprecated. Use addAscendingOrderByColumn() instead.
addPrimaryKey(String, Object) - Method in class org.apache.torque.map.TableMap
Add a primary key column to this Table.
addPrimaryKey(String, Object, int) - Method in class org.apache.torque.map.TableMap
Add a primary key column to this Table.
addReference(Attributes) - Method in class org.apache.torque.engine.database.model.ForeignKey
Adds a new reference entry to the foreign key
addReference(String, String) - Method in class org.apache.torque.engine.database.model.ForeignKey
Adds a new reference entry to the foreign key
addReferrer(ForeignKey) - Method in class org.apache.torque.engine.database.model.Column
Adds the foreign key from another table that refers to this column.
addReferrer(ForeignKey) - Method in class org.apache.torque.engine.database.model.Table
Adds the foreign key from another table that refers to this table.
addSelectColumn(String) - Method in class org.apache.torque.util.Criteria
Add select column.
addTable(Attributes) - Method in class org.apache.torque.engine.database.model.Database
An utility method to add a new table from an xml attribute.
addTable(Table) - Method in class org.apache.torque.engine.database.model.Database
Add a table to the list and sets the Database property to this Database
addTable(String) - Method in class org.apache.torque.map.DatabaseMap
Add a new table to the database by name.
addTable(String, int) - Method in class org.apache.torque.map.DatabaseMap
Add a new table to the database by name.
addTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Add a new TableMap to the database.
addText(String) - Method in class org.apache.torque.task.TorqueSQLExec.Transaction
 
addText(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the sql command to execute
addTime(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Deprecated. These methods were wrongly named and are misleading. Use addDate() instead.
addTime(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Deprecated. These methods were wrongly named and are misleading. Use addDate() instead.
addUnique(Unique) - Method in class org.apache.torque.engine.database.model.Table
Adds a new Unique to the Unique list and set the parent table of the column to the current table
addUnique(Attributes) - Method in class org.apache.torque.engine.database.model.Table
A utility function to create a new Unique from attrib and add it to this table.
addedObject(Persistent) - Method in interface org.apache.torque.manager.CacheListener
 
alfa - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
alfanum - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
algorithms - Variable in class org.apache.torque.engine.database.model.NameFactory
The cache of NameGenerator algorithms in use for name generation, keyed by fully qualified class name.
alias - Variable in class org.apache.torque.engine.database.model.Table
 
aliases - Variable in class org.apache.torque.util.Criteria
 
alreadyReadFiles - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
remember all files we have already parsed to detect looping.
ancestor - Variable in class org.apache.torque.engine.database.model.Inheritance
 
and(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria.Criterion
Append an AND Criterion onto this Criterion's list.
and(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
and(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
and(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
and(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
and(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
and(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
and(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
and(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
and(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
and(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
and(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
and(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
andDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
andDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
andIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
andIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
andIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
andNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
andNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
andNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
app - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
appData - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
appDataDB - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
appendPsTo(StringBuffer, List) - Method in class org.apache.torque.util.Criteria.Criterion
Appends a Prepared Statement representation of the Criterion onto the buffer.
appendTo(StringBuffer) - Method in class org.apache.torque.om.ComboKey
 
appendTo(StringBuffer) - Method in class org.apache.torque.om.ObjectKey
Appends a String representation of the key to a buffer.
appendTo(StringBuffer) - Method in class org.apache.torque.util.Criteria.Criterion
Appends a representation of the Criterion onto the 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
arg1 - Variable in class org.apache.torque.manager.MethodCacheKey
 
arg2 - Variable in class org.apache.torque.manager.MethodCacheKey
 
arg3 - Variable in class org.apache.torque.manager.MethodCacheKey
 
asColumns - Variable in class org.apache.torque.util.Criteria
 
autocommit - Variable in class org.apache.torque.task.TorqueSQLExec
Autocommit flag.

B

BACKSLASH - Static variable in class org.apache.torque.util.SqlExpression
 
BETWEEN - Static variable in class org.apache.torque.util.Query
 
BIGINT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIGINT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BINARY_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BIT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BLOB - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BLOB_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BLOB_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BLOB_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANCHAR_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BOOLEANINT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
BaseObject - class org.apache.torque.om.BaseObject.
This class contains attributes and methods that are used by all business objects within the system.
BaseObject() - Constructor for class org.apache.torque.om.BaseObject
 
BasePeer - class org.apache.torque.util.BasePeer.
This is the base class for all Peer classes in the system.
BasePeer() - Constructor for class org.apache.torque.util.BasePeer
 
baseClass - Variable in class org.apache.torque.engine.database.model.Database
 
baseClass - Variable in class org.apache.torque.engine.database.model.Table
 
basePathToDbProps - Variable in class org.apache.torque.task.TorqueDataModelTask
The path to properties file containing db idiosyncrasies is constructed by appending the "getTargetDatabase()/db.props to this path.
basePeer - Variable in class org.apache.torque.engine.database.model.Database
 
basePeer - Variable in class org.apache.torque.engine.database.model.Table
 
basePropsFilePath - Variable in class org.apache.torque.engine.database.model.AppData
The base of the path to the properties file, including trailing slash.
basePropsFilePath - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
begin(String) - Static method in class org.apache.torque.util.Transaction
Begin a transaction.
beginOptional(String, boolean) - Static method in class org.apache.torque.util.Transaction
Begin a transaction.
bindDStoJndi(Context, String, Object) - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
 
blobFlag - Variable in class org.apache.torque.util.Criteria
 
blockBegin - Variable in class org.apache.torque.util.LargeSelect
The record number of the first record in memory.
blockEnd - Variable in class org.apache.torque.util.LargeSelect
The record number of the last record in memory.
build(String, Object, SqlEnum) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
build(String, Object, SqlEnum, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
build(String, Object, SqlEnum, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Builds a simple SQL expression.
buildIn(String, Object, SqlEnum, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Takes a columnName and criteria (which must be an array) and builds a SQL 'IN' expression taking into account the ignoreCase flag.
buildIn(String, Object, SqlEnum, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Takes a columnName and criteria (which must be an array) and builds a SQL 'IN' expression taking into account the ignoreCase flag.
buildInnerJoin(String, String) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildInnerJoin(String, String, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildInnerJoin(String, String, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Used to specify a join on two columns.
buildLike(String, String, SqlEnum, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Takes a columnName and criteria and builds an SQL phrase based on whether wildcards are present and the state of the ignoreCase flag.
buildLike(String, String, SqlEnum, boolean, DB, StringBuffer) - Static method in class org.apache.torque.util.SqlExpression
Takes a columnName and criteria and builds an SQL phrase based on whether wildcards are present and the state of the ignoreCase flag.
byteValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a byte.

C

CACHE_KEY - Static variable in class org.apache.torque.Torque
property to determine whether caching is used.
CHAR - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CHAR_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CHAR_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CHAR_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CHAR_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CLOB - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CLOB_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CLOB_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CLOB_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
CONNECTION_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
"connection" Key for the configuration
CONSTRAINT_GENERATOR - Static variable in class org.apache.torque.engine.database.model.NameFactory
The fully qualified class name of the constraint name generator.
CONV_METHOD_JAVANAME - Static variable in interface org.apache.torque.engine.database.model.NameGenerator
Similar to NameGenerator.CONV_METHOD_UNDERSCORE except nothing is converted to lowercase.
CONV_METHOD_NOCHANGE - Static variable in interface org.apache.torque.engine.database.model.NameGenerator
Specifies no modification when converting from a schema column or table name to a java name.
CONV_METHOD_UNDERSCORE - Static variable in interface org.apache.torque.engine.database.model.NameGenerator
Traditional method for converting schema table and column names to java names.
CURRENT_DATE - Static variable in class org.apache.torque.util.Criteria
"CURRENT_DATE" ANSI SQL function
CURRENT_DATE - Static variable in class org.apache.torque.util.SqlEnum
 
CURRENT_TIME - Static variable in class org.apache.torque.util.Criteria
"CURRENT_TIME" ANSI SQL function
CURRENT_TIME - Static variable in class org.apache.torque.util.SqlEnum
 
CUSTOM - Static variable in class org.apache.torque.util.Criteria
Comparison type.
CUSTOM - Static variable in class org.apache.torque.util.SqlEnum
 
CacheListener - interface org.apache.torque.manager.CacheListener.
Listener for cache events
Column - class org.apache.torque.engine.database.model.Column.
A Class for holding data about a column used in an Application.
Column() - Constructor for class org.apache.torque.engine.database.model.Column
Creates a new instance with a null name.
Column(String) - Constructor for class org.apache.torque.engine.database.model.Column
Creates a new column and set the name
ColumnMap - class org.apache.torque.map.ColumnMap.
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.
ComboKey - class org.apache.torque.om.ComboKey.
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
Creates an ComboKey whose internal representation will be set later, through a set method
ComboKey(SimpleKey[]) - Constructor for class org.apache.torque.om.ComboKey
Creates a ComboKey whose internal representation is an array of SimpleKeys.
ComboKey(String[]) - Constructor for class org.apache.torque.om.ComboKey
Deprecated. ambiguous unnecessary ctor will be removed.
ComboKey(String) - Constructor for class org.apache.torque.om.ComboKey
Sets the internal representation to a String array.
ConnectionPool - class org.apache.torque.pool.ConnectionPool.
This class implements a simple connection pooling scheme.
ConnectionPool(ConnectionPoolDataSource, String, String, int, int, int, int, PrintWriter) - Constructor for class org.apache.torque.pool.ConnectionPool
Creates a ConnectionPool with the default attributes.
ConnectionPool.Monitor - class org.apache.torque.pool.ConnectionPool.Monitor.
This inner class monitors the PoolBrokerService.
ConnectionPool.Monitor() - Constructor for class org.apache.torque.pool.ConnectionPool.Monitor
 
ConnectionWaitTimeoutException - exception org.apache.torque.pool.ConnectionWaitTimeoutException.
Thrown to indicate that
ConnectionWaitTimeoutException(String) - Constructor for class org.apache.torque.pool.ConnectionWaitTimeoutException
Creates an wait time out exception for the specified database URL.
ConstraintNameGenerator - class org.apache.torque.engine.database.model.ConstraintNameGenerator.
A NameGenerator implementation for table-specific constraints.
ConstraintNameGenerator() - Constructor for class org.apache.torque.engine.database.model.ConstraintNameGenerator
 
Create() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses a CREATE TABLE FOO command.
Create_Table() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses a CREATE TABLE sql command
Create_Table_Column(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses column information between the braces of a CREATE TABLE () sql statement.
Create_Table_Column_Data(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parse the data definition of the column statement.
Create_Table_Column_Foreign(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses FOREIGN KEY (BAR) REFERENCES TABLE (BAR) statement
Create_Table_Column_Primary(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses PRIMARY KEY (FOO,BAR) statement
Create_Table_Column_Unique(Table) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Parses UNIQUE (NAME,FOO,BAR) statement
Criteria - class org.apache.torque.util.Criteria.
This is a utility class that is used for retrieving different types of values from a hashtable based on a simple name string.
Criteria() - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the default capacity.
Criteria(int) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the specified capacity.
Criteria(String) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the default capacity which corresponds to the specified database.
Criteria(String, int) - Constructor for class org.apache.torque.util.Criteria
Creates a new instance with the specified capacity which corresponds to the specified database.
Criteria.Criterion - class org.apache.torque.util.Criteria.Criterion.
This is an inner class that describes an object in the criteria.
Criteria.Criterion(Object, SqlEnum) - Constructor for class org.apache.torque.util.Criteria.Criterion
Creates a new instance, initializing a couple members.
Criteria.Criterion(String, String, Object, SqlEnum) - Constructor for class org.apache.torque.util.Criteria.Criterion
Create a new instance.
Criteria.Criterion(String, Object, SqlEnum) - Constructor for class org.apache.torque.util.Criteria.Criterion
Create a new instance.
Criteria.Criterion(String, String, Object) - Constructor for class org.apache.torque.util.Criteria.Criterion
Create a new instance.
Criteria.Criterion(String, Object) - Constructor for class org.apache.torque.util.Criteria.Criterion
Create a new instance.
cache - Variable in class org.apache.torque.manager.AbstractBaseManager
used to cache the om objects.
cacheGet(Serializable) - Method in class org.apache.torque.manager.AbstractBaseManager
 
captureStackTrace() - Method in class org.apache.torque.TorqueRuntimeException
Captures the stack trace associated with this exception.
captureStackTrace(Throwable) - Method in class org.apache.torque.TorqueRuntimeException
Captures the stack trace associated with a Throwable object.
cascade - Variable in class org.apache.torque.util.Criteria
 
category - Static variable in class org.apache.torque.Torque
The logging category.
category - Static variable in class org.apache.torque.manager.AbstractBaseManager
the log
category - Variable in class org.apache.torque.oid.IDBroker
Category used for logging.
category - Static variable in class org.apache.torque.oid.SequenceIdGenerator
The log.
category - Static variable in class org.apache.torque.util.BasePeer
 
category - Static variable in class org.apache.torque.util.Criteria
Log4j category used for logging.
category - Static variable in class org.apache.torque.util.Transaction
The log.
checkTiming(String) - Method in class org.apache.torque.oid.IDBroker
Check the frequency of retrieving new ids from the database.
chr - Variable in class org.apache.torque.engine.sql.SQLScanner
 
className - Variable in class org.apache.torque.engine.database.model.Inheritance
 
className - Variable in class org.apache.torque.manager.AbstractBaseManager
 
classpath - Variable in class org.apache.torque.task.TorqueSQLExec
 
clauses - Variable in class org.apache.torque.util.Criteria.Criterion
other connected criteria and their conjunctions.
cleanup() - Method in class org.apache.torque.task.TorqueDataDumpTask
Closes the db-connection, overriding the cleanup() hook method in TexenTask.
clear() - Method in class org.apache.torque.manager.MethodResultCache
 
clear() - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
clear() - Method in class org.apache.torque.util.Criteria
Brings this criteria back to its initial state, so that it can be reused as if it was new.
clearImpl() - Method in class org.apache.torque.manager.AbstractBaseManager
 
closeConnection(Connection) - Static method in class org.apache.torque.Torque
Closes a connection.
closePooledConnection(PooledConnection) - Method in class org.apache.torque.pool.ConnectionPool
 
col - Variable in class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
col - Variable in class org.apache.torque.engine.sql.SQLScanner
 
col - Variable in class org.apache.torque.engine.sql.Token
 
column - Variable in class org.apache.torque.util.Criteria.Criterion
Column name.
columnList - Variable in class org.apache.torque.engine.database.model.Table
 
columnName - Variable in class org.apache.torque.map.ColumnMap
The name of the column.
columnTableMap - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
Hashtable to track what table a column belongs to.
columnType - Variable in class org.apache.torque.engine.database.model.Column
 
columnValues - Variable in class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
columns - Variable in class org.apache.torque.map.TableMap
The columns in the table.
columnsByJavaName - Variable in class org.apache.torque.engine.database.model.Table
 
columnsByName - Variable in class org.apache.torque.engine.database.model.Table
 
commentDash - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
commentPound - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
commentSlash - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
commentStar - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
commit(Connection) - Static method in class org.apache.torque.util.Transaction
Commit a transaction.
compareTo(Object) - Method in class org.apache.torque.om.NumberKey
 
compareTo(Object) - Method in class org.apache.torque.om.ObjectKey
Implements the compareTo method.
comparison - Variable in class org.apache.torque.util.Criteria.Criterion
Comparison value.
configuration - Static variable in class org.apache.torque.Torque
Torque-specific configuration.
configuration - Variable in class org.apache.torque.oid.IDBroker
 
configure(Configuration) - Method in class org.apache.torque.Torque
configure torque
configureLogging() - Static method in class org.apache.torque.Torque
Configure the logging for this subsystem.
conjunctions - Variable in class org.apache.torque.util.Criteria.Criterion
 
conn - Variable in class org.apache.torque.task.TorqueDataDumpTask
The database connection used to retrieve the data to dump.
conn - Variable in class org.apache.torque.task.TorqueSQLExec
Database connection
connectionClosed(ConnectionEvent) - Method in class org.apache.torque.pool.ConnectionPool
This will be called if the Connection returned by the getConnection method came from a PooledConnection, and the user calls the close() method of this connection object.
connectionErrorOccurred(ConnectionEvent) - Method in class org.apache.torque.pool.ConnectionPool
If a fatal error occurs, close the underlying physical connection so as not to be returned in the future
connectionWaitTimeout - Variable in class org.apache.torque.pool.ConnectionPool
Amount of time a thread asking the pool for a cached connection will wait before timing out and throwing an error.
connectionWaitTimeout - Variable in class org.apache.torque.pool.TorqueClassicDataSource
time to wait when initiating a connection for the database to respond
containsColumn(Column) - Method in class org.apache.torque.engine.database.model.Table
Returns true if the table contains a specified column
containsColumn(String) - Method in class org.apache.torque.engine.database.model.Table
Returns true if the table contains a specified column
containsColumn(ColumnMap) - Method in class org.apache.torque.map.TableMap
Does this table contain the specified column?
containsColumn(String) - Method in class org.apache.torque.map.TableMap
Does this table contain the specified column?
containsForeignPK - Variable in class org.apache.torque.engine.database.model.Table
 
containsKey(String, String) - Method in class org.apache.torque.util.Criteria
Does this Criteria Object contain the specified key?
containsObjectColumn() - Method in class org.apache.torque.map.TableMap
Returns true if this tableMap contains a column with object data.
containsObjectColumn() - Method in class org.apache.torque.util.Criteria
Returns true if any of the tables in the criteria contain an Object column.
containsObjectColumn(String) - Method in class org.apache.torque.util.Criteria
Deprecated. not sure why anyone would need to use this outside of its use in BasePeer, but it was public, so its now deprecated. It was used to decide whether a transaction should be used, this can be done with the useTransaction() method.
containsTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Does this database contain this specific table?
containsTable(String) - Method in class org.apache.torque.map.DatabaseMap
Does this database contain this specific table?
context - Variable in class org.apache.torque.task.TorqueDataModelTask
Velocity context which exposes our objects in the templates.
count - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
cpds - Variable in class org.apache.torque.pool.ConnectionPool
The ConnectionPoolDataSource
cpds - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Pool Data Source that is used to fetch connections
cpdsCounter - Static variable in class org.apache.torque.pool.TorqueClassicDataSource
Counter used to create an internal unique name od the Data Source
create(String) - Static method in class org.apache.torque.adapter.DBFactory
Creates a new instance of the Turbine database adapter associated with the specified JDBC driver or adapter key.
create(DB) - Static method in class org.apache.torque.oid.IDGeneratorFactory
Factory method which instantiates IdGenerator implementations based on the return value of the provided adapter's DB.getIDMethodType() method.
createClasspath() - Method in class org.apache.torque.task.TorqueSQLExec
Create the classpath for loading the driver.
createName() - Method in class org.apache.torque.engine.database.model.Index
 
createPreparedStatement(Criteria, StringBuffer, List) - Static method in class org.apache.torque.util.BasePeer
Create a new PreparedStatement.
createQuery(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to create an SQL query based on values in a Criteria.
createQueryDisplayString(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to create an SQL query for display only based on values in a Criteria.
createQueryString(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to create an SQL query for actual execution based on values in a Criteria.
createSqlDbMap() - Method in class org.apache.torque.task.TorqueSQLTask
create the sql -> database map.
createSubsetList(String) - Method in class org.apache.torque.manager.AbstractBaseManager
 
criteria - Variable in class org.apache.torque.util.LargeSelect
The criteria used for the query.
ctx - Variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
The context to get the resource from.
curIndex - Variable in class org.apache.torque.task.TorqueDataDumpTask.TableTool
 
curRec - Variable in class org.apache.torque.task.TorqueDataDumpTask.TableTool
 
currColumn - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currDB - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currFK - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currIndex - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currTable - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currUnique - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currentPackage - Variable in class org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement
 
currentPackage - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currentPageNumber - Variable in class org.apache.torque.util.LargeSelect
The number of the page that was last retrieved.
currentXmlFile - Variable in class org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement
 
currentXmlFile - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
currentlyFilledTo - Variable in class org.apache.torque.util.LargeSelect
How much of the memory block is currently occupied with result data.

D

DATABASE_DEFAULT - Static variable in class org.apache.torque.Torque
Name of property that specifies the default map builder and map.
DATE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DATE_FORMAT - Static variable in class org.apache.torque.adapter.DBMM
A specialized date format for MySQL.
DATE_FORMAT - Static variable in class org.apache.torque.adapter.DBSybase
date format
DATE_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DATE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DATE_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DATE_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DB - class org.apache.torque.adapter.DB.
DB defines the interface for a Turbine database adapter.
DB() - Constructor for class org.apache.torque.adapter.DB
Empty constructor.
DBAxion - class org.apache.torque.adapter.DBAxion.
This is used to connect to Hypersonic SQL databases.
DBAxion() - Constructor for class org.apache.torque.adapter.DBAxion
Constructor.
DBCloudscape - class org.apache.torque.adapter.DBCloudscape.
This is used to connect to Cloudscape SQL databases.
DBCloudscape() - Constructor for class org.apache.torque.adapter.DBCloudscape
Constructor.
DBDB2400 - class org.apache.torque.adapter.DBDB2400.
Turbine Database Adapter for DB2/400 on the IBM AS400 platform.
DBDB2400() - Constructor for class org.apache.torque.adapter.DBDB2400
DBDB2400 constructor.
DBDB2App - class org.apache.torque.adapter.DBDB2App.
This is used to connect via the Application-Driver to DB2 databases.
DBDB2App() - Constructor for class org.apache.torque.adapter.DBDB2App
Empty constructor.
DBDB2Net - class org.apache.torque.adapter.DBDB2Net.
This is used to connect via the NET-Driver to DB2 databases.
DBDB2Net() - Constructor for class org.apache.torque.adapter.DBDB2Net
Empty constructor.
DBFactory - class org.apache.torque.adapter.DBFactory.
This class creates different DB objects based on specified JDBC driver name.
DBFactory() - Constructor for class org.apache.torque.adapter.DBFactory
 
DBHypersonicSQL - class org.apache.torque.adapter.DBHypersonicSQL.
This is used to connect to Hypersonic SQL databases.
DBHypersonicSQL() - Constructor for class org.apache.torque.adapter.DBHypersonicSQL
Constructor.
DBInformix - class org.apache.torque.adapter.DBInformix.
This code should be used for an Informix database pool.
DBInformix() - Constructor for class org.apache.torque.adapter.DBInformix
Empty constructor.
DBInstantDB - class org.apache.torque.adapter.DBInstantDB.
This is used to connect to InstantDB databases.
DBInstantDB() - Constructor for class org.apache.torque.adapter.DBInstantDB
Empty constructor.
DBInterbase - class org.apache.torque.adapter.DBInterbase.
This code should be used for an Interbase database pool.
DBInterbase() - Constructor for class org.apache.torque.adapter.DBInterbase
 
DBMM - class org.apache.torque.adapter.DBMM.
This is used in order to connect to a MySQL database using the MM drivers.
DBMM() - Constructor for class org.apache.torque.adapter.DBMM
Empty protected constructor.
DBMSSQL - class org.apache.torque.adapter.DBMSSQL.
This is used to connect to a MSSQL database.
DBMSSQL() - Constructor for class org.apache.torque.adapter.DBMSSQL
Empty constructor.
DBNone - class org.apache.torque.adapter.DBNone.
This DatabaseHandler is used when you do not have a database installed.
DBNone() - Constructor for class org.apache.torque.adapter.DBNone
Empty protected constructor.
DBOdbc - class org.apache.torque.adapter.DBOdbc.
This is used to connect to ODBC Bridged databases on Win32 Platforms.
DBOdbc() - Constructor for class org.apache.torque.adapter.DBOdbc
Empty constructor.
DBOracle - class org.apache.torque.adapter.DBOracle.
This code should be used for an Oracle database pool.
DBOracle() - Constructor for class org.apache.torque.adapter.DBOracle
Empty constructor.
DBPostgres - class org.apache.torque.adapter.DBPostgres.
This is used to connect to PostgresQL databases.
DBPostgres() - Constructor for class org.apache.torque.adapter.DBPostgres
Empty constructor.
DBSapDB - class org.apache.torque.adapter.DBSapDB.
This is used to connect to SapDB databases.
DBSapDB() - Constructor for class org.apache.torque.adapter.DBSapDB
Empty constructor.
DBSybase - class org.apache.torque.adapter.DBSybase.
This is used to connect to a Sybase database using Sybase's JConnect JDBC driver.
DBSybase() - Constructor for class org.apache.torque.adapter.DBSybase
Empty constructor.
DBWeblogic - class org.apache.torque.adapter.DBWeblogic.
This code should be used for a Weblogic database pool.
DBWeblogic() - Constructor for class org.apache.torque.adapter.DBWeblogic
Empty constructor.
DB_IDBROKER_CLEVERQUANTITY - Static variable in class org.apache.torque.oid.IDBroker
 
DB_IDBROKER_PREFETCH - Static variable in class org.apache.torque.oid.IDBroker
 
DB_IDBROKER_USENEWCONNECTION - Static variable in class org.apache.torque.oid.IDBroker
 
DEBUG - Static variable in class org.apache.torque.engine.database.model.ConstraintNameGenerator
Conditional compilation flag.
DEBUG - Static variable in class org.apache.torque.engine.database.model.Index
enables debug output
DEBUG - Static variable in class org.apache.torque.engine.database.model.Table
enables debug output
DEBUG - Static variable in class org.apache.torque.engine.database.transform.XmlToAppData
enables debug output
DECIMAL - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DECIMAL_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DECIMAL_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DECIMAL_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DECIMAL_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DEFAULT_CAPACITY - Static variable in class org.apache.torque.util.Criteria
 
DEFAULT_CONNECTION_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
"default.connection" Key for the configuration
DEFAULT_MAP_BUILDER - Static variable in class org.apache.torque.util.BasePeer
The Turbine default MapBuilder.
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 - you can provide your own default value using setMemoryPageLimit().
DEFAULT_MORE_INDICATOR - Static variable in class org.apache.torque.util.LargeSelect
The default value (">") used to indicate that the total number of records or pages is unknown.
DEFAULT_NAME - Static variable in class org.apache.torque.Torque
A constant for default.
DEFAULT_POOL_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
"default.pool" Key for the configuration
DEFAULT_SIZE - Static variable in class org.apache.torque.oid.IDBroker
The default size of the per-table meta data Hashtable objects.
DESC - Static variable in class org.apache.torque.util.Criteria
"Order by" qualifier - descending
DESC - Static variable in class org.apache.torque.util.SqlEnum
 
DISTINCT - Static variable in class org.apache.torque.util.Criteria
Comparison type.
DISTINCT - Static variable in class org.apache.torque.util.SqlEnum
 
DOUBLE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DOUBLE_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
DTDResolver - class org.apache.torque.engine.database.transform.DTDResolver.
A resolver to get the database.dtd file for the XML parser from the jar.
DTDResolver() - Constructor for class org.apache.torque.engine.database.transform.DTDResolver
constructor
DataSourceFactory - interface org.apache.torque.dsfactory.DataSourceFactory.
A factory that returns a DataSource.
Database - class org.apache.torque.engine.database.model.Database.
A class for holding application data structures.
Database() - Constructor for class org.apache.torque.engine.database.model.Database
Creates a new instance with unset attributes.
DatabaseMap - class org.apache.torque.map.DatabaseMap.
DatabaseMap is used to model a database.
DatabaseMap() - Constructor for class org.apache.torque.map.DatabaseMap
Required by proxy.
DatabaseMap(String, int) - Constructor for class org.apache.torque.map.DatabaseMap
Constructor.
DatabaseMap(String) - Constructor for class org.apache.torque.map.DatabaseMap
Constructor.
DateKey - class org.apache.torque.om.DateKey.
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
Creates an DateKey whose internal representation will be set later, through a set method
DateKey(String) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey whose internal representation is a Date given by the long number given by the String
DateKey(Date) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey
DateKey(DateKey) - Constructor for class org.apache.torque.om.DateKey
Creates a DateKey that is equivalent to key.
data - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
dataDTD - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
dataDTD - Variable in class org.apache.torque.task.TorqueDataSQLTask
the data dtd file
dataModelDbMap - Variable in class org.apache.torque.task.TorqueDataModelTask
Map of data model name to database name.
dataModels - Variable in class org.apache.torque.task.TorqueDataModelTask
Data models that we collect.
dataSourceName - Variable in class org.apache.torque.pool.TorqueClassicDataSource
DataSource Name used to find the ConnectionPoolDataSource
dataXmlFile - Variable in class org.apache.torque.task.TorqueDataSQLTask
the XML data file
database - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
database - Variable in class org.apache.torque.task.TorqueSQLTask
 
databaseDTD - Variable in class org.apache.torque.engine.database.transform.DTDResolver
InputSource for database.dtd.
databaseDriver - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database driver used for JDBC connection.
databaseName - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database name.
databaseNames - Variable in class org.apache.torque.task.TorqueDataModelTask
Hashtable containing the names of all the databases in our collection of schemas.
databaseNode - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
The document root element.
databasePassword - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database password used for JDBC connection.
databaseType - Variable in class org.apache.torque.engine.database.model.AppData
The type for our databases.
databaseType - Variable in class org.apache.torque.engine.database.model.Database
 
databaseType - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
databaseUrl - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database URL used for JDBC connection.
databaseUser - Variable in class org.apache.torque.task.TorqueDataDumpTask
Database user used for JDBC connection.
db - Variable in class org.apache.torque.util.Criteria.Criterion
The DB adaptor which might be used to get db specific variations of sql.
db - Variable in class org.apache.torque.util.LargeSelect
The connection to the database.
dbAdapter - Variable in class org.apache.torque.oid.AutoIncrementIdGenerator
the adapter that knows the correct sql syntax
dbAdapter - Variable in class org.apache.torque.oid.SequenceIdGenerator
the adapter that knows the correct sql syntax
dbDriver - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
JDBC driver.
dbList - Variable in class org.apache.torque.engine.database.model.AppData
The list of databases for this application.
dbMap - Variable in class org.apache.torque.map.TableMap
The database this table belongs to.
dbMaps - Static variable in class org.apache.torque.Torque
The global cache of database maps
dbName - Variable in class org.apache.torque.util.Criteria
The name of the database.
dbName - Variable in class org.apache.torque.util.LargeSelect
The database name to get from Torque.
dbParent - Variable in class org.apache.torque.engine.database.model.Database
 
dbPassword - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
JDBC password.
dbSchema - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
DB schema to use.
dbUrl - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
JDBC URL.
dbUser - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
JDBC user name.
debugCtx(Context) - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
 
decrementConnections() - Method in class org.apache.torque.pool.ConnectionPool
Decreases the count of connections in the pool and also calls notify().
defaultAutoCommit - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Do connections from this pool are auto-committing?
defaultDBName - Static variable in class org.apache.torque.Torque
The db name that is specified as the default in the property file
defaultIdMethod - Variable in class org.apache.torque.engine.database.model.Database
 
defaultJavaNamingMethod - Variable in class org.apache.torque.engine.database.model.Database
 
defaultJavaType - Variable in class org.apache.torque.engine.database.model.Database
 
defaultMaxConnections - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Maximum Number of Connections cached in this Data Source
defaultPackage - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
defaultReadOnly - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Are connections from this pool read-only?
defaultValue - Variable in class org.apache.torque.engine.database.model.Column
 
deleteAll(Connection, String, String, int) - Static method in class org.apache.torque.util.BasePeer
Convenience method that uses straight JDBC to delete multiple rows.
deleteAll(String, String, int) - Static method in class org.apache.torque.util.BasePeer
Convenience method that uses straight JDBC to delete multiple rows.
delimiter - Variable in class org.apache.torque.task.TorqueSQLExec
SQL Statement delimiter
delimiterType - Variable in class org.apache.torque.task.TorqueSQLExec
The delimiter type indicating whether the delimiter will only be recognized on a line by itself
description - Variable in class org.apache.torque.engine.database.model.Column
 
description - Variable in class org.apache.torque.engine.database.model.Table
 
description - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Description
dispose() - Method in class org.apache.torque.Torque
Shuts down the service, Lifecycle style
doBuild() - Method in interface org.apache.torque.map.MapBuilder
Build up the database mapping.
doDelete(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to perform deletes based on values and keys in a Criteria.
doDelete(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Method to perform deletes based on values and keys in a Criteria.
doFinalInitialization() - Method in class org.apache.torque.engine.database.model.AppData
 
doFinalInitialization() - Method in class org.apache.torque.engine.database.model.Database
 
doFinalInitialization() - Method in class org.apache.torque.engine.database.model.Table
A hook for the SAX XML parser to call when this table has been fully loaded from the XML, and all nested elements have been processed.
doHeavyIndexing() - Method in class org.apache.torque.engine.database.model.Table
Adds extra indices for multi-part primary key columns.
doInsert(Criteria) - Static method in class org.apache.torque.util.BasePeer
Method to perform inserts based on values and keys in a Criteria.
doInsert(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Method to perform inserts based on values and keys in a Criteria.
doNaming() - Method in class org.apache.torque.engine.database.model.Table
Names composing objects which haven't yet been named.
doPSSelect(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Performs a SQL select using a PreparedStatement.
doPSSelect(Criteria) - Static method in class org.apache.torque.util.BasePeer
Do a Prepared Statement select according to the given criteria
doSelect(Criteria) - Static method in class org.apache.torque.util.BasePeer
Returns all results.
doSelect(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Returns all results.
doUpdate(Criteria) - Static method in class org.apache.torque.util.BasePeer
Convenience method used to update rows in the DB.
doUpdate(Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Convenience method used to update rows in the DB.
doUpdate(Criteria, Criteria) - Static method in class org.apache.torque.util.BasePeer
Method used to update rows in the DB.
doUpdate(Criteria, Criteria, Connection) - Static method in class org.apache.torque.util.BasePeer
Method used to update rows in the DB.
doc - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
DOM document produced.
doubleValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a double.
driver - Variable in class org.apache.torque.task.TorqueSQLExec
DB driver.
ds - Variable in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
The wrapped DataSource.
ds - Variable in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
The wrapped DataSource.
ds - Variable in class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated. The wrapped DataSource.
dsFactoryMap - Static variable in class org.apache.torque.Torque
The cache of DataSourceFactory's
dtdFile - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
dtdFileName - Variable in class org.apache.torque.engine.database.transform.XmlToData
 

E

EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
EngineException - exception org.apache.torque.engine.EngineException.
The base class of all exceptions thrown by the engine.
EngineException() - Constructor for class org.apache.torque.engine.EngineException
Constructs a new EngineException without specified detail message.
EngineException(String) - Constructor for class org.apache.torque.engine.EngineException
Constructs a new EngineException with specified detail message.
EngineException(Throwable) - Constructor for class org.apache.torque.engine.EngineException
Constructs a new EngineException with specified nested Throwable.
EngineException(String, Throwable) - Constructor for class org.apache.torque.engine.EngineException
Constructs a new EngineException with specified detail message and nested Throwable.
encoding - Variable in class org.apache.torque.task.TorqueSQLExec
Encoding to use when reading SQL statements from a file
endElement(String, String, String) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Handles closing elements of the xml file.
enterface - Variable in class org.apache.torque.engine.database.model.Table
 
equals(Object) - Method in class org.apache.torque.manager.MethodCacheKey
 
equals(Object) - Method in class org.apache.torque.om.BaseObject
Compares this with another BaseObject instance.
equals(BaseObject) - Method in class org.apache.torque.om.BaseObject
Compares the primary key of this instance with the key of another.
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.DateKey
keyObj is equal to this DateKey if keyObj is a DateKey or String that contains the same information this key contains.
equals(Object) - Method in class org.apache.torque.om.NumberKey
Two ObjectKeys that both contain null values are not considered equal.
equals(Object) - Method in class org.apache.torque.om.StringKey
keyObj is equal to this StringKey if keyObj is a StringKey or String that contains the same information this key contains.
equals(Object) - Method in class org.apache.torque.util.Criteria.Criterion
This method checks another Criteria to see if they contain the same attributes and hashtable entries.
equals(Object) - Method in class org.apache.torque.util.Criteria
This method checks another Criteria to see if they contain the same attributes and hashtable entries.
err(String) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Creates an error condition and adds the line and column number of the current token to the error message.
error(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Error callback.
error(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToData
Error callback.
errorMessage - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
errorMessage - Variable in class org.apache.torque.engine.database.transform.XmlToData
 
escapeText() - Method in class org.apache.torque.adapter.DB
This method is for the SqlExpression.quoteAndEscape rules.
escapeText() - Method in class org.apache.torque.adapter.DBOracle
This method is for the SqlExpression.quoteAndEscape rules.
escapeText() - Method in class org.apache.torque.adapter.DBSapDB
This method is for the SqlExpression.quoteAndEscape rules.
execSQL(String, PrintStream) - Method in class org.apache.torque.task.TorqueSQLExec
Exec the sql statement.
execute() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Execute the parser.
execute() - Method in class org.apache.torque.task.PackageAsPathTask
Executes the package to patch converstion and stores it in the user property value.
execute() - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Default constructor.
execute() - Method in class org.apache.torque.task.TorqueSQLExec
Load the sql file and then execute it
execute() - Method in class org.apache.torque.task.TorqueSQLTransformTask
Execute the task.
executeQuery(String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeQuery(String, String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeQuery(String, String, boolean) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, boolean, Connection) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, int, int, String, boolean) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeQuery(String, int, int, boolean, Connection) - Static method in class org.apache.torque.util.BasePeer
Method for performing a SELECT.
executeStatement(String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeStatement(String, String) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
executeStatement(String, Connection) - Static method in class org.apache.torque.util.BasePeer
Utility method which executes a given sql statement.
exists(String) - Method in class org.apache.torque.oid.IDBroker
Describe exists method here.
expiryTime - Variable in class org.apache.torque.pool.ConnectionPool
The amount of time in milliseconds that a connection will be pooled.

F

FLOAT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FLOAT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
FROM - Static variable in class org.apache.torque.util.Query
 
ForeignKey - class org.apache.torque.engine.database.model.ForeignKey.
A class for information about foreign keys of a table.
ForeignKey() - Constructor for class org.apache.torque.engine.database.model.ForeignKey
 
fatalError(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Fatal error callback.
fatalError(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToData
Fatal error callback.
fetch(String) - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
Fetches an Iterator for the data in the named table.
filesets - Variable in class org.apache.torque.task.TorqueDataModelTask
Fileset of XML schemas which represent our data models.
finalize() - Method in class org.apache.torque.pool.ConnectionPool
Close any open connections when this object is garbage collected.
firstLetterCaps(String) - Method in class org.apache.torque.map.TableMap
Makes the first letter caps and the rest lowercase.
firstPass - Variable in class org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement
 
firstPass - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
floatValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a float.
forReferenceOnly - Variable in class org.apache.torque.engine.database.model.Table
 
foreignColumns - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
foreignKeys - Variable in class org.apache.torque.engine.database.model.Table
 
foreignTableName - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
foreignTableNames - Variable in class org.apache.torque.engine.database.model.Table
 
formatCase(String) - Method in class org.apache.torque.adapter.DBDB2400
Convenience method for String-formatting upper/ignore case statements.
fromTables - Variable in class org.apache.torque.util.Query
 

G

GREATER_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
GREATER_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
GREATER_THAN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
GREATER_THAN - Static variable in class org.apache.torque.util.SqlEnum
 
GROUP_BY - Static variable in class org.apache.torque.util.Query
 
generateName(List) - Method in class org.apache.torque.engine.database.model.ConstraintNameGenerator
First element of inputs should be of type Database, second should be a table name, third is the type identifier (spared if trimming is necessary due to database type length constraints), and the fourth is a Integer indicating the number of this contraint.
generateName(List) - Method in class org.apache.torque.engine.database.model.JavaNameGenerator
inputs should consist of two elements, the original name of the database element and the method for generating the name.
generateName(String, List) - Static method in class org.apache.torque.engine.database.model.NameFactory
Given a list of String objects, implements an algorithm which produces a name.
generateName(List) - Method in interface org.apache.torque.engine.database.model.NameGenerator
Given a list of String objects, implements an algorithm which produces a name.
generateXML() - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Generates an XML database schema from JDBC metadata.
get(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
get(Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Serializable, String, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(Serializable[]) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
get(String) - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
Returns the value for the column
get(Object) - Method in class org.apache.torque.util.Criteria
Overrides Hashtable get, so that the value placed in the Criterion is returned instead of the Criterion.
getAlgorithm(String) - Method in class org.apache.torque.engine.database.model.NameFactory
Factory method which retrieves an instance of the named generator.
getAlias() - Method in class org.apache.torque.engine.database.model.Table
JavaName of om object this entry references.
getAllTables() - Method in class org.apache.torque.util.Criteria.Criterion
get all tables from nested criterion objects
getAncestor() - Method in class org.apache.torque.engine.database.model.Inheritance
Get the value of ancestor.
getAppData() - Method in class org.apache.torque.engine.database.model.Database
Get the parent of the table
getAsColumns() - Method in class org.apache.torque.util.Criteria
Get the column aliases.
getAttachedCriterion() - Method in class org.apache.torque.util.Criteria.Criterion
get an array of all criterion attached to this recursing through all sub criterion
getBaseClass() - Method in class org.apache.torque.engine.database.model.Database
Get the value of baseClass.
getBaseClass() - Method in class org.apache.torque.engine.database.model.Table
Gets the value of base class for classes produced from this table.
getBasePathToDbProps() - Method in class org.apache.torque.task.TorqueDataModelTask
The path to properties file containing db idiosyncrasies is constructed by appending the "getTargetDatabase()/db.props to this path.
getBasePeer() - Method in class org.apache.torque.engine.database.model.Database
Get the value of basePeer.
getBasePeer() - Method in class org.apache.torque.engine.database.model.Table
Get the value of basePeer.
getBigDecimal() - Method in class org.apache.torque.om.NumberKey
Access the underlying BigDecimal object.
getBigDecimal(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a BigDecimal.
getBigDecimal(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a BigDecimal.
getBoolean(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return value as a boolean.
getBoolean(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return value as a boolean.
getBooleanString(Boolean) - Method in class org.apache.torque.adapter.DB
This method is used to format a boolean string.
getBooleanString(Boolean) - Method in class org.apache.torque.adapter.DBPostgres
Override the default behavior to associate b with null?
getByName(String) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by name.
getByPeerName(String) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by name passed in as a String.
getByPosition(int) - Method in class org.apache.torque.om.BaseObject
Retrieves a field from the object by position as specified in a database schema for example.
getCategory() - Method in class org.apache.torque.om.BaseObject
Deprecated. use log()
getChildren() - Method in class org.apache.torque.engine.database.model.Column
Get the inheritance definitions.
getChildrenColumn() - Method in class org.apache.torque.engine.database.model.Table
Gets the column that subclasses of the class representing this table can be produced from.
getChildrenNames() - Method in class org.apache.torque.engine.database.model.Table
Get the objects that can be created from this table.
getClassName() - Method in class org.apache.torque.engine.database.model.Inheritance
Get the value of className.
getClassName() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the classname to instantiate for getInstance()
getClauses() - Method in class org.apache.torque.util.Criteria.Criterion
get the list of clauses in this Criterion
getCol() - Method in class org.apache.torque.engine.sql.Token
Get the column number of this token.
getColumn() - Method in class org.apache.torque.engine.database.model.Inheritance
Get the value of parent.
getColumn(String) - Method in class org.apache.torque.engine.database.model.Table
Returns a specified column.
getColumn() - Method in class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
getColumn(String) - Method in class org.apache.torque.map.TableMap
Get a ColumnMap for the named table.
getColumn() - Method in class org.apache.torque.util.Criteria.Criterion
Get the column name.
getColumnByJavaName(String) - Method in class org.apache.torque.engine.database.model.Table
Returns a specified column.
getColumnList() - Method in class org.apache.torque.engine.database.model.Index
Return a comma delimited string of the columns which compose this index.
getColumnName() - Method in class org.apache.torque.map.ColumnMap
Get the name of a column.
getColumnName(String) - Method in class org.apache.torque.util.Criteria
Method to return a String table name.
getColumnNames() - Method in class org.apache.torque.engine.database.model.Index
Returns the list of names of the columns referenced by this index.
getColumnValues() - Method in class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
getColumns() - Method in class org.apache.torque.engine.database.model.Index
Return the list of local columns.
getColumns() - Method in class org.apache.torque.engine.database.model.Table
Returns an Array containing all the columns in the table
getColumns() - Method in class org.apache.torque.map.TableMap
Get a ColumnMap[] of the columns in this table.
getColumns(DatabaseMetaData, String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Retrieves all the column names and types for a given table from JDBC metadata.
getComparison() - Method in class org.apache.torque.util.Criteria.Criterion
Get the comparison.
getComparison(String) - Method in class org.apache.torque.util.Criteria
Method to return a comparison String.
getComparison(String, String) - Method in class org.apache.torque.util.Criteria
Method to return a comparison String.
getConfiguration() - Static method in class org.apache.torque.Torque
Get the configuration for this component.
getConjunctions() - Method in class org.apache.torque.util.Criteria.Criterion
get the list of conjunctions in this Criterion
getConnection() - Static method in class org.apache.torque.Torque
This method returns a Connection from the default pool.
getConnection(String, String, String) - Static method in class org.apache.torque.Torque
Deprecated. Database parameters should not be specified each time a Connection is fetched from the service.
getConnection(String) - Static method in class org.apache.torque.Torque
 
getConnection() - Method in class org.apache.torque.adapter.DBNone
 
getConnection(String, String) - Method in class org.apache.torque.pool.ConnectionPool
Returns a connection that maintains a link to the pool it came from.
getConnection() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Attempt to establish a database connection.
getConnection(String, String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Attempt to establish a database connection.
getConnectionPoolDataSource() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the value of connectionPoolDataSource.
getConnectionWaitTimeout() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the amount of time (in seconds) a connection request will have to wait before a time out occurs and an error is thrown.
getContainsForeignPK() - Method in class org.apache.torque.engine.database.model.Table
Determine if this table contains a foreign PK
getCriterion(String) - Method in class org.apache.torque.util.Criteria
Method to return criteria related to columns in a table.
getCriterion(String, String) - Method in class org.apache.torque.util.Criteria
Method to return criteria related to a column in a table.
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.
getDB(String) - Static method in class org.apache.torque.Torque
Returns database adapter for a specific connection pool.
getDataDTD() - Method in class org.apache.torque.task.TorqueDataSQLTask
Gets the DataDTD attribute of the TorqueDataSQLTask object
getDataModelDbMap() - Method in class org.apache.torque.task.TorqueDataModelTask
Return the data model to database name map.
getDataModels() - Method in class org.apache.torque.task.TorqueDataModelTask
Return the data models that have been processed.
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.PerUserPoolDataSourceFactory
 
getDataSource() - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
 
getDataSource() - Method in class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated.  
getDataSourceName() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the name of the ConnectionPoolDataSource which backs this pool.
getDataXmlFile() - Method in class org.apache.torque.task.TorqueDataSQLTask
Gets the DataXmlFile attribute of the TorqueDataSQLTask object
getDatabase() - Method in class org.apache.torque.engine.database.model.AppData
Get database object.
getDatabase(String) - Method in class org.apache.torque.engine.database.model.AppData
Return the database with the specified name.
getDatabase() - Method in class org.apache.torque.engine.database.model.Table
Get the parent of the table
getDatabase() - Method in class org.apache.torque.task.TorqueSQLTask
 
getDatabaseDriver() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database driver name
getDatabaseMap() - Static method in class org.apache.torque.Torque
Returns the default database map information.
getDatabaseMap(String) - Static method in class org.apache.torque.Torque
Returns the database map information.
getDatabaseMap() - Method in interface org.apache.torque.map.MapBuilder
Gets the database mapping this map builder built.
getDatabaseMap() - Method in class org.apache.torque.map.TableMap
Get the DatabaseMap containing this TableMap.
getDatabaseName() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database name to dump
getDatabasePassword() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database password
getDatabaseProperty(String, String) - Static method in class org.apache.torque.Torque
Returns the specified property of the given database, or the empty string if no value is set for the property.
getDatabaseType() - Method in class org.apache.torque.engine.database.model.Database
 
getDatabaseUrl() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database url
getDatabaseUser() - Method in class org.apache.torque.task.TorqueDataDumpTask
Get the database user
getDatabases() - Method in class org.apache.torque.engine.database.model.AppData
Return an array of all databases
getDate() - Method in class org.apache.torque.om.DateKey
Access the underlying Date object.
getDate(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a Date.
getDate(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a Date.
getDateString(String) - Method in class org.apache.torque.adapter.DB
Deprecated. use getDateString(java.util.Date)
getDateString(Date) - Method in class org.apache.torque.adapter.DB
This method is used to format any date string.
getDateString(Date) - Method in class org.apache.torque.adapter.DBMM
This method overrides the JDBC escapes used to format dates using a DateFormat.
getDateString(Date) - Method in class org.apache.torque.adapter.DBSybase
This method overrides the JDBC escapes used to format dates using a DateFormat.
getDb() - Method in class org.apache.torque.util.Criteria.Criterion
Get the value of db.
getDbName() - Method in class org.apache.torque.util.Criteria
Get the Database(Map) name.
getDbSchema() - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
getDefaultDB() - Static method in class org.apache.torque.Torque
Returns the name of the default database.
getDefaultIdMethod() - Method in class org.apache.torque.engine.database.model.Database
Get the value of defaultIdMethod.
getDefaultJavaNamingMethod() - Method in class org.apache.torque.engine.database.model.Database
Get the value of defaultJavaNamingMethod which specifies the method for converting schema names for table and column to Java names.
getDefaultJavaType() - Method in class org.apache.torque.engine.database.model.Database
Get type to use in Java sources (primitive || object)
getDefaultMap() - Static method in class org.apache.torque.Torque
Deprecated. Use getDefaultDB() instead.
getDefaultMaxConnections() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the number of database connections to cache per user.
getDefaultSetting() - Method in class org.apache.torque.engine.database.model.Column
Return a string that will give this column a default value.
getDefaultValue() - Method in class org.apache.torque.engine.database.model.Column
Get a string that will give this column a default value.
getDescription() - Method in class org.apache.torque.engine.database.model.Column
Get the description for the Table
getDescription() - Method in class org.apache.torque.engine.database.model.Table
Get the description for the Table
getDescription() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the description.
getDouble(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a double.
getDouble(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a double.
getFirstRecordNoForPage() - Method in class org.apache.torque.util.LargeSelect
Provide the record number of the first row included on the current page.
getFloat(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a float.
getFloat(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a float.
getForeignColumnNames() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns a comma delimited string of foreign column names
getForeignColumns() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns the list of foreign column names.
getForeignKey() - Method in class org.apache.torque.engine.database.model.Column
get the foreign key object for this column if it is a foreign key or part of a foreign key
getForeignKey(String) - Method in class org.apache.torque.engine.database.model.Table
Return the first foreign key that includes col in it's list of local columns.
getForeignKeys() - Method in class org.apache.torque.engine.database.model.Table
Returns an Array containing all the FKs in the table
getForeignKeys(DatabaseMetaData, String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Retrieves a list of foreign key columns for a given table.
getForeignLocalMapping() - Method in class org.apache.torque.engine.database.model.ForeignKey
Utility method to get foreign column names to local column names mapping for this foreign key.
getForeignTableName() - Method in class org.apache.torque.engine.database.model.ForeignKey
Get the foreignTableName of the FK
getForeignTableNames() - Method in class org.apache.torque.engine.database.model.Table
A list of tables referenced by foreign keys in this table
getFromClause() - Method in class org.apache.torque.util.Query
Retrieve the from buffer in order to specify which tables are involved in this query.
getFullyQualifiedName() - Method in class org.apache.torque.engine.database.model.Column
Returns table.column
getFullyQualifiedName() - Method in class org.apache.torque.map.ColumnMap
Get the table name + column name.
getGroupByClause() - Method in class org.apache.torque.util.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.util.Criteria
Get group by columns.
getGroupKey() - Method in class org.apache.torque.manager.MethodCacheKey
 
getHaving() - Method in class org.apache.torque.util.Criteria
Get Having Criterion.
getHaving() - Method in class org.apache.torque.util.Query
Get the having clause.
getIDBroker() - Method in class org.apache.torque.map.DatabaseMap
Get the IDBroker for this database.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DB
Returns SQL used to get the most recently inserted primary key.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBAxion
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBCloudscape
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBDB2App
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBDB2Net
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBHypersonicSQL
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInformix
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInstantDB
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBInterbase
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBMM
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.DBNone
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBOdbc
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBOracle
Returns the next key from a sequence.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBPostgres
 
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBSapDB
Returns the next key from a sequence.
getIDMethodSQL(Object) - Method in class org.apache.torque.adapter.DBSybase
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.DBWeblogic
 
getIDMethodType() - Method in class org.apache.torque.adapter.DB
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.DBAxion
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBCloudscape
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBDB2App
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBDB2Net
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBHypersonicSQL
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBInformix
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBInstantDB
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBInterbase
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBMM
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBNone
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBOdbc
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBOracle
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBPostgres
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBSapDB
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBSybase
 
getIDMethodType() - Method in class org.apache.torque.adapter.DBWeblogic
 
getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
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.
getIdAsBigDecimal(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as a BigDecimal.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a primitive int.
getIdAsInt(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a primitive int.
getIdAsInt(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an int.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.IDBroker
Returns an id as a primitive long.
getIdAsLong(Connection, Object) - Method in interface org.apache.torque.oid.IdGenerator
Returns an id as a primitive long.
getIdAsLong(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an long.
getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
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.
getIdAsString(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as an String.
getIdAsVillageValue(Connection, Object) - Method in class org.apache.torque.oid.AutoIncrementIdGenerator
Returns the last ID used by this connection.
getIdAsVillageValue(Connection, Object) - Method in class org.apache.torque.oid.SequenceIdGenerator
Retrieves an id as a Village Value.
getIdGenerator(String) - Method in class org.apache.torque.map.DatabaseMap
Get a type of id generator.
getIdGenerator() - Method in class org.apache.torque.map.TableMap
Get the value of idGenerator.
getIdMethod() - Method in class org.apache.torque.engine.database.model.Table
Get the method for generating pk's
getIdMethodParameters() - Method in class org.apache.torque.engine.database.model.Table
Returns a Collection of parameters relevant for the chosen id generation method.
getIdSqlForAutoIncrement(Object) - Method in class org.apache.torque.adapter.DB
Deprecated. Use getIDMethodSQL(Object) instead.
getIdTable() - Method in class org.apache.torque.map.DatabaseMap
Get the ID table for this database.
getIdTableXMLFile() - Method in class org.apache.torque.task.TorqueSQLTask
Gets the id-table xml schema file path.
getIdiosyncrasies(String) - Method in class org.apache.torque.engine.database.model.AppData
Each database has its own list of idiosyncrasies which can be configured by editting its db.props file.
getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
 
getImpl(MethodCacheKey) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
getIndexColumnList() - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use getColumnList() instead.
getIndexColumns() - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use getColumns() instead.
getIndexName() - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use getName() instead.
getIndices() - Method in class org.apache.torque.engine.database.model.Table
Returns an Array containing all the FKs in the table
getInputFile() - Method in class org.apache.torque.task.TorqueSQLTransformTask
Get the current input file
getInputSource(String) - Method in class org.apache.torque.engine.database.transform.DTDResolver
Retrieves a XML input source for the specified URL.
getInputSource(String) - Method in class org.apache.torque.engine.database.transform.XmlToData
get an InputSource for an URL String
getInputValidator() - Method in class org.apache.torque.engine.database.model.Column
Returns the class name to do input validation
getInt(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an int.
getInt(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an int.
getInteger(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an Integer.
getInteger(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an Integer.
getInterestedFields() - Method in interface org.apache.torque.manager.CacheListener
 
getInterface() - Method in class org.apache.torque.engine.database.model.Table
Interface which objects for this table will implement
getInternalPooledConnection() - Method in class org.apache.torque.pool.ConnectionPool
Gets a pooled database connection.
getIsUnique() - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use isUnique() instead.
getJavaName() - Method in class org.apache.torque.engine.database.model.Column
Get name to use in Java sources
getJavaName() - Method in class org.apache.torque.engine.database.model.Table
Get name to use in Java sources
getJavaNative() - Method in class org.apache.torque.engine.database.model.Column
Return a string representation of the native java type which corresponds to the JDBC type of this column.
getJavaNative(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return native java type which corresponds to the JDBC type provided.
getJavaNativeObject(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return native java type which corresponds to the JDBC type provided.
getJavaObject() - Method in class org.apache.torque.engine.database.model.Column
Return a string representation of the Java object which corresponds to the JDBC type of this column.
getJavaObject(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return a Java object which corresponds to the JDBC type provided.
getJavaPrimitive() - Method in class org.apache.torque.engine.database.model.Column
Return a string representation of the primitive java type which corresponds to the JDBC type of this column.
getJavaType() - Method in class org.apache.torque.engine.database.model.Column
Get type to use in Java sources
getJdbcType(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns the correct jdbc type for torque added types
getJndiEnvironment(String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the value of jndiEnvironment which is used when instantiating a jndi InitialContext.
getJoinL() - Method in class org.apache.torque.util.Criteria
get one side of the set of possible joins.
getJoinR() - Method in class org.apache.torque.util.Criteria
get one side of the set of possible joins.
getKey() - Method in class org.apache.torque.engine.database.model.Inheritance
Get the value of key.
getKey(String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
 
getLastRecordNoForPage() - Method in class org.apache.torque.util.LargeSelect
Provide the record number of the last row included on the current page.
getLimit() - Method in class org.apache.torque.util.Criteria
Get limit.
getLimit() - Method in class org.apache.torque.util.Query
Get the limit number.
getLimitStyle() - Method in class org.apache.torque.adapter.DB
This method is used to check whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBMM
This method is used to chek whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBOracle
This method is used to check whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBPostgres
This method is used to chek whether the database supports limiting the size of the resultset.
getLimitStyle() - Method in class org.apache.torque.adapter.DBSybase
This method is used to chek whether the database supports limiting the size of the resultset.
getLine() - Method in class org.apache.torque.engine.sql.Token
Get the line number of this token.
getList(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a List.
getList(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a List.
getLocalColumnNames() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns a comma delimited string of local column names
getLocalColumns() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns the list of local column names.
getLocalForeignMapping() - Method in class org.apache.torque.engine.database.model.ForeignKey
Utility method to get local column names to foreign column names mapping for this foreign key.
getLogInterval() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the interval (in seconds) between which the ConnectionPool logs the status of it's Connections.
getLogWriter() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the log writer for this data source.
getLoginTimeout() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Gets the maximum time in seconds that this data source can wait while attempting to connect to a database.
getLong(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a long.
getLong(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a long.
getManager(String) - Static method in class org.apache.torque.Torque
This method returns a Manager for the given name.
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.
getMapBuilder() - Static method in class org.apache.torque.util.BasePeer
This method returns the MapBuilder specified in the TurbineResources.properties file.
getMapBuilder(String) - Static method in class org.apache.torque.util.BasePeer
This method returns the MapBuilder specified in the name parameter.
getMaxExpiryTime() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the amount of time (in seconds) that database connections will be cached.
getMemoryPageLimit() - Static 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.
getMethodResultCache() - Method in class org.apache.torque.manager.AbstractBaseManager
 
getMoreIndicator() - Static method in class org.apache.torque.util.LargeSelect
Retrieve the more pages/records indicator.
getName() - Method in class org.apache.torque.engine.database.model.AppData
Get the name of the database.
getName() - Method in class org.apache.torque.engine.database.model.Column
Get the name of the column
getName() - Method in class org.apache.torque.engine.database.model.Database
Get the name of the Database
getName() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns the name attribute.
getName() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Get the parameter name
getName() - Method in class org.apache.torque.engine.database.model.Index
Gets the name of this index.
getName() - Method in class org.apache.torque.engine.database.model.Table
Get the name of the Table
getName() - Method in class org.apache.torque.map.DatabaseMap
Get the name of this database.
getName() - Method in class org.apache.torque.map.TableMap
Get the name of the Table.
getNbrAvailable() - Method in class org.apache.torque.pool.ConnectionPool
Returns the available connections in the pool
getNbrCheckedOut() - Method in class org.apache.torque.pool.ConnectionPool
Returns the checked out connections in the pool
getNewConnection() - Method in class org.apache.torque.pool.ConnectionPool
Returns a fresh connection to the database.
getNewCriterion(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
Method to return criterion that is not added automatically to this Criteria.
getNewCriterion(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
Method to return criterion that is not added automatically to this Criteria.
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.
getNumColumns() - Method in class org.apache.torque.engine.database.model.Table
Utility method to get the number of columns in this table
getOMClass() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the Class instance
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(ObjectKey[]) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getOMs(List) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getOMs(List, boolean) - Method in class org.apache.torque.manager.AbstractBaseManager
Gets a list of om's based on id's.
getObjectInstance(Object, Name, Context, Hashtable) - Method in class org.apache.torque.pool.TorqueClassicDataSource
implements ObjectFactory to create an instance of this class
getObjectKey(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an ObjectKey.
getObjectKey(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return an ObjectKey.
getOffset() - Method in class org.apache.torque.util.Criteria
Get offset.
getOnDelete() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns the onDelete attribute
getOnUpdate() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns the onUpdate attribute
getOrderByClause() - Method in class org.apache.torque.util.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.util.Criteria
Get order by columns.
getOutputFile() - Method in class org.apache.torque.task.TorqueSQLTransformTask
Get the current output file.
getOutputFormat() - Method in class org.apache.torque.task.TorqueDocumentationTask
Get the current output format.
getPPMethod(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return ParameterParser getX() method which corresponds to the JDBC type provided.
getPackage() - Method in class org.apache.torque.engine.database.model.Database
Get the value of package.
getPackage() - Method in class org.apache.torque.engine.database.model.Table
Get the value of package.
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.
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.
getParameterParserMethod() - Method in class org.apache.torque.engine.database.model.Column
Return ParameterParser getX() method which corresponds to the JDBC type which represents this column.
getPerUserMaxConnections() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the number of database connections to cache per user.
getPoolName() - Method in class org.apache.torque.pool.ConnectionPool
Get the name of the pool
getPosition() - Method in class org.apache.torque.engine.database.model.Column
Get the location of this column within the table (one-based).
getPrefix() - Method in class org.apache.torque.map.TableMap
Get table prefix name.
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.engine.database.model.Table
Returns the collection of Columns which make up the single primary key for this table.
getPrimaryKey() - Method in class org.apache.torque.om.BaseObject
getter for the object primaryKey.
getPrimaryKey() - Method in interface org.apache.torque.om.Persistent
getter for the object primaryKey.
getPrimaryKey(Criteria) - Static method in class org.apache.torque.util.BasePeer
Helper method which returns the primary key contained in the given Criteria object.
getPrimaryKeyAsBigDecimal() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getPrimaryKey() instead. Refer to ObjectKey for more information on type conversion.
getPrimaryKeyAsInt() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getPrimaryKey() instead. Refer to ObjectKey for more information on type conversion.
getPrimaryKeyAsLong() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getPrimaryKey() instead. Refer to ObjectKey for more information on type conversion.
getPrimaryKeyAsString() - Method in class org.apache.torque.om.BaseObject
Deprecated. Use getPrimaryKey() instead. Refer to ObjectKey for more information on type conversion.
getPrimaryKeyMethod() - Method in class org.apache.torque.map.TableMap
Get the method used to generate primary keys for this table.
getPrimaryKeyMethodInfo() - Method in class org.apache.torque.map.TableMap
Get the information used to generate a primary key
getPrimaryKeys() - Method in class org.apache.torque.engine.database.model.Table
Deprecated. Use getPrimaryKey() instead.
getPrimaryKeys(DatabaseMetaData, String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Retrieves a list of the columns composing the primary key for a given table.
getProperty(String) - Method in class org.apache.torque.engine.database.model.Database
Returns the value of the named property from this database's db.props file.
getQuantity(String, Connection) - Method in class org.apache.torque.oid.IDBroker
This method allows you to get the number of ids that are to be cached in memory.
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.
getReference() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Referenceable implementation.
getReferrers() - Method in class org.apache.torque.engine.database.model.Column
Get list of references to this column.
getReferrers() - Method in class org.apache.torque.engine.database.model.Table
Get list of references to this table.
getRegion() - Method in class org.apache.torque.manager.AbstractBaseManager
Get the value of region.
getRelatedColumnName() - Method in class org.apache.torque.engine.database.model.Column
Utility method to get the related column of this local column if this column is a foreign key or part of a foreign key.
getRelatedColumnName() - Method in class org.apache.torque.map.ColumnMap
Get the column name that this column is related to.
getRelatedName() - Method in class org.apache.torque.map.ColumnMap
Get the table.column that this column is related to.
getRelatedTableName() - Method in class org.apache.torque.engine.database.model.Column
Utility method to get the related table of this column if it is a foreign key or part of a foreign key
getRelatedTableName() - Method in class org.apache.torque.map.ColumnMap
Get the table name that this column is related to.
getResults(int) - Method in class org.apache.torque.util.LargeSelect
Gets a page of rows starting at a specified row.
getResults(int, int) - Method in class org.apache.torque.util.LargeSelect
Gets a block of rows starting at a specified row and containing a specified number of rows.
getRowcount() - Method in class org.apache.torque.util.Query
Get the rowcount number.
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.util.Query
Retrieve the columns buffer in order to specify which columns are returned in this query.
getSelectColumns() - Method in class org.apache.torque.util.Criteria
Get select columns.
getSelectModifiers() - Method in class org.apache.torque.util.Criteria
Get select modifiers.
getSelectModifiers() - Method in class org.apache.torque.util.Query
Retrieve the modifier buffer in order to add modifiers to this query.
getSelectResults(QueryDataSet) - Static method in class org.apache.torque.util.BasePeer
Returns all records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns all records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, int, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns numberOfResults records in a QueryDataSet as a List of Record objects.
getSelectResults(QueryDataSet, int, int, boolean) - Static method in class org.apache.torque.util.BasePeer
Returns numberOfResults records in a QueryDataSet as a List of Record objects.
getSequenceInfo() - Method in class org.apache.torque.map.TableMap
Deprecated. Use getPrimaryKeyMethodInfo
getSequenceName() - Method in class org.apache.torque.engine.database.model.Table
A name to use for creating a sequence if one is not specified.
getSequenceSql(Object) - Method in class org.apache.torque.adapter.DB
Deprecated. Use getIDMethodSQL(Object) instead.
getSequenceSql(Object) - Method in class org.apache.torque.adapter.DBPostgres
Deprecated. Use getIDMethodSQL(Object) instead.
getShortName() - Method in class org.apache.torque.engine.database.model.AppData
Get the short name of the database (without the '-schema' postfix).
getSize() - Method in class org.apache.torque.engine.database.model.Column
Returns the size of the column
getSize() - Method in class org.apache.torque.map.ColumnMap
Get the size of this column.
getSqlDbMap() - Method in class org.apache.torque.task.TorqueDataModelTask
Get the sqldbmap.
getSqlDbMap() - Method in class org.apache.torque.task.TorqueSQLExec
Get the sqldbmap properties file.
getSqlFile() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Get the current input sql file
getSrcDir() - Method in class org.apache.torque.task.TorqueSQLExec
Get the src directory for the sql files listed in the sqldbmap file.
getStr() - Method in class org.apache.torque.engine.sql.Token
Returns the string representation of this token.
getString() - Method in class org.apache.torque.om.StringKey
Access the underlying String object.
getString(String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a String.
getString(String, String) - Method in class org.apache.torque.util.Criteria
Convenience method to return a String.
getStringDelimiter() - Method in class org.apache.torque.adapter.DB
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 class org.apache.torque.adapter.DBInterbase
Gets the string delimiter (usually '\'').
getSuffix() - Method in class org.apache.torque.task.TorqueSQLTask
 
getTable() - Method in class org.apache.torque.engine.database.model.Column
Get the parent Table of the column
getTable(String) - Method in class org.apache.torque.engine.database.model.Database
Return the table with the specified name.
getTable() - Method in class org.apache.torque.engine.database.model.ForeignKey
Get the parent Table of the foreign key
getTable() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Get the parent Table of the id method
getTable() - Method in class org.apache.torque.engine.database.model.Index
Get the parent Table of the index
getTable() - Method in class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
getTable(String) - Method in class org.apache.torque.map.DatabaseMap
Get a TableMap for the table by name.
getTable() - Method in class org.apache.torque.util.Criteria.Criterion
Get the table name.
getTableByJavaName(String) - Method in class org.apache.torque.engine.database.model.Database
Return the table with the specified javaName.
getTableForAlias(String) - Method in class org.apache.torque.util.Criteria
Returns the table name associated with an alias.
getTableName() - Method in class org.apache.torque.engine.database.model.Column
Returns the Name of the table the column is in
getTableName() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns the name of the table the foreign key is in
getTableName() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Returns the Name of the table the id method is in
getTableName() - Method in class org.apache.torque.engine.database.model.Index
Returns the Name of the table the index is in
getTableName() - Method in class org.apache.torque.map.ColumnMap
Get the name of the table this column is in.
getTableName(String) - Method in class org.apache.torque.util.Criteria
Method to return a String table name.
getTableNames(DatabaseMetaData) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
Get all the table names in the current database that are not system tables.
getTables() - Method in class org.apache.torque.engine.database.model.Database
Return an array of all tables
getTables() - Method in class org.apache.torque.map.DatabaseMap
Get a TableMap[] of all of the tables in the database.
getTargetDatabase() - Method in class org.apache.torque.task.TorqueDataModelTask
Get the current target database.
getTargetDatabase() - Method in class org.apache.torque.task.TorqueDataSQLTask
Get the current target database.
getTargetPackage() - Method in class org.apache.torque.task.TorqueDataModelTask
Get the current target package.
getTorqueType() - Method in class org.apache.torque.engine.database.model.Column
Returns the column type as given in the schema as an object
getTorqueType(Integer) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns Torque type constant corresponding to JDBC type code.
getTotalCount() - Method in class org.apache.torque.pool.ConnectionPool
Returns the Total connections in the pool
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 completeted (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.
getType() - Method in class org.apache.torque.engine.database.model.Column
Returns the column jdbc type as an object
getType() - Method in class org.apache.torque.map.ColumnMap
Get the type of this column.
getUnices() - Method in class org.apache.torque.engine.database.model.Table
Returns an Array containing all the UKs in the table
getValue() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Get the parameter value
getValue() - Method in class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
getValue() - Method in class org.apache.torque.om.ComboKey
Get the underlying object.
getValue() - Method in class org.apache.torque.om.ObjectKey
Get the underlying object.
getValue() - Method in class org.apache.torque.util.Criteria.Criterion
Get the value.
getValue(String) - Method in class org.apache.torque.util.Criteria
Method to return the value that was added to Criteria.
getValue(String, String) - Method in class org.apache.torque.util.Criteria
Method to return the value that was added to Criteria.
getValues() - Method in class org.apache.torque.task.TorqueSQLExec.DelimiterType
 
getValues() - Method in class org.apache.torque.task.TorqueSQLExec.OnError
 
getVillageMethod() - Method in class org.apache.torque.engine.database.model.Column
Return Village asX() method which corresponds to the JDBC type which represents this column.
getVillageMethod(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return Village asX() method which corresponds to the JDBC type provided.
getVillageObjectMethod(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Return Village asX() method which corresponds to the JDBC type provided.
getWhereClause() - Method in class org.apache.torque.util.Query
Retrieve the where buffer in order to specify the selection criteria E.g.
getXmlFile() - Method in class org.apache.torque.task.TorqueDataModelTask
Get the xml schema describing the application model.
goodSql - Variable in class org.apache.torque.task.TorqueSQLExec
 
grokName(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Gets a name to use for the application's data model.
groupByColumns - Variable in class org.apache.torque.util.Criteria
 
groupByColumns - Variable in class org.apache.torque.util.Query
 
groupKey - Variable in class org.apache.torque.manager.MethodCacheKey
 
groups - Variable in class org.apache.torque.manager.MethodResultCache
 

H

HAVING - Static variable in class org.apache.torque.util.Query
 
handleMultiple(DataSet) - Static method in class org.apache.torque.util.BasePeer
Deprecated. Use the better-named handleMultipleRecords() instead.
handleMultipleRecords(DataSet) - Static method in class org.apache.torque.util.BasePeer
If the user specified that (s)he only wants to retrieve a single record and multiple records are retrieved, this method is called to handle the situation.
hasMultipleDatabases() - Method in class org.apache.torque.engine.database.model.AppData
Returns whether this application has multiple databases.
hasNext() - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
check if there are more records in the QueryDataSet
hasOnDelete() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns whether or not the onDelete attribute is set
hasOnUpdate() - Method in class org.apache.torque.engine.database.model.ForeignKey
Returns whether or not the onUpdate attribute is set
hasPrefix(String) - Method in class org.apache.torque.map.TableMap
Tell me if i have PREFIX in my string.
hasPrimaryKey() - Method in class org.apache.torque.engine.database.model.Table
Determine whether this table has a primary key.
hasResultsAvailable() - Method in class org.apache.torque.util.LargeSelect
Indicates if any results are available.
hasTokens() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Check if there is more tokens available for parsing.
hashCode() - Method in class org.apache.torque.manager.MethodCacheKey
 
hashCode() - Method in class org.apache.torque.om.BaseObject
If the primary key is not null, return the hashcode of the primary key.
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.NumberKey
 
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.util.Criteria.Criterion
Returns a hash code value for the object.
hashtableToByteArray(Hashtable) - Static method in class org.apache.torque.util.BasePeer
Converts a hashtable to a byte array for storage/serialization.
having - Variable in class org.apache.torque.util.Criteria
 
having - Variable in class org.apache.torque.util.Query
 
heavyIndexing - Variable in class org.apache.torque.engine.database.model.Database
 
heavyIndexing - Variable in class org.apache.torque.engine.database.model.Table
 
houseKeeperThread - Variable in class org.apache.torque.oid.IDBroker
The houseKeeperThread thread

I

IDBroker - class org.apache.torque.oid.IDBroker.
This method of ID generation is used to ensure that code is more database independent.
IDBroker(TableMap) - Constructor for class org.apache.torque.oid.IDBroker
Creates an IDBroker for the ID table.
IDGeneratorFactory - class org.apache.torque.oid.IDGeneratorFactory.
A factory which instantiates IdGenerator implementations.
IDGeneratorFactory() - Constructor for class org.apache.torque.oid.IDGeneratorFactory
 
IDMethod - interface org.apache.torque.adapter.IDMethod.
Interface for various ID retrieval method types (i.e.
ID_BROKER - Static variable in interface 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
IGNORE_CASE - Static variable in class org.apache.torque.util.BasePeer
Constant criteria key to remove Case Information from search/ordering criteria.
IN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
IN - Static variable in class org.apache.torque.util.Query
 
IN - Static variable in class org.apache.torque.util.SqlEnum
 
INTEGER - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
INTEGER_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
ISNOTNULL - Static variable in class org.apache.torque.util.Criteria
"IS NOT NULL" null comparison
ISNOTNULL - Static variable in class org.apache.torque.util.SqlEnum
 
ISNULL - Static variable in class org.apache.torque.util.Criteria
"IS NULL" null comparison
ISNULL - Static variable in class org.apache.torque.util.SqlEnum
 
IdGenerator - interface org.apache.torque.oid.IdGenerator.
Interface to be implemented by id generators.
IdMethodParameter - class org.apache.torque.engine.database.model.IdMethodParameter.
Information related to an ID method.
IdMethodParameter() - Constructor for class org.apache.torque.engine.database.model.IdMethodParameter
 
Index - class org.apache.torque.engine.database.model.Index.
Information about indices of a table.
Index() - Constructor for class org.apache.torque.engine.database.model.Index
Creates a new instance with default characteristics (no name or parent table, small column list size allocation, non-unique).
Index(Table, List) - Constructor for class org.apache.torque.engine.database.model.Index
Creates a new instance for the list of columns composing an index.
Inheritance - class org.apache.torque.engine.database.model.Inheritance.
A Class for information regarding possible objects representing a table
Inheritance() - Constructor for class org.apache.torque.engine.database.model.Inheritance
Default Constructor
idBroker - Variable in class org.apache.torque.map.DatabaseMap
The IDBroker that goes with the idTable.
idGenerator - Variable in class org.apache.torque.map.TableMap
IdGenerator for this tableMap
idGenerators - Variable in class org.apache.torque.map.DatabaseMap
The IdGenerators, keyed by type of idMethod.
idMethod - Variable in class org.apache.torque.engine.database.model.Table
 
idMethodParameters - Variable in class org.apache.torque.engine.database.model.Table
 
idTable - Variable in class org.apache.torque.map.DatabaseMap
A special table used to generate primary keys for the other tables.
idTableXMLFile - Variable in class org.apache.torque.task.TorqueSQLTask
 
idiosyncrasyTable - Variable in class org.apache.torque.engine.database.model.AppData
The table of idiosyncrasies for various database types.
ids - Variable in class org.apache.torque.oid.IDBroker
The cached IDs for each table.
ignoreCase(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBAxion
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBCloudscape
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2400
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2App
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBDB2Net
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInformix
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInstantDB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBMM
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBNone
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBOdbc
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBOracle
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBPostgres
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBSapDB
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBSybase
This method is used to ignore case.
ignoreCase(String) - Method in class org.apache.torque.adapter.DBWeblogic
This method is used to ignore case.
ignoreCase - Variable in class org.apache.torque.util.Criteria
 
ignoreCaseInOrderBy(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case in an ORDER BY clause.
ignoreCaseInOrderBy(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case in an ORDER BY clause.
ignoreStringCase - Variable in class org.apache.torque.util.Criteria.Criterion
flag to ignore case in comparision
in - Variable in class org.apache.torque.engine.sql.SQLScanner
 
indexColumns - Variable in class org.apache.torque.engine.database.model.Index
 
indexName - Variable in class org.apache.torque.engine.database.model.Index
 
indices - Variable in class org.apache.torque.engine.database.model.Table
 
inheritanceColumn - Variable in class org.apache.torque.engine.database.model.Table
 
inheritanceList - Variable in class org.apache.torque.engine.database.model.Column
 
inheritanceType - Variable in class org.apache.torque.engine.database.model.Column
 
init(String) - Static method in class org.apache.torque.Torque
Initialization of Torque with a properties file.
init(Configuration) - Static method in class org.apache.torque.Torque
Initialization of Torque with a properties file.
init(String, String, String) - Method in class org.apache.torque.adapter.DBNone
 
init(Serializable, String) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with no arguments.
init(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with one argument.
init(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with two arguments.
init(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with two arguments.
init(Serializable[]) - Method in class org.apache.torque.manager.MethodCacheKey
Initialize key for method with more than two arguments.
init(Criteria, int, int) - Method in class org.apache.torque.util.LargeSelect
Called by the constructors to start the query.
initAdapters(Configuration) - Static method in class org.apache.torque.Torque
 
initCPDS(Configuration) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
Initializes the ConnectionPoolDataSource.
initColumnNames(Column[]) - Static method in class org.apache.torque.util.BasePeer
Convenience method to create a String array of column names.
initControlContext() - Method in class org.apache.torque.task.TorqueDataDumpTask
Initializes initial context
initControlContext() - Method in class org.apache.torque.task.TorqueDataModelTask
Set up the initial context for generating the SQL from the XML schema.
initControlContext() - Method in class org.apache.torque.task.TorqueDataSQLTask
Set up the initialial context for generating the SQL from the XML schema.
initControlContext() - Method in class org.apache.torque.task.TorqueDocumentationTask
Place our target package value into the context for use in the templates.
initControlContext() - Method in class org.apache.torque.task.TorqueSQLTask
Place our target database and target platform values into the context for use in the templates.
initCriteriaKeys(String, String[]) - Static method in class org.apache.torque.util.BasePeer
Convenience method to create a String array of criteria keys.
initDataSource(Configuration) - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
Initializes the DataSource.
initDataSourceFactories(Configuration) - Static method in class org.apache.torque.Torque
 
initDatabaseMap(String) - Static method in class org.apache.torque.Torque
Creates and initializes the mape for the named database.
initJNDI(Configuration) - Method in class org.apache.torque.dsfactory.JndiDataSourceFactory
Initializes JNDI.
initJdbc2Pool(Configuration) - Method in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
Initializes the Jdbc2PoolDataSource.
initJdbc2Pool(Configuration) - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
Initializes the Jdbc2PoolDataSource.
initManager(String, String) - Static method in class org.apache.torque.Torque
Initialize a manager
initManagerMappings(Configuration) - Static method in class org.apache.torque.Torque
Creates a mapping between classes and their manager classes.
initTableColumns(Schema) - Static method in class org.apache.torque.util.BasePeer
Creates a Column array for a table based on its Schema.
initTableSchema(String) - Static method in class org.apache.torque.util.BasePeer
Sets up a Schema for a table.
initTableSchema(String, String) - Static method in class org.apache.torque.util.BasePeer
Sets up a Schema for a table.
initTorqueClassic(Configuration) - Method in class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated. Initializes the TorqueClassicDataSource.
initialize() - Method in class org.apache.torque.Torque
initialize Torque
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.PerUserPoolDataSourceFactory
 
initialize(Configuration) - Method in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
 
initialize(Configuration) - Method in class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated.  
initialize() - Static method in class org.apache.torque.engine.database.model.TypeMap
Initializes the SQL to Java map so that it can be used by client code.
inputFile - Variable in class org.apache.torque.task.TorqueSQLTransformTask
SQL input file.
inputValidator - Variable in class org.apache.torque.engine.database.model.Column
class name to do input validation on this column
insertDatabaseSqlFiles(String, String, List) - Method in class org.apache.torque.task.TorqueSQLExec
Take the base url, the target database and insert a set of SQL files into the target database.
insertOrUpdateRecord(Record, String, Criteria) - Static method in class org.apache.torque.util.BasePeer
Grouping of code used in both doInsert() and doUpdate() methods.
instance - Static variable in class org.apache.torque.engine.database.model.NameFactory
The single instance of this class.
instanceOrClass - Variable in class org.apache.torque.manager.MethodCacheKey
 
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 reexecuted when the next page is retrieved.
isAbstract() - Method in class org.apache.torque.engine.database.model.Table
When a table is abstract, it marks the business object class that is generated as being abstract.
isAlias() - Method in class org.apache.torque.engine.database.model.Table
Is this table specified in the schema or is there just a foreign key reference to it.
isAutoIncrement - Variable in class org.apache.torque.engine.database.model.Column
 
isAutoIncrement() - Method in class org.apache.torque.engine.database.model.Column
Return auto increment/sequence string for the target database.
isBooleanChar() - Method in class org.apache.torque.engine.database.model.Column
Returns true if the column type is boolean in the java object and a String ("Y" or "N") in the db.
isBooleanChar(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns true if the type is boolean in the java object and a String "Y" or "N" in the db.
isBooleanInt() - Method in class org.apache.torque.engine.database.model.Column
Returns true if the column type is boolean in the java object and a numeric (1 or 0) in the db.
isBooleanInt(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns true if the type is boolean in the java object and a numeric (1 or 0) in the db.
isBuilt() - Method in interface org.apache.torque.map.MapBuilder
Tells us if the database mapping is built so that we can avoid re-building it repeatedly.
isCascade() - Method in class org.apache.torque.util.Criteria
Is cascade set?
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.
isDefaultAutoCommit() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the value of defaultAutoCommit, which defines the state of connections handed out from this pool.
isDefaultReadOnly() - Method in class org.apache.torque.pool.TorqueClassicDataSource
Get the value of defaultReadOnly, which defines the state of connections handed out from this pool.
isEmpty - Variable in class org.apache.torque.task.TorqueDataDumpTask.TableTool
 
isEnumeratedClasses - Variable in class org.apache.torque.engine.database.model.Column
 
isEnumeratedClasses() - Method in class org.apache.torque.engine.database.model.Column
Determine if possible classes have been enumerated in the xml file.
isExpired(PooledConnection) - Method in class org.apache.torque.pool.ConnectionPool
Helper method which determines whether a connection has expired.
isExternalSchema - Variable in class org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement
 
isExternalSchema - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
isForReferenceOnly() - Method in class org.apache.torque.engine.database.model.Table
Flag to determine if code/sql gets created for this table.
isForeignKey() - Method in class org.apache.torque.engine.database.model.Column
Utility method to determine if this column is a foreign key.
isForeignKey() - Method in class org.apache.torque.map.ColumnMap
Is this column a foreign key?
isHeavyIndexing() - Method in class org.apache.torque.engine.database.model.Database
Get the value of heavyIndexing.
isIgnoreCase() - Method in class org.apache.torque.util.Criteria.Criterion
Is ignore case on or off?
isIgnoreCase() - Method in class org.apache.torque.util.Criteria
Is ignore case on or off?
isInheritance - Variable in class org.apache.torque.engine.database.model.Column
 
isInheritance() - Method in class org.apache.torque.engine.database.model.Column
Determine if this column is a normal property or specifies a the classes that are represented in the table containing this column.
isInit - Static variable in class org.apache.torque.Torque
flag to set to true once this class has been initialized
isInit() - Static method in class org.apache.torque.Torque
Determine whether Torque has already been initialized.
isInitialized - Variable in class org.apache.torque.engine.database.model.AppData
 
isInitialized - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
isInitialized() - Static method in class org.apache.torque.engine.database.model.TypeMap
Report whether this object has been initialized.
isLoggingConfigured() - Static method in class org.apache.torque.Torque
Determine whether log4j has already been configured.
isModified() - Method in class org.apache.torque.om.BaseObject
Returns whether the object has been modified.
isModified() - Method in interface org.apache.torque.om.Persistent
Returns whether the object has been modified, since it was last retrieved from storage.
isMultipleFK() - Method in class org.apache.torque.engine.database.model.Column
Determine if this column is a foreign key that refers to the same table as another foreign key column in this table.
isNew - Variable in class org.apache.torque.manager.AbstractBaseManager
 
isNew() - Method in class org.apache.torque.om.BaseObject
Returns whether the object has ever been saved.
isNew() - Method in interface org.apache.torque.om.Persistent
Returns whether the object has ever been saved.
isNotNull - Variable in class org.apache.torque.engine.database.model.Column
 
isNotNull() - Method in class org.apache.torque.engine.database.model.Column
Return the isNotNull property of the column
isNotNull() - Method in class org.apache.torque.map.ColumnMap
Is null value allowed ?
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 - Variable in class org.apache.torque.engine.database.model.Column
 
isPrimaryKey() - Method in class org.apache.torque.engine.database.model.Column
Return true if the column is a primary key
isPrimaryKey() - Method in class org.apache.torque.map.ColumnMap
Is this column a primary key?
isPrimitive() - Method in class org.apache.torque.engine.database.model.Column
returns true, if the columns java native type is an boolean, byte, short, int, long, float, double, char
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
isRun - Variable in class org.apache.torque.pool.ConnectionPool.Monitor
true if the monot is running
isSameJavaName() - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
isSingleRecord() - Method in class org.apache.torque.util.Criteria
Is single record?
isSkipSql() - Method in class org.apache.torque.engine.database.model.Table
Skip generating sql for this table (in the event it should not be created from scratch).
isString() - Method in class org.apache.torque.engine.database.model.Column
Utility method to see if the column is a string
isTextType(String) - Static method in class org.apache.torque.engine.database.model.TypeMap
Returns true if values for the type need to be quoted.
isUnique - Variable in class org.apache.torque.engine.database.model.Column
 
isUnique() - Method in class org.apache.torque.engine.database.model.Column
Get the UNIQUE property
isUnique() - Method in class org.apache.torque.engine.database.model.Index
Returns the uniqueness of this index.
isUnique() - Method in class org.apache.torque.engine.database.model.Unique
Returns true.
isUsePrimitive() - Method in class org.apache.torque.engine.database.model.Column
 
isUseTransaction() - Method in class org.apache.torque.util.Criteria
called by BasePeer to determine whether the sql command specified by this criteria must be wrapped in a transaction.
isValid(PooledConnection) - Method in class org.apache.torque.pool.ConnectionPool
Determines if a connection is still valid.
isValidRdbms(Connection) - Method in class org.apache.torque.task.TorqueSQLExec
Verify if connected to the correct RDBMS
is_new - Variable in class org.apache.torque.om.BaseObject
attribute to determine if this object has previously been saved.

J

JAVA_GENERATOR - Static variable in class org.apache.torque.engine.database.model.NameFactory
The fully qualified class name of the Java name generator.
JOIN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
JOIN - Static variable in class org.apache.torque.util.SqlEnum
 
JavaNameGenerator - class org.apache.torque.engine.database.model.JavaNameGenerator.
A NameGenerator implementation for Java-esque names.
JavaNameGenerator() - Constructor for class org.apache.torque.engine.database.model.JavaNameGenerator
 
JndiDataSourceFactory - class org.apache.torque.dsfactory.JndiDataSourceFactory.
A factory that looks up the DataSource from JNDI.
JndiDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.JndiDataSourceFactory
 
javaName - Variable in class org.apache.torque.engine.database.model.Column
 
javaName - Variable in class org.apache.torque.engine.database.model.Table
 
javaNamingMethod - Variable in class org.apache.torque.engine.database.model.Column
 
javaNamingMethod - Variable in class org.apache.torque.engine.database.model.Table
 
javaType - Variable in class org.apache.torque.engine.database.model.Column
 
javanameMethod(String) - Method in class org.apache.torque.engine.database.model.JavaNameGenerator
Converts a database schema name to java object name.
jcsCache - Variable in class org.apache.torque.manager.MethodResultCache
 
jdbcToJavaNativeMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToJavaNativeObjectMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToJavaObjectMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToPPMethodMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToTorqueTypeMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToVillageMethodMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jdbcToVillageObjectMethodMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
jndiEnvironment - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Environment that may be used to set up a jndi initial context.
joinL - Variable in class org.apache.torque.util.Criteria
 
joinR - Variable in class org.apache.torque.util.Criteria
 

K

key - Variable in class org.apache.torque.engine.database.model.Inheritance
 
key - Variable in class org.apache.torque.om.ComboKey
The array of the keys
key - Variable in class org.apache.torque.om.ObjectKey
The underlying key value.
keyClassName - Static variable in class org.apache.torque.manager.MethodResultCache
 
keyFor(BigDecimal) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(int) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(long) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(double) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(Number) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(NumberKey) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(String) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(StringKey) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(Date) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
keyFor(DateKey) - Static method in class org.apache.torque.om.SimpleKey
Creates a SimpleKey equivalent to key
killThread - Variable in class org.apache.torque.util.LargeSelect
A flag used to kill the thread when the currently executing query is no longer required.

L

LESS_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LESS_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
LESS_THAN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LESS_THAN - Static variable in class org.apache.torque.util.SqlEnum
 
LIKE - Static variable in class org.apache.torque.util.Criteria
Comparison type.
LIKE - Static variable in class org.apache.torque.util.SqlEnum
 
LIMIT - Static variable in class org.apache.torque.util.Query
 
LIMIT_STYLE_MYSQL - Static variable in class org.apache.torque.adapter.DB
SELECT ...
LIMIT_STYLE_NONE - Static variable in class org.apache.torque.adapter.DB
Database does not support limiting result sets.
LIMIT_STYLE_ORACLE - Static variable in class org.apache.torque.adapter.DB
LIMIT_STYLE_POSTGRES - Static variable in class org.apache.torque.adapter.DB
SELECT ...
LIMIT_STYLE_SYBASE - Static variable in class org.apache.torque.adapter.DB
SET ROWCOUNT <offset> SELECT ...
LONGVARBINARY - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARBINARY_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARBINARY_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARBINARY_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LONGVARCHAR_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
LargeSelect - class org.apache.torque.util.LargeSelect.
This class can be used to retrieve a large result set from a database query.
LargeSelect(Criteria, int) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned as a List containing a maximum of pageSize Village Record objects at a time, maintaining a maximum of LargeSelect.memoryPageLimit pages of results in memory.
LargeSelect(Criteria, int, int) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned as a List containing a maximum of pageSize Village Record objects at a time, maintaining a maximum of memoryPageLimit pages of results in memory.
LargeSelect(Criteria, int, String) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned as a List containing a maximum of pageSize objects of the type defined within the class named returnBuilderClassName at a time, maintaining a maximum of LargeSelect.memoryPageLimit pages of results in memory.
LargeSelect(Criteria, int, int, String) - Constructor for class org.apache.torque.util.LargeSelect
Creates a LargeSelect whose results are returned as a List containing a maximum of pageSize objects of the type defined within the class named returnBuilderClassName at a time, maintaining a maximum of memoryPageLimit pages of results in memory.
lastQueryTime - Variable in class org.apache.torque.oid.IDBroker
The last time this IDBroker queried the database for ids.
lastResults - Variable in class org.apache.torque.util.LargeSelect
The last page of results that were returned.
limit - Variable in class org.apache.torque.util.Criteria
To limit the number of rows to return.
limit - Variable in class org.apache.torque.util.Query
 
line - Variable in class org.apache.torque.engine.sql.SQLScanner
 
line - Variable in class org.apache.torque.engine.sql.Token
 
listenersMap - Variable in class org.apache.torque.manager.AbstractBaseManager
 
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.Column
Imports a column from an XML specification
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.Database
Load the database object from an xml tag.
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.ForeignKey
Imports foreign key from an XML specification
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Imports foreign key from an XML specification
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.Index
Imports index from an XML specification
loadFromXML(Attributes) - Method in class org.apache.torque.engine.database.model.Inheritance
Imports foreign key from an XML specification
loadFromXML(Attributes, String) - Method in class org.apache.torque.engine.database.model.Table
Load the table object from an xml tag.
loadIdBrokerModel() - Method in class org.apache.torque.task.TorqueSQLTask
Create the database model necessary for the IDBroker tables.
loader - Variable in class org.apache.torque.task.TorqueSQLExec
 
localColumns - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBAxion
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBCloudscape
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2App
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2Net
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInformix
The method is used to lock a table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInstantDB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInterbase
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBMM
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBNone
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOdbc
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOracle
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBPostgres
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSapDB
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSybase
Locks the specified table.
lockTable(Connection, String) - Method in class org.apache.torque.adapter.DBWeblogic
Locks the specified table.
log - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
The log
log - Static variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
The log.
log - Static variable in class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
The log.
log - Static variable in class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
The log.
log - Static variable in class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated. The log.
log - Static variable in class org.apache.torque.engine.database.transform.DTDResolver
Logging
log - Static variable in class org.apache.torque.manager.MethodResultCache
the log
log - Variable in class org.apache.torque.om.BaseObject
Cache the logger to avoid looking it up every time its needed.
log() - Method in class org.apache.torque.om.BaseObject
gets a log4j Category based on class name.
log(String) - Method in class org.apache.torque.pool.ConnectionPool
 
log - Static variable in class org.apache.torque.util.LargeSelect
The log.
logInterval - Variable in class org.apache.torque.pool.ConnectionPool
Interval (in seconds) that the monitor thread reports the pool state
logInterval - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Interval (in seconds) that the monitor thread reports the pool state
logWriter - Variable in class org.apache.torque.pool.ConnectionPool
 
logWriter - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Log stream
loginTimeout - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Login TimeOut in seconds
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 TurbineResource.properties.
MANAGER_SUFFIX - Static variable in class org.apache.torque.Torque
A Service property determining its implementing class name .
MapBuilder - interface org.apache.torque.map.MapBuilder.
MapBuilders are wrappers around DatabaseMaps.
MethodCacheKey - class org.apache.torque.manager.MethodCacheKey.
 
MethodCacheKey() - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable, String, Serializable, Serializable, Serializable) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey(Serializable[]) - Constructor for class org.apache.torque.manager.MethodCacheKey
 
MethodCacheKey.Factory - class org.apache.torque.manager.MethodCacheKey.Factory.
 
MethodCacheKey.Factory() - Constructor for class org.apache.torque.manager.MethodCacheKey.Factory
 
MethodResultCache - class org.apache.torque.manager.MethodResultCache.
This class provides a cache for convenient storage of method results.
MethodResultCache(GroupCacheAccess) - Constructor for class org.apache.torque.manager.MethodResultCache
 
MethodResultCache() - Constructor for class org.apache.torque.manager.MethodResultCache
Allows subclasses to have ctors that do not require a cache.
main(String[]) - Static method in class org.apache.torque.engine.database.transform.SQLToAppData
Just 4 testing.
makeList(List) - Static method in class org.apache.torque.engine.database.model.Column
Return a comma delimited string listing the specified columns.
makeObject() - Method in class org.apache.torque.manager.MethodCacheKey.Factory
Creates an instance that can be returned by the pool.
managers - Static variable in class org.apache.torque.Torque
A repository of Manager instances.
mapBuilders - Static variable in class org.apache.torque.Torque
Store mapbuilder classnames for peers that have been referenced prior to Torque being initialized.
mapBuilders - Static variable in class org.apache.torque.util.BasePeer
Hashtable that contains the cached mapBuilders.
maxConnections - Variable in class org.apache.torque.pool.ConnectionPool
The maximum number of database connections that can be created.
maxExpiryTime - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Maximum lifetime of a database connection
memoryLimit - Variable in class org.apache.torque.util.LargeSelect
The maximum number of records to maintain in memory.
memoryPageLimit - Static variable in class org.apache.torque.util.LargeSelect
 
method - Variable in class org.apache.torque.manager.MethodCacheKey
 
modified - Variable in class org.apache.torque.om.BaseObject
A flag that indicates an object has been modified since it was last retrieved from the persistence mechanism.
monitor - Variable in class org.apache.torque.pool.ConnectionPool
Monitor thread reporting the pool state
moreIndicator - Static variable in class org.apache.torque.util.LargeSelect
 
moreThanThree - Variable in class org.apache.torque.manager.MethodCacheKey
 
mrCache - Variable in class org.apache.torque.manager.AbstractBaseManager
method results cache

N

NATIVE - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via database-specific ID method (i.e.
NEW_ID - Static variable in class org.apache.torque.om.BaseObject
The constant denoting an unset numeric database identifier.
NEXT_ID - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Next_ID column name
NONE - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
NORMAL - Static variable in class org.apache.torque.task.TorqueSQLExec.DelimiterType
 
NOT_EQUAL - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_EQUAL - Static variable in class org.apache.torque.util.SqlEnum
 
NOT_IMPLEMENTED - Static variable in class org.apache.torque.om.BaseObject
Shared portion of the error message thrown for methods which are not implemented.
NOT_IN - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_IN - Static variable in class org.apache.torque.util.SqlEnum
 
NOT_LIKE - Static variable in class org.apache.torque.util.Criteria
Comparison type.
NOT_LIKE - Static variable in class org.apache.torque.util.SqlEnum
 
NO_ID_METHOD - Static variable in interface org.apache.torque.adapter.IDMethod
No RDBMS key generation (keys may be generated by the application).
NUMERIC - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NUMERIC_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NUMERIC_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NUMERIC_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NUMERIC_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
NameFactory - class org.apache.torque.engine.database.model.NameFactory.
A name generation factory.
NameFactory() - Constructor for class org.apache.torque.engine.database.model.NameFactory
Creates a new instance with storage for algorithm implementations.
NameGenerator - interface org.apache.torque.engine.database.model.NameGenerator.
The generic interface to a name generation algorithm.
NoOpMethodResultCache - class org.apache.torque.manager.NoOpMethodResultCache.
This class provides a cache for convenient storage of method results
NoOpMethodResultCache(GroupCacheAccess) - Constructor for class org.apache.torque.manager.NoOpMethodResultCache
 
NumberKey - class org.apache.torque.om.NumberKey.
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
Creates a NumberKey whose internal representation will be set later, through a set method
NumberKey(String) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(BigDecimal) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
NumberKey(NumberKey) - 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(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(Number) - Constructor for class org.apache.torque.om.NumberKey
Creates a NumberKey equivalent to key.
n - Variable in class org.apache.torque.manager.MethodCacheKey
 
name - Variable in class org.apache.torque.engine.database.model.AppData
Name of the database.
name - Variable in class org.apache.torque.engine.database.model.Column
 
name - Variable in class org.apache.torque.engine.database.model.Database
 
name - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
name - Variable in class org.apache.torque.engine.database.model.IdMethodParameter
 
name - Variable in class org.apache.torque.engine.database.model.Table
 
name - Variable in class org.apache.torque.map.DatabaseMap
Name of the database.
name - Variable in class org.apache.torque.task.PackageAsPathTask
The value to store the conversion in.
needsTransactionInPostgres - Variable in class org.apache.torque.engine.database.model.Column
 
needsTransactionInPostgres - Variable in class org.apache.torque.engine.database.model.Table
 
nested - Variable in class org.apache.torque.TorqueRuntimeException
Holds the reference to the exception or error that caused this exception to be thrown.
next() - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Move to the next token.
next() - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
load the next record from the QueryDataSet
nochangeMethod(String) - Method in class org.apache.torque.engine.database.model.JavaNameGenerator
Converts a database schema name to java object name.
normalizeFKey(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
Normalizes the input of onDelete, onUpdate attributes
notNull - Variable in class org.apache.torque.map.ColumnMap
Is null value allowed ?
notifyListeners(List, Persistent, Persistent) - Method in class org.apache.torque.manager.AbstractBaseManager
 
numer - Static variable in class org.apache.torque.engine.sql.SQLScanner
 

O

ONE - Static variable in class org.apache.torque.oid.IDBroker
The value of ONE!
OR - Static variable in class org.apache.torque.util.Criteria.Criterion
 
OR - Static variable in class org.apache.torque.util.Query
 
ORDER_BY - Static variable in class org.apache.torque.util.BasePeer
Constant criteria key to reference ORDER BY columns.
ORDER_BY - Static variable in class org.apache.torque.util.Query
 
ObjectKey - class org.apache.torque.om.ObjectKey.
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.
objectDataNeedsTrans() - Method in class org.apache.torque.adapter.DB
Deprecated. The hack involving an oid mapping for VARBINARY which necessitated use of this method for Postgres has been obviated by use of the Postgres bytea data type.
offset - Variable in class org.apache.torque.util.Criteria
To start the results at a row other than the first one.
omClass - Variable in class org.apache.torque.manager.AbstractBaseManager
the class that the service will instantiate
onDelete - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
onError - Variable in class org.apache.torque.task.TorqueSQLExec
Action to perform if an error is found
onUpdate - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
or(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria.Criterion
Append an OR Criterion onto this Criterion's list.
or(Criteria.Criterion) - Method in class org.apache.torque.util.Criteria
This method adds a prepared Criterion object to the Criteria.
or(String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, String, Object) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, String, Object, SqlEnum) - Method in class org.apache.torque.util.Criteria
This method adds a new criterion to the list of criterias.
or(String, boolean) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
or(String, boolean, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a boolean to Criteria.
or(String, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
or(String, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add an int to Criteria.
or(String, long) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
or(String, long, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a long to Criteria.
or(String, float) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
or(String, float, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a float to Criteria.
or(String, double) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
or(String, double, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a double to Criteria.
orDate(String, int, int, int) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
orDate(String, int, int, int, SqlEnum) - Method in class org.apache.torque.util.Criteria
Convenience method to add a Date object specified by year, month, and date into the Criteria.
orIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an Object array.
orIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as an int array.
orIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds an 'IN' clause with the criteria supplied as a List.
orNotIn(String, Object[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an Object array.
orNotIn(String, int[]) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as an int array.
orNotIn(String, List) - Method in class org.apache.torque.util.Criteria
Adds a 'NOT IN' clause with the criteria supplied as a List.
orderByColumns - Variable in class org.apache.torque.util.Criteria
 
orderByColumns - Variable in class org.apache.torque.util.Query
 
org.apache.torque - package org.apache.torque
 
org.apache.torque.adapter - package org.apache.torque.adapter
database adapters.
org.apache.torque.dsfactory - package org.apache.torque.dsfactory
Torque's API for creation of various javax.sql.DataSource implementations.
org.apache.torque.engine - package org.apache.torque.engine
 
org.apache.torque.engine.database.model - package org.apache.torque.engine.database.model
 
org.apache.torque.engine.database.transform - package org.apache.torque.engine.database.transform
 
org.apache.torque.engine.sql - package org.apache.torque.engine.sql
 
org.apache.torque.manager - package org.apache.torque.manager
 
org.apache.torque.map - package org.apache.torque.map
 
org.apache.torque.oid - package org.apache.torque.oid
 
org.apache.torque.om - package org.apache.torque.om
 
org.apache.torque.pool - package org.apache.torque.pool
connection pool.
org.apache.torque.task - package org.apache.torque.task
tasks to generate code, sql, docs, ..
org.apache.torque.util - package org.apache.torque.util
 
originalDbName - Variable in class org.apache.torque.util.Criteria
The name of the database as given in the contructor.
output - Variable in class org.apache.torque.task.TorqueSQLExec
Results Output file.
outputFile - Variable in class org.apache.torque.task.TorqueSQLTransformTask
XML descriptor output file.
outputFormat - Variable in class org.apache.torque.task.TorqueDocumentationTask
output format for the generated docs

P

POOL_KEY - Static variable in class org.apache.torque.dsfactory.AbstractDataSourceFactory
"pool" Key for the configuration
PackageAsPathTask - class org.apache.torque.task.PackageAsPathTask.
Simple task to convert packages to paths.
PackageAsPathTask() - Constructor for class org.apache.torque.task.PackageAsPathTask
 
ParseException - exception org.apache.torque.engine.sql.ParseException.
An Exception for parsing SQLToAppData.
ParseException(String) - Constructor for class org.apache.torque.engine.sql.ParseException
 
PerUserPoolDataSourceFactory - class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory.
A factory that looks up the DataSource using the JDBC2 pool methods.
PerUserPoolDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.PerUserPoolDataSourceFactory
 
Persistent - interface org.apache.torque.om.Persistent.
This interface defines methods related to saving an object
pageSize - Variable in class org.apache.torque.util.LargeSelect
The number of records that a page consists of.
params - Variable in class org.apache.torque.util.LargeSelect
A place to store search parameters that relate to this query.
parent - Variable in class org.apache.torque.engine.database.model.Inheritance
 
parentTable - Variable in class org.apache.torque.engine.database.model.Column
 
parentTable - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
parentTable - Variable in class org.apache.torque.engine.database.model.IdMethodParameter
 
parentTable - Variable in class org.apache.torque.engine.database.model.Index
 
parseFile(String) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Parses a XML input file and returns a newly created and populated AppData structure.
parseFile(String) - Method in class org.apache.torque.engine.database.transform.XmlToData
 
parsingStack - Variable in class org.apache.torque.engine.database.transform.XmlToAppData
this is the stack to store parsing data
passivateObject(Object) - Method in class org.apache.torque.manager.MethodCacheKey.Factory
Uninitialize an instance to be returned to the pool.
password - Variable in class org.apache.torque.pool.ConnectionPool
The password for this pool.
password - Variable in class org.apache.torque.task.TorqueSQLExec
Password
path - Variable in class org.apache.torque.dsfactory.JndiDataSourceFactory
The path to get the resource from.
pckg - Variable in class org.apache.torque.task.PackageAsPathTask
The package to convert.
perUserMaxConnections - Variable in class org.apache.torque.pool.TorqueClassicDataSource
Maximum Number of Connections for a specified User in this Data Source
pk - Variable in class org.apache.torque.map.ColumnMap
Is it a primary key?
pkInfo - Variable in class org.apache.torque.map.TableMap
Object to store information that is needed if the for generating primary keys.
pkg - Variable in class org.apache.torque.engine.database.model.Database
 
pkg - Variable in class org.apache.torque.engine.database.model.Table
 
pool - Variable in class org.apache.torque.manager.MethodResultCache
 
pool - Variable in class org.apache.torque.pool.ConnectionPool
Pool containing database connections.
pools - Static variable in class org.apache.torque.pool.TorqueClassicDataSource
Pools keyed by username.
popConnection() - Method in class org.apache.torque.pool.ConnectionPool
Helper function that attempts to pop a connection off the pool's stack, handling the case where the popped connection has become invalid by creating a new connection.
popState(XmlToAppData) - Static method in class org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement
Removes the top element from the stack and activates the stored state
populateObjectsMethod - Variable in class org.apache.torque.util.LargeSelect
A reference to the method in the return builder class that will convert the Village Records to the desired class.
position - Variable in class org.apache.torque.engine.database.model.Column
 
position - Variable in class org.apache.torque.util.LargeSelect
The cursor position in the result set.
prefix - Variable in class org.apache.torque.map.TableMap
The prefix on the table name.
primaryKey - Variable in class org.apache.torque.om.BaseObject
The unique id for the object which can be used for persistence.
primaryKeyMethod - Variable in class org.apache.torque.map.TableMap
The primary key generation method.
primaryKeys - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
Hashtable of columns that have primary keys.
print - Variable in class org.apache.torque.task.TorqueSQLExec
Print SQL results.
printList(List) - Method in class org.apache.torque.engine.database.model.Table
Returns the elements of the list, separated by commas.
printParseError(String, SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Write an error to System.err.
printPrimaryKey() - Method in class org.apache.torque.engine.database.model.Table
Returns all parts of the primary key, separated by commas.
printPrimaryKeys() - Method in class org.apache.torque.engine.database.model.Table
Deprecated. Use printPrimaryKey() instead.
printResults(PrintStream) - Method in class org.apache.torque.task.TorqueSQLExec
print any results in the statement.
printSize() - Method in class org.apache.torque.engine.database.model.Column
Return the size in brackets for use in an sql schema if the type is String.
printStackTrace() - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception the the standar error stream.
printStackTrace(PrintStream) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception to the specified print stream.
printStackTrace(PrintWriter) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception to the specified print writer.
printStackTrace(PrintWriter, int) - Method in class org.apache.torque.TorqueRuntimeException
Prints the stack trace of this exception skiping a specified number of stack frames.
processInValue(Object, boolean, DB) - Static method in class org.apache.torque.util.SqlExpression
Creates an appropriate string for an 'IN' clause from an object.
pushState(XmlToAppData) - Static method in class org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement
Stores the current state on the top of the stack.
put(Object, Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
put(Object, Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Serializable, String, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Serializable[]) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
put(Object, Object) - Method in class org.apache.torque.util.Criteria
Overrides Hashtable put, so that this object is returned instead of the value previously in the Criteria object.
putAll(Map) - Method in class org.apache.torque.util.Criteria
Copies all of the mappings from the specified Map to this Criteria These mappings will replace any mappings that this Criteria had for any of the keys currently in the specified Map.
putImpl(MethodCacheKey, Object) - Method in class org.apache.torque.manager.MethodResultCache
 
putImpl(MethodCacheKey, Object) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
putInstanceImpl(Persistent) - Method in class org.apache.torque.manager.AbstractBaseManager
 
putInstanceImpl(Serializable, Persistent) - Method in class org.apache.torque.manager.AbstractBaseManager
 

Q

QUALIFIER - Static variable in class org.apache.torque.adapter.DBCloudscape
qualifier
QUANTITY - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Quantity column name
Query - class org.apache.torque.util.Query.
Used to assemble an SQL SELECT query.
Query() - Constructor for class org.apache.torque.util.Query
 
qds - Variable in class org.apache.torque.task.TorqueDataDumpTask.TableTool
 
qds - Variable in class org.apache.torque.util.LargeSelect
Used to retrieve query results from Village.
quantityStore - Variable in class org.apache.torque.oid.IDBroker
The quantity of ids to grab for each table.
query - Variable in class org.apache.torque.util.LargeSelect
The SQL query that this LargeSelect represents.
queryCompleted - Variable in class org.apache.torque.util.LargeSelect
An indication of whether or not the current query has completed processing.
quoteAndEscapeText(String, DB) - Static method in class org.apache.torque.util.SqlExpression
Quotes and escapes raw text for placement in a SQL expression.
quoteAndEscapeText(String) - Static method in class org.apache.torque.util.SqlExpression
Deprecated. Use quoteAndEscapeText(String rawText, DB db) instead. the quoteAndEscapeText rules depend on the database.

R

REAL - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
REAL_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
ROW - Static variable in class org.apache.torque.task.TorqueSQLExec.DelimiterType
 
ROWCOUNT - Static variable in class org.apache.torque.util.Query
 
rdbms - Variable in class org.apache.torque.task.TorqueSQLExec
RDBMS Product needed for this SQL.
readChar() - Method in class org.apache.torque.engine.sql.SQLScanner
Reads the next character and increments the line and column counters.
readObject(ObjectInputStream) - Method in class org.apache.torque.manager.AbstractBaseManager
Helper methods for the Serializable interface.
referrers - Variable in class org.apache.torque.engine.database.model.Column
 
referrers - Variable in class org.apache.torque.engine.database.model.Table
 
refreshedObject(Persistent) - Method in interface org.apache.torque.manager.CacheListener
 
region - Variable in class org.apache.torque.manager.AbstractBaseManager
 
registerAsListener() - Method in class org.apache.torque.manager.AbstractBaseManager
NoOp version.
registerMapBuilder(String) - Static method in class org.apache.torque.Torque
Register a MapBuilder
registerPool(String, String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
 
relatedColumnName - Variable in class org.apache.torque.map.ColumnMap
Name of the column that this column is related to.
relatedTableName - Variable in class org.apache.torque.map.ColumnMap
Name of the table that this column is related to.
releaseConnection(PooledConnection) - Method in class org.apache.torque.pool.ConnectionPool
This method returns a connection to the pool, and must be called by the requestor when finished with the connection.
remove(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable[]) - Method in class org.apache.torque.manager.MethodResultCache
 
remove(Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(Serializable, String, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(Serializable, String, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(Serializable, String, Serializable, Serializable, Serializable) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove(Serializable[]) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
remove() - Method in class org.apache.torque.task.TorqueDataDumpTask.TableTool
unsupported! always throws Exception
remove(String) - Method in class org.apache.torque.util.Criteria
Remove an object from the criteria.
removeAll(Serializable, String) - Method in class org.apache.torque.manager.MethodResultCache
 
removeAll(Serializable, String) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
removeImpl(MethodCacheKey) - Method in class org.apache.torque.manager.MethodResultCache
 
removeImpl(MethodCacheKey) - Method in class org.apache.torque.manager.NoOpMethodResultCache
 
removeInstanceImpl(Serializable) - Method in class org.apache.torque.manager.AbstractBaseManager
 
removePrefix(String) - Method in class org.apache.torque.map.TableMap
Removes the PREFIX.
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.
requiresIdTable() - Method in class org.apache.torque.engine.database.model.Database
Determines if this database will be using the IDMethod.ID_BROKER to create ids for torque OM objects.
requiresTransactionInPostgres() - Method in class org.apache.torque.engine.database.model.Column
Return true if the column requires a transaction in Postgres
requiresTransactionInPostgres() - Method in class org.apache.torque.engine.database.model.Table
Return true if the column requires a transaction in Postgres
resetModified() - Method in class org.apache.torque.om.BaseObject
Sets the modified state for the object to be false.
resolveEntity(String, String) - Method in class org.apache.torque.engine.database.transform.DTDResolver
called by the XML parser
resolveEntity(String, String) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
EntityResolver implementation.
resolveEntity(String, String) - Method in class org.apache.torque.engine.database.transform.XmlToData
called by the XML parser
results - Variable in class org.apache.torque.util.LargeSelect
The memory store of records.
retrieveStoredOM(ObjectKey) - Method in class org.apache.torque.manager.AbstractBaseManager
 
retrieveStoredOMs(List) - Method in class org.apache.torque.manager.AbstractBaseManager
 
returnBuilderClass - Variable in class org.apache.torque.util.LargeSelect
The class that is possibly used to construct the criteria and used to transform the Village Records into the desired OM or business objects.
rollback(Connection) - Static method in class org.apache.torque.util.Transaction
Roll back a transaction in databases that support transactions.
rowcount - Variable in class org.apache.torque.util.Query
 
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.pool.ConnectionPool.Monitor
run method for the monitor thread
run() - Method in class org.apache.torque.util.LargeSelect
A background thread that retrieves the rows.
runStatements(Reader, PrintStream) - Method in class org.apache.torque.task.TorqueSQLExec
Read the statements from the .sql file and execute them.
runTransaction(PrintStream) - Method in class org.apache.torque.task.TorqueSQLExec.Transaction
 

S

SELECT - Static variable in class org.apache.torque.util.Query
 
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 - Static variable in interface org.apache.torque.adapter.IDMethod
Key generation via sequences.
SETNULL - Variable in class org.apache.torque.engine.database.model.ForeignKey
 
SINGLE_QUOTE - Static variable in class org.apache.torque.util.SqlExpression
 
SMALLINT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SMALLINT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
SQLScanner - class org.apache.torque.engine.sql.SQLScanner.
A simple Scanner implementation that scans an sql file into usable tokens.
SQLScanner() - Constructor for class org.apache.torque.engine.sql.SQLScanner
Creates a new scanner with no Reader
SQLScanner(Reader) - Constructor for class org.apache.torque.engine.sql.SQLScanner
Creates a new scanner with an Input Reader
SQLToAppData - class org.apache.torque.engine.database.transform.SQLToAppData.
A Class that converts an sql input file to an AppData structure.
SQLToAppData(String) - Constructor for class org.apache.torque.engine.database.transform.SQLToAppData
Create a new class with an input Reader
SQLToAppData(String, String, String) - Constructor for class org.apache.torque.engine.database.transform.SQLToAppData
Create a new class with an input Reader.
STD_SEPARATOR_CHAR - Static variable in interface org.apache.torque.engine.database.model.NameGenerator
The character used by most implementations as the separator between name elements.
SequenceIdGenerator - class org.apache.torque.oid.SequenceIdGenerator.
This generator works with databases that have an sql syntax for getting an id prior to inserting a row into the database.
SequenceIdGenerator(DB) - Constructor for class org.apache.torque.oid.SequenceIdGenerator
Creates an IdGenerator which will work with the specified database.
SharedPoolDataSourceFactory - class org.apache.torque.dsfactory.SharedPoolDataSourceFactory.
A factory that looks up the DataSource using the JDBC2 pool methods.
SharedPoolDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.SharedPoolDataSourceFactory
 
SimpleKey - class org.apache.torque.om.SimpleKey.
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
 
SqlEnum - class org.apache.torque.util.SqlEnum.
A typesafe enum of SQL string fragments.
SqlEnum(String) - Constructor for class org.apache.torque.util.SqlEnum
 
SqlExpression - class org.apache.torque.util.SqlExpression.
This class represents a part of an SQL query found in the WHERE section.
SqlExpression() - Constructor for class org.apache.torque.util.SqlExpression
 
StringKey - class org.apache.torque.om.StringKey.
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
Creates an SimpleKey whose internal representation will be set later, through a set method
StringKey(String) - Constructor for class org.apache.torque.om.StringKey
Creates a StringKey whose internal representation is a String
StringKey(StringKey) - Constructor for class org.apache.torque.om.StringKey
Creates a StringKey that is equivalent to key.
s - Variable in class org.apache.torque.util.SqlEnum
 
safeRollback(Connection) - Static method in class org.apache.torque.util.Transaction
Roll back a transaction without throwing errors if they occur.
safetyMargin - Static variable in class org.apache.torque.oid.IDBroker
The safety Margin
sameJavaName - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
 
save() - Method in class org.apache.torque.om.BaseObject
 
save(String) - Method in class org.apache.torque.om.BaseObject
 
save(Connection) - Method in class org.apache.torque.om.BaseObject
 
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.
saxFactory - Static variable in class org.apache.torque.engine.database.transform.XmlToAppData
 
saxFactory - Static variable in class org.apache.torque.engine.database.transform.XmlToData
 
scan() - Method in class org.apache.torque.engine.sql.SQLScanner
Scan the input Reader and returns a list of tokens.
scanIdentifier() - Method in class org.apache.torque.engine.sql.SQLScanner
Scans an identifier.
scanNegativeIdentifier() - Method in class org.apache.torque.engine.sql.SQLScanner
Scans an identifier which had started with the negative sign.
selectColumns - Variable in class org.apache.torque.util.Criteria
 
selectColumns - Variable in class org.apache.torque.util.Query
 
selectModifiers - Variable in class org.apache.torque.util.Criteria
 
selectModifiers - Variable in class org.apache.torque.util.Query
 
selectRow(Connection, String) - Method in class org.apache.torque.oid.IDBroker
Helper method to select a row in the ID_TABLE.
setAbstract(boolean) - Method in class org.apache.torque.engine.database.model.Table
When a table is abstract, it marks the business object class that is generated as being abstract.
setAlias(String) - Method in class org.apache.torque.engine.database.model.Table
Set whether this table specified in the schema or is there just a foreign key reference to it.
setAll() - Method in class org.apache.torque.util.Criteria
Adds "ALL " to the SQL statement.
setAncestor(String) - Method in class org.apache.torque.engine.database.model.Inheritance
Set the value of ancestor.
setAppData(AppData) - Method in class org.apache.torque.engine.database.model.Database
Set the parent of the database
setAutoIncrement(boolean) - Method in class org.apache.torque.engine.database.model.Column
Set the auto increment value.
setAutocommit(boolean) - Method in class org.apache.torque.task.TorqueSQLExec
Set the autocommit flag for the DB connection.
setBaseClass(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of baseClass.
setBaseClass(String) - Method in class org.apache.torque.engine.database.model.Table
Set the value of baseClass.
setBasePathToDbProps(String) - Method in class org.apache.torque.task.TorqueDataModelTask
The path to properties file containing db idiosyncrasies is constructed by appending the "getTargetDatabase()/db.props to this path.
setBasePeer(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of basePeer.
setBasePeer(String) - Method in class org.apache.torque.engine.database.model.Table
Set the value of basePeer.
setBlobFlag() - Method in class org.apache.torque.util.Criteria
Deprecated. Use @see #setBlobFlag(boolean)
setBlobFlag(boolean) - Method in class org.apache.torque.util.Criteria
Peers can set this flag to notify BasePeer that the table(s) involved in the Criteria contain Blobs, so that the operation can be placed in a transaction if the db requires it.
setCascade(boolean) - Method in class org.apache.torque.util.Criteria
Set cascade.
setClassName(String) - Method in class org.apache.torque.engine.database.model.Inheritance
Set the value of className.
setClassName(String) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the classname to instantiate for getInstance()
setClasspath(Path) - Method in class org.apache.torque.task.TorqueSQLExec
Set the classpath for loading the driver.
setClasspathRef(Reference) - Method in class org.apache.torque.task.TorqueSQLExec
Set the classpath for loading the driver using the classpath reference.
setColumn(Column) - Method in class org.apache.torque.engine.database.model.Inheritance
Set the value of parent.
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.oid.IDBroker
 
setConnectionPoolDataSource(ConnectionPoolDataSource) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the backend ConnectionPoolDataSource.
setConnectionWaitTimeout(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Eet the amount of time (in seconds) a connection request will have to wait before a time out occurs and an error is thrown.
setContainsForeignPK(boolean) - Method in class org.apache.torque.engine.database.model.Table
Set whether this table contains a foreign PK
setContextProperties(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Override Texen's context properties to map the torque.xxx properties (including defaults set by the org/apache/torque/defaults.properties) to just xxx.
setDB(DB) - Method in class org.apache.torque.util.Criteria.Criterion
Set the value of db.
setDataDTD(String) - Method in class org.apache.torque.task.TorqueDataSQLTask
Sets the DataDTD attribute of the TorqueDataSQLTask object
setDataSourceName(String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the name of the ConnectionPoolDataSource which backs this pool.
setDataXmlFile(String) - Method in class org.apache.torque.task.TorqueDataSQLTask
Sets the DataXmlFile attribute of the TorqueDataSQLTask object
setDatabase(Database) - Method in class org.apache.torque.engine.database.model.Table
Set the parent of the table
setDatabase(String) - Method in class org.apache.torque.task.TorqueSQLTask
 
setDatabaseDriver(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database driver name
setDatabaseName(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database name
setDatabasePassword(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database password
setDatabaseType(String) - Method in class org.apache.torque.engine.database.model.Database
 
setDatabaseUrl(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database url
setDatabaseUser(String) - Method in class org.apache.torque.task.TorqueDataDumpTask
Set the database user
setDbDriver(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDbName(String) - Method in class org.apache.torque.util.Criteria
Set the DatabaseMap name.
setDbPassword(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDbSchema(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDbUrl(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDbUser(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setDefaultAutoCommit(boolean) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the value of defaultAutoCommit, which defines the state of connections handed out from this pool.
setDefaultIdMethod(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of defaultIdMethod.
setDefaultJavaNamingMethod(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of defaultJavaNamingMethod.
setDefaultMaxConnections(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the number of database connections to cache per user.
setDefaultReadOnly(boolean) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the value of defaultReadOnly, which defines the state of connections handed out from this pool.
setDefaultValue(String) - Method in class org.apache.torque.engine.database.model.Column
Set a string that will give this column a default value.
setDelimiter(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the statement delimiter.
setDelimiterType(TorqueSQLExec.DelimiterType) - Method in class org.apache.torque.task.TorqueSQLExec
Set the Delimiter type for this sql task.
setDescription(String) - Method in class org.apache.torque.engine.database.model.Column
Set the description for the Table
setDescription(String) - Method in class org.apache.torque.engine.database.model.Table
Set the description for the Table
setDescription(String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the description.
setDistinct() - Method in class org.apache.torque.util.Criteria
Adds "DISTINCT " to the SQL statement.
setDriver(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the JDBC driver to be used.
setEncoding(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the file encoding to use on the sql files read in
setForReferenceOnly(boolean) - Method in class org.apache.torque.engine.database.model.Table
Flag to determine if code/sql gets created for this table.
setForeignKey(String) - Method in class org.apache.torque.map.ColumnMap
Set the foreign key for this column.
setForeignKey(String, String) - Method in class org.apache.torque.map.ColumnMap
Set the foreign key for this column.
setForeignTableName(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
Set the foreignTableName of the FK
setHaving(String) - Method in class org.apache.torque.util.Query
Set the having clause.
setHeavyIndexing(boolean) - Method in class org.apache.torque.engine.database.model.Database
Set the value of heavyIndexing.
setIdMethod(String) - Method in class org.apache.torque.engine.database.model.Table
Set the method for generating pk's
setIdTable(TableMap) - Method in class org.apache.torque.map.DatabaseMap
Set the ID table for this database.
setIdTable(String) - Method in class org.apache.torque.map.DatabaseMap
Set the ID table for this database.
setIdTableXMLFile(String) - Method in class org.apache.torque.task.TorqueSQLTask
Set the path to the xml schema file that defines the id-table, used by the idbroker method.
setIgnoreCase(boolean) - Method in class org.apache.torque.util.Criteria.Criterion
Sets ignore case.
setIgnoreCase(boolean) - Method in class org.apache.torque.util.Criteria
Sets ignore case.
setIndexName(String) - Method in class org.apache.torque.engine.database.model.Index
Deprecated. Use setName(String name) instead.
setInput(Reader) - Method in class org.apache.torque.engine.sql.SQLScanner
Set the Input
setInputFile(String) - Method in class org.apache.torque.task.TorqueSQLTransformTask
Set the sql input file.
setInterface(String) - Method in class org.apache.torque.engine.database.model.Table
Interface which objects for this table will implement
setJavaName(String) - Method in class org.apache.torque.engine.database.model.Column
Set name to use in Java sources
setJavaName(String) - Method in class org.apache.torque.engine.database.model.Table
Set name to use in Java sources
setJndiEnvironment(String, String) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the value of jndiEnvironment which is used when instantiating a jndi InitialContext.
setKey(String) - Method in class org.apache.torque.engine.database.model.Inheritance
Set the value of key.
setLimit(int) - Method in class org.apache.torque.util.Criteria
Set limit.
setLimit(String) - Method in class org.apache.torque.util.Query
Set the limit number.
setLogInterval(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the interval (in seconds) between which the ConnectionPool logs the status of it's Connections.
setLogWriter(PrintWriter) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the log writer for this data source.
setLoginTimeout(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Sets the maximum time in seconds that this data source will wait while attempting to connect to a database.
setMaxExpiryTime(int) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the amount of time (in seconds) that database connections will be cached.
setMemoryPageLimit(int) - Static 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 class org.apache.torque.om.BaseObject
Sets the modified state for the object.
setModified(boolean) - Method in interface org.apache.torque.om.Persistent
Sets the modified state for the object.
setMoreIndicator(String) - Static method in class org.apache.torque.util.LargeSelect
Provide a way of changing the more pages/records indicator.
setName(String) - Method in class org.apache.torque.engine.database.model.AppData
Set the name of the database.
setName(String) - Method in class org.apache.torque.engine.database.model.Column
Set the name of the column
setName(String) - Method in class org.apache.torque.engine.database.model.Database
Set the name of the Database
setName(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
Sets the name attribute.
setName(String) - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Set the parameter name
setName(String) - Method in class org.apache.torque.engine.database.model.Index
Set the name of this index.
setName(String) - Method in class org.apache.torque.engine.database.model.Table
Set the name of the Table
setName(String) - Method in class org.apache.torque.task.PackageAsPathTask
 
setNew(boolean) - Method in class org.apache.torque.om.BaseObject
Setter for the isNew attribute.
setNew(boolean) - Method in interface org.apache.torque.om.Persistent
Setter for the isNew attribute.
setNotNull(boolean) - Method in class org.apache.torque.engine.database.model.Column
Set the isNotNull property of the column
setNotNull(boolean) - Method in class org.apache.torque.map.ColumnMap
Set if this column may be null.
setOMClass(Class) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the Class that will be instantiated by this manager
setOffset(int) - Method in class org.apache.torque.util.Criteria
Set offset.
setOnDelete(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
Sets the onDelete attribute
setOnUpdate(String) - Method in class org.apache.torque.engine.database.model.ForeignKey
Sets the onUpdate attribute
setOnerror(TorqueSQLExec.OnError) - Method in class org.apache.torque.task.TorqueSQLExec
Set the action to perform onerror
setOutput(File) - Method in class org.apache.torque.task.TorqueSQLExec
Set the output file.
setOutputFile(String) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setOutputFile(String) - Method in class org.apache.torque.task.TorqueSQLTransformTask
Set the current output file.
setOutputFormat(String) - Method in class org.apache.torque.task.TorqueDocumentationTask
Set the current output format.
setPackage(String) - Method in class org.apache.torque.engine.database.model.Database
Set the value of package.
setPackage(String) - Method in class org.apache.torque.engine.database.model.Table
Set the value of package.
setPackage(String) - Method in class org.apache.torque.task.PackageAsPathTask
 
setPassword(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the password for the DB connection.
setPerUserMaxConnections(Properties) - Method in class org.apache.torque.pool.TorqueClassicDataSource
Set the number of database connections to cache per user.
setPosition(int) - Method in class org.apache.torque.engine.database.model.Column
Get the location of this column within the table (one-based).
setPrefix(String) - Method in class org.apache.torque.map.TableMap
Set table prefix name.
setPrimaryKey(boolean) - Method in class org.apache.torque.engine.database.model.Column
Set if the column is a primary key or not
setPrimaryKey(boolean) - Method in class org.apache.torque.map.ColumnMap
Set if this column is a primary key or not.
setPrimaryKey(int) - Method in class org.apache.torque.om.BaseObject
Deprecated.  
setPrimaryKey(long) - Method in class org.apache.torque.om.BaseObject
Deprecated.  
setPrimaryKey(String) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object.
setPrimaryKey(SimpleKey[]) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object as an Object.
setPrimaryKey(ObjectKey) - Method in class org.apache.torque.om.BaseObject
Sets the PrimaryKey for the object as an Object.
setPrimaryKey(ObjectKey) - Method in interface org.apache.torque.om.Persistent
Sets the PrimaryKey for the object.
setPrimaryKey(String) - Method in interface org.apache.torque.om.Persistent
Sets the PrimaryKey for the object.
setPrimaryKeyMethod(String) - 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
setPrint(boolean) - Method in class org.apache.torque.task.TorqueSQLExec
Set the print flag.
setProperty(String, Configuration, Object) - Method in class org.apache.torque.dsfactory.AbstractDataSourceFactory
Encapsulates setting configuration properties on DataSource objects.
setRdbms(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the rdbms required
setRegion(String) - Method in class org.apache.torque.manager.AbstractBaseManager
Set the value of region.
setRowcount(String) - Method in class org.apache.torque.util.Query
Set the rowcount number.
setSameJavaName(boolean) - Method in class org.apache.torque.task.TorqueJDBCTransformTask
 
setSearchParam(String, String) - Method in class org.apache.torque.util.LargeSelect
Set a search parameter.
setSequenceInfo(Object) - Method in class org.apache.torque.map.TableMap
Deprecated. Use setPrimaryKeyMethodInfo
setShowheaders(boolean) - Method in class org.apache.torque.task.TorqueSQLExec
Set the showheaders flag.
setSingleRecord(boolean) - Method in class org.apache.torque.util.Criteria
Set single record? Set this to true if you expect the query to result in only a single result record (the default behaviour is to throw a TorqueException if multiple records are returned when the query is executed).
setSize(String) - Method in class org.apache.torque.engine.database.model.Column
Set the size of the column
setSize(int) - Method in class org.apache.torque.map.ColumnMap
Set the size of this column.
setSkipSql(boolean) - Method in class org.apache.torque.engine.database.model.Table
Set whether this table should have its creation sql generated.
setSqlDbMap(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Set the sqldbmap.
setSqlDbMap(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the sqldbmap properties file.
setSqlFile(String) - Method in class org.apache.torque.engine.database.transform.SQLToAppData
Set the current input sql file
setSrc(File) - Method in class org.apache.torque.task.TorqueSQLExec.Transaction
 
setSrcDir(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the src directory for the sql files listed in the sqldbmap file.
setSuffix(String) - Method in class org.apache.torque.task.TorqueSQLTask
 
setTable(Table) - Method in class org.apache.torque.engine.database.model.Column
Set the parent Table of the column
setTable(Table) - Method in class org.apache.torque.engine.database.model.ForeignKey
Set the parent Table of the foreign key
setTable(Table) - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Set the parent Table of the id method
setTable(Table) - Method in class org.apache.torque.engine.database.model.Index
Set the parent Table of the index
setTable(String) - Method in class org.apache.torque.util.Criteria.Criterion
Set the table name.
setTargetDatabase(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Set the current target database.
setTargetDatabase(String) - Method in class org.apache.torque.task.TorqueDataSQLTask
Set the current target database.
setTargetPackage(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Set the current target package.
setType(String) - Method in class org.apache.torque.engine.database.model.Column
Returns the colunm type
setType(Object) - Method in class org.apache.torque.map.ColumnMap
Set the type of this column.
setTypeFromString(String, String) - Method in class org.apache.torque.engine.database.model.Column
Set the column type from a string property (normally a string from an sql input file)
setUnique(boolean) - Method in class org.apache.torque.engine.database.model.Column
Set true if the column is UNIQUE
setUrl(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the DB connection url.
setUseTransaction(boolean) - Method in class org.apache.torque.util.Criteria
Will force the sql represented by this criteria to be executed within a transaction.
setUserid(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the user name for the DB connection.
setValue(String) - Method in class org.apache.torque.engine.database.model.IdMethodParameter
Set the parameter value
setValue(SimpleKey[]) - Method in class org.apache.torque.om.ComboKey
Sets the internal representation using a SimpleKey array.
setValue(String[]) - Method in class org.apache.torque.om.ComboKey
Deprecated. ambiguous unnecessary method will be removed.
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(ComboKey) - Method in class org.apache.torque.om.ComboKey
Sets the internal representation using a ComboKey.
setValue(String) - Method in class org.apache.torque.om.DateKey
Sets the internal representation to a String
setValue(DateKey) - Method in class org.apache.torque.om.DateKey
Sets the internal representation to the same object used by key.
setValue(String) - Method in class org.apache.torque.om.NumberKey
Sets the internal representation using a String representation of a number
setValue(BigDecimal) - Method in class org.apache.torque.om.NumberKey
Sets the underlying object
setValue(NumberKey) - Method in class org.apache.torque.om.NumberKey
Sets the internal representation to the same object used by key.
setValue(String) - Method in class org.apache.torque.om.ObjectKey
Reset the underlying object using a String.
setValue(String) - Method in class org.apache.torque.om.StringKey
Sets the internal representation to a String
setValue(StringKey) - Method in class org.apache.torque.om.StringKey
Sets the internal representation to the same object used by key.
setVersion(String) - Method in class org.apache.torque.task.TorqueSQLExec
Set the version required
setXmlFile(String) - Method in class org.apache.torque.task.TorqueDataModelTask
Set the xml schema describing the application model.
setupIdTable(DatabaseMap) - Static method in class org.apache.torque.Torque
Setup IDBroker's table information within given database map.
shortValue() - Method in class org.apache.torque.om.NumberKey
Returns the value of this NumberKey as a short.
showheaders - Variable in class org.apache.torque.task.TorqueSQLExec
Print header columns.
shutdown() - Static method in class org.apache.torque.Torque
Shuts down the service.
shutdown() - Method in class org.apache.torque.pool.ConnectionPool.Monitor
Shut down the monitor
shutdown() - Method in class org.apache.torque.pool.ConnectionPool
Close all connections to the database,
singleRecord - Variable in class org.apache.torque.util.Criteria
 
size - Variable in class org.apache.torque.engine.database.model.Column
 
size - Variable in class org.apache.torque.map.ColumnMap
Size of the column.
skipSql - Variable in class org.apache.torque.engine.database.model.Table
 
sleepPeriod - Static variable in class org.apache.torque.oid.IDBroker
Amount of time for the thread to sleep
special - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
splitStackTrace(String) - Method in class org.apache.torque.TorqueRuntimeException
Splits the stack trace given as a newline separated string into an array of stack frames.
sqlCommand - Variable in class org.apache.torque.task.TorqueSQLExec
SQL input command
sqlFile - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
sqldbmap - Variable in class org.apache.torque.task.TorqueDataModelTask
Name of the properties file that maps an SQL file to a particular database.
sqldbmap - Variable in class org.apache.torque.task.TorqueSQLExec
Properties file that maps an individual SQL file to a database.
srcDir - Variable in class org.apache.torque.task.TorqueSQLExec
Src directory for the files listed in the sqldbmap.
startElement(String, String, String, Attributes) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Handles opening elements of the xml file.
startElement(String, String, String, Attributes) - Method in class org.apache.torque.engine.database.transform.XmlToData
Handles opening elements of the xml file.
startQuery(int) - Method in class org.apache.torque.util.LargeSelect
Starts a new thread to retrieve the result set.
statement - Variable in class org.apache.torque.task.TorqueSQLExec
SQL statement
stmt - Variable in class org.apache.torque.task.TorqueDataDumpTask
The statement used to acquire the data to dump.
stop() - Method in class org.apache.torque.oid.IDBroker
Shuts down the IDBroker thread.
stopQuery() - Method in class org.apache.torque.util.LargeSelect
Used to stop filling the memory with the current block of results, if it has been determined that they are no longer relevant.
storeIDs(String, boolean, Connection) - Method in class org.apache.torque.oid.IDBroker
Grabs more ids from the id_table and stores it in the ids Hashtable.
str - Variable in class org.apache.torque.engine.sql.Token
 
suffix - Variable in class org.apache.torque.task.TorqueSQLTask
 
supportsNativeLimit() - Method in class org.apache.torque.adapter.DB
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBMM
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBMSSQL
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBOracle
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.DBPostgres
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeLimit() - Method in class org.apache.torque.adapter.DBSybase
This method is used to chek whether the database natively supports limiting the size of the resultset.
supportsNativeOffset() - Method in class org.apache.torque.adapter.DB
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.DBMM
This method is used to chek whether the database natively supports returning results starting at an offset position other than 0.
supportsNativeOffset() - Method in class org.apache.torque.adapter.DBPostgres
This method is used to chek whether the database natively supports returning results starting at an offset position other than 0.

T

TABLE_NAME - Static variable in class org.apache.torque.oid.IDBroker
Fully qualified Table_Name column name
TABLE_NAME - Static variable in class org.apache.torque.util.BasePeer
Classes that implement this class should override this value.
TEXT_TYPES - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIMESTAMP_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TIME_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_NATIVE_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
TINYINT_VILLAGE_OBJECT_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
Table - class org.apache.torque.engine.database.model.Table.
Data about a table used in an application.
Table() - Constructor for class org.apache.torque.engine.database.model.Table
Default Constructor
Table(String) - Constructor for class org.apache.torque.engine.database.model.Table
Constructs a table object with a name
TableMap - class org.apache.torque.map.TableMap.
TableMap is used to model a table in a database.
TableMap() - Constructor for class org.apache.torque.map.TableMap
Required by proxy.
TableMap(String, int, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
TableMap(String, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
TableMap(String, String, DatabaseMap) - Constructor for class org.apache.torque.map.TableMap
Constructor.
Token - class org.apache.torque.engine.sql.Token.
A single token returned by SQLScanner.
Token(String) - Constructor for class org.apache.torque.engine.sql.Token
Creates a new token without positioning.
Token(String, int, int) - Constructor for class org.apache.torque.engine.sql.Token
Creates a new token with positioning settings.
Torque - class org.apache.torque.Torque.
The implementation of Torque.
Torque() - Constructor for class org.apache.torque.Torque
 
TorqueClassicDataSource - class org.apache.torque.pool.TorqueClassicDataSource.
Torque's default connection pool DataSource
TorqueClassicDataSource() - Constructor for class org.apache.torque.pool.TorqueClassicDataSource
Default no-arg constructor for Serialization
TorqueDataDumpTask - class org.apache.torque.task.TorqueDataDumpTask.
An extended Texen task used for dumping data from db into XML
TorqueDataDumpTask() - Constructor for class org.apache.torque.task.TorqueDataDumpTask
 
TorqueDataDumpTask.TableTool - class org.apache.torque.task.TorqueDataDumpTask.TableTool.
A nasty do-it-all tool class.
TorqueDataDumpTask.TableTool() - Constructor for class org.apache.torque.task.TorqueDataDumpTask.TableTool
Constructor for the TableTool object
TorqueDataDumpTask.TableTool(QueryDataSet) - Constructor for class org.apache.torque.task.TorqueDataDumpTask.TableTool
Constructor for the TableTool object
TorqueDataModelTask - class org.apache.torque.task.TorqueDataModelTask.
A base torque task that uses either a single XML schema representing a data model, or a <fileset> of XML schemas.
TorqueDataModelTask() - Constructor for class org.apache.torque.task.TorqueDataModelTask
 
TorqueDataSQLTask - class org.apache.torque.task.TorqueDataSQLTask.
An extended Texen task used for generating SQL source from an XML data file
TorqueDataSQLTask() - Constructor for class org.apache.torque.task.TorqueDataSQLTask
 
TorqueDataSourceFactory - class org.apache.torque.dsfactory.TorqueDataSourceFactory.
Deprecated. as of version 3.1, use Jdbc2PoolDataSourceFactory
TorqueDataSourceFactory() - Constructor for class org.apache.torque.dsfactory.TorqueDataSourceFactory
Deprecated.  
TorqueDocumentationTask - class org.apache.torque.task.TorqueDocumentationTask.
An ant task for generating output by using Velocity
TorqueDocumentationTask() - Constructor for class org.apache.torque.task.TorqueDocumentationTask
 
TorqueException - exception org.apache.torque.TorqueException.
The base class of all exceptions thrown by Torque.
TorqueException() - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException without specified detail message.
TorqueException(String) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified detail message.
TorqueException(Throwable) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified nested Throwable.
TorqueException(String, Throwable) - Constructor for class org.apache.torque.TorqueException
Constructs a new TorqueException with specified detail message and nested Throwable.
TorqueJDBCTransformTask - class org.apache.torque.task.TorqueJDBCTransformTask.
This class generates an XML schema of an existing database from JDBC metadata.
TorqueJDBCTransformTask() - Constructor for class org.apache.torque.task.TorqueJDBCTransformTask
 
TorqueRuntimeException - exception org.apache.torque.TorqueRuntimeException.
This is a base class of runtime exeptions thrown by Torque.
TorqueRuntimeException() - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException without specified detail message.
TorqueRuntimeException(String) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified detail message.
TorqueRuntimeException(Throwable) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified nested Throwable.
TorqueRuntimeException(String, Throwable) - Constructor for class org.apache.torque.TorqueRuntimeException
Constructs a new TorqueRuntimeException with specified detail message and nested Throwable.
TorqueSQLExec - class org.apache.torque.task.TorqueSQLExec.
This task uses an SQL -> Database map in the form of a properties file to insert each SQL file listed into its designated database.
TorqueSQLExec() - Constructor for class org.apache.torque.task.TorqueSQLExec
 
TorqueSQLExec.DelimiterType - class org.apache.torque.task.TorqueSQLExec.DelimiterType.
 
TorqueSQLExec.DelimiterType() - Constructor for class org.apache.torque.task.TorqueSQLExec.DelimiterType
 
TorqueSQLExec.OnError - class org.apache.torque.task.TorqueSQLExec.OnError.
Enumerated attribute with the values "continue", "stop" and "abort" for the onerror attribute.
TorqueSQLExec.OnError() - Constructor for class org.apache.torque.task.TorqueSQLExec.OnError
 
TorqueSQLExec.Transaction - class org.apache.torque.task.TorqueSQLExec.Transaction.
Contains the definition of a new transaction element.
TorqueSQLExec.Transaction() - Constructor for class org.apache.torque.task.TorqueSQLExec.Transaction
 
TorqueSQLTask - class org.apache.torque.task.TorqueSQLTask.
An extended Texen task used for generating SQL source from an XML schema describing a database structure.
TorqueSQLTask() - Constructor for class org.apache.torque.task.TorqueSQLTask
 
TorqueSQLTransformTask - class org.apache.torque.task.TorqueSQLTransformTask.
An ant task for creating an xml schema from an sql schema
TorqueSQLTransformTask() - Constructor for class org.apache.torque.task.TorqueSQLTransformTask
 
Transaction - class org.apache.torque.util.Transaction.
Refactored begin/commit/rollback transaction methods away from the BasePeer.
Transaction() - Constructor for class org.apache.torque.util.Transaction
 
TypeMap - class org.apache.torque.engine.database.model.TypeMap.
A class that maps JDBC types to their corresponding Java object types, and Java native types.
TypeMap() - Constructor for class org.apache.torque.engine.database.model.TypeMap
 
tSqlCommand - Variable in class org.apache.torque.task.TorqueSQLExec.Transaction
 
tSrcFile - Variable in class org.apache.torque.task.TorqueSQLExec.Transaction
 
table - Variable in class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
table - Variable in class org.apache.torque.map.ColumnMap
The TableMap for this column.
table - Variable in class org.apache.torque.util.Criteria.Criterion
Table name.
tableList - Variable in class org.apache.torque.engine.database.model.Database
 
tableMap - Variable in class org.apache.torque.oid.IDBroker
The TableMap referencing the ID_TABLE for this IDBroker.
tableName - Variable in class org.apache.torque.map.TableMap
The name of the table.
tableParent - Variable in class org.apache.torque.engine.database.model.Table
 
tables - Variable in class org.apache.torque.map.DatabaseMap
Name of the tables in the database.
tablesByJavaName - Variable in class org.apache.torque.engine.database.model.Database
 
tablesByName - Variable in class org.apache.torque.engine.database.model.Database
 
targetDatabase - Variable in class org.apache.torque.task.TorqueDataModelTask
The target database(s) we are generating SQL for.
targetDatabase - Variable in class org.apache.torque.task.TorqueDataSQLTask
The target database(s) we are generating SQL for.
targetPackage - Variable in class org.apache.torque.task.TorqueDataModelTask
Target Java package to place the generated files in.
thread - Variable in class org.apache.torque.util.LargeSelect
The thread that executes the query.
threadRunning - Variable in class org.apache.torque.util.LargeSelect
A flag that indicates whether or not the query thread is running.
throwMalformedColumnNameException(String, String) - Static method in class org.apache.torque.util.BasePeer
Throws a TorqueException with the malformed column name error message.
timeStamps - Variable in class org.apache.torque.pool.ConnectionPool
Keep track of when connections were created.
toString() - Method in class org.apache.torque.engine.database.model.AppData
Creats a string representation of this AppData.
toString() - Method in class org.apache.torque.engine.database.model.Column
String representation of the column.
toString() - Method in class org.apache.torque.engine.database.model.Database
Creats a string representation of this Database.
toString() - Method in class org.apache.torque.engine.database.model.ForeignKey
String representation of the foreign key.
toString() - Method in class org.apache.torque.engine.database.model.IdMethodParameter
XML representation of the foreign key.
toString() - Method in class org.apache.torque.engine.database.model.Index
String representation of the index.
toString() - Method in class org.apache.torque.engine.database.model.Inheritance
String representation of the foreign key.
toString() - Method in class org.apache.torque.engine.database.model.Table
Returns a XML representation of this table.
toString() - Method in class org.apache.torque.engine.database.model.Unique
String representation of the index.
toString() - Method in class org.apache.torque.engine.sql.Token
The same as getStr()
toString() - Method in class org.apache.torque.manager.MethodCacheKey
 
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
toString() - Method in class org.apache.torque.om.NumberKey
Invokes the toString() method on the object.
toString() - Method in class org.apache.torque.om.StringKey
get a String representation
toString() - Method in class org.apache.torque.util.Criteria.Criterion
Build a string representation of the Criterion.
toString() - Method in class org.apache.torque.util.Criteria
Build a string representation of the Criteria.
toString() - Method in class org.apache.torque.util.LargeSelect
Provide something useful for debugging purposes.
toString() - Method in class org.apache.torque.util.Query
Outputs the query statement.
toString() - Method in class org.apache.torque.util.SqlEnum
 
toUpperCase(String) - Method in class org.apache.torque.adapter.DB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBAxion
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBCloudscape
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2400
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2App
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBDB2Net
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInformix
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInstantDB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBInterbase
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBMM
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBNone
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBOdbc
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBOracle
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBPostgres
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBSapDB
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBSybase
This method is used to ignore case.
toUpperCase(String) - Method in class org.apache.torque.adapter.DBWeblogic
This method is used to ignore case.
token - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
token - Variable in class org.apache.torque.engine.sql.SQLScanner
 
tokens - Variable in class org.apache.torque.engine.database.transform.SQLToAppData
 
tokens - Variable in class org.apache.torque.engine.sql.SQLScanner
 
torqueType - Variable in class org.apache.torque.engine.database.model.Column
type as defined in schema.xml
torqueTypeToJdbcTypeMap - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
totalConnections - Variable in class org.apache.torque.pool.ConnectionPool
The current number of database connections that have been created.
totalPages - Variable in class org.apache.torque.util.LargeSelect
The total number of pages known to exist.
totalRecords - Variable in class org.apache.torque.util.LargeSelect
The total number of records known to exist.
totalSql - Variable in class org.apache.torque.task.TorqueSQLExec
 
totalsFinalized - Variable in class org.apache.torque.util.LargeSelect
An indication of whether or not the totals (records and pages) are at their final values.
transactions - Variable in class org.apache.torque.task.TorqueSQLExec
SQL transactions to perform
transactionsSupported - Variable in class org.apache.torque.oid.IDBroker
Are transactions supported?
traverseCriterion(Criteria.Criterion, ArrayList) - Method in class org.apache.torque.util.Criteria.Criterion
method supporting recursion through all criterions to give us an ArrayList of them
type - Variable in class org.apache.torque.map.ColumnMap
Type of the column.

U

UCASE - Static variable in class org.apache.torque.adapter.DBDB2400
UpperCase/IgnoreCase sql function in DB2/400
Unique - class org.apache.torque.engine.database.model.Unique.
Information about unique columns of a table.
Unique() - Constructor for class org.apache.torque.engine.database.model.Unique
Creates a new instance.
underscoreMethod(String) - Method in class org.apache.torque.engine.database.model.JavaNameGenerator
Converts a database schema name to java object name.
unices - Variable in class org.apache.torque.engine.database.model.Table
 
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBAxion
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBCloudscape
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2App
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBDB2Net
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBHypersonicSQL
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInformix
The method is used to unlock a table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInstantDB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBInterbase
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBMM
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBNone
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOdbc
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBOracle
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBPostgres
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSapDB
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBSybase
Unlocks the specified table.
unlockTable(Connection, String) - Method in class org.apache.torque.adapter.DBWeblogic
Unlocks the specified table.
updateNextId(Connection, String, String) - Method in class org.apache.torque.oid.IDBroker
Helper method to update a row in the ID_TABLE.
updateQuantity(Connection, String, BigDecimal) - Method in class org.apache.torque.oid.IDBroker
Helper method to update a row in the ID_TABLE.
url - Variable in class org.apache.torque.pool.ConnectionPool
The url for this pool.
url - Variable in class org.apache.torque.task.TorqueSQLExec
DB url.
useTransaction - Variable in class org.apache.torque.util.Criteria
 
userId - Variable in class org.apache.torque.task.TorqueSQLExec
User name.
username - Variable in class org.apache.torque.pool.ConnectionPool
The user name for this pool.

V

VALID_ID_METHODS - Static variable in class org.apache.torque.map.TableMap
The list of valid ID generation methods.
VARBINARY - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARBINARY_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARBINARY_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARBINARY_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARBINARY_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR_NATIVE_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR_OBJECT_TYPE - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR_PP_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
VARCHAR_VILLAGE_METHOD - Static variable in class org.apache.torque.engine.database.model.TypeMap
 
val - Variable in class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
validFields - Variable in class org.apache.torque.manager.AbstractBaseManager
 
value - Variable in class org.apache.torque.engine.database.model.IdMethodParameter
 
value - Variable in class org.apache.torque.util.Criteria.Criterion
Value of the CO.
version - Variable in class org.apache.torque.task.TorqueSQLExec
RDBMS Version needed for this SQL.

W

WEB_SITE_DTD - Static variable in class org.apache.torque.engine.database.transform.DTDResolver
Where the DTD is located on the web.
WHERE - Static variable in class org.apache.torque.util.Query
 
waitCount - Variable in class org.apache.torque.pool.ConnectionPool
Counter that keeps track of the number of threads that are in the wait state, waiting to aquire a connection.
warning(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToAppData
Warning callback.
warning(SAXParseException) - Method in class org.apache.torque.engine.database.transform.XmlToData
Warning callback.
whereCriteria - Variable in class org.apache.torque.util.Query
 
white - Static variable in class org.apache.torque.engine.sql.SQLScanner
 
writeObject(ObjectOutputStream) - Method in class org.apache.torque.manager.AbstractBaseManager
 

X

XmlToAppData - class org.apache.torque.engine.database.transform.XmlToAppData.
A Class that is used to parse an input xml schema file and creates an AppData java structure.
XmlToAppData(String, String, String) - Constructor for class org.apache.torque.engine.database.transform.XmlToAppData
Creates a new instance for the specified database type.
XmlToAppData.ParseStackElement - class org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement.
When parsing multiple files that use nested tags we need to use a stack to remember some values.
XmlToAppData.ParseStackElement(XmlToAppData) - Constructor for class org.apache.torque.engine.database.transform.XmlToAppData.ParseStackElement
 
XmlToData - class org.apache.torque.engine.database.transform.XmlToData.
A Class that is used to parse an input xml schema file and creates and AppData java structure.
XmlToData(Database, String) - Constructor for class org.apache.torque.engine.database.transform.XmlToData
Default custructor
XmlToData.ColumnValue - class org.apache.torque.engine.database.transform.XmlToData.ColumnValue.
 
XmlToData.ColumnValue(Column, String) - Constructor for class org.apache.torque.engine.database.transform.XmlToData.ColumnValue
 
XmlToData.DataRow - class org.apache.torque.engine.database.transform.XmlToData.DataRow.
 
XmlToData.DataRow(Table, List) - Constructor for class org.apache.torque.engine.database.transform.XmlToData.DataRow
 
xmlFile - Variable in class org.apache.torque.task.TorqueDataModelTask
XML that describes the database model, this is transformed into the application model object.
xmlSchema - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
Name of XML database schema produced.
xmlSerializer - Variable in class org.apache.torque.task.TorqueJDBCTransformTask
 

A B C D E F G H I J K L M N O P Q R S T U V W X

Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.