Uses of Class
org.apache.torque.map.TableMap
-
Packages that use TableMap Package Description org.apache.torque Torque is an object-relational mapper for Java.org.apache.torque.map Description of the schema layout.org.apache.torque.sql This package contains classes which are mainly used in the SQL generation process.org.apache.torque.util Misc. utility classes. -
-
Uses of TableMap in org.apache.torque
Methods in org.apache.torque that return TableMap Modifier and Type Method Description TableMapDatabase. getIdTable()Get the ID table for this database.Methods in org.apache.torque with parameters of type TableMap Modifier and Type Method Description voidDatabase. setIdTable(TableMap idTable)Set the ID table for this database. -
Uses of TableMap in org.apache.torque.map
Methods in org.apache.torque.map that return TableMap Modifier and Type Method Description TableMapDatabaseMap. addTable(String tableName)Add a new table to the database by name.TableMapForeignKeyMap. getForeignTable()Returns the foreign table of the foreign key.TableMapColumnMap. getTable()Returns the map for the table this column belongs to.TableMapDatabaseMap. getTable(String name)Get a TableMap for the table by name.TableMapForeignKeyMap. getTable()Returns the local table of the foreign key.static TableMapMapHelper. getTableMap(Object possibleColumn, Criteria criteria, TableMap defaultTableMap)Returns the table map for a table name.TableMap[]DatabaseMap. getTables()Get a TableMap[] of all of the tables in the database.Methods in org.apache.torque.map with parameters of type TableMap Modifier and Type Method Description booleanDatabaseMap. containsTable(TableMap table)Does this database contain this specific table?static TableMapMapHelper. getTableMap(Object possibleColumn, Criteria criteria, TableMap defaultTableMap)Returns the table map for a table name.voidDatabaseMap. setIdTable(TableMap idTableMap)Add a new TableMap to the database.Constructors in org.apache.torque.map with parameters of type TableMap Constructor Description ColumnMap(String name, TableMap containingTable)Constructor.ForeignKeyMap(TableMap table, String foreignTableName)Constructor.ForeignKeyMap(TableMap table, TableMap foreignTable)Constructor. -
Uses of TableMap in org.apache.torque.sql
Methods in org.apache.torque.sql that return TableMap Modifier and Type Method Description static TableMapSqlBuilder. getTableMap(String tableName, String dbName)Returns the table map for a table. -
Uses of TableMap in org.apache.torque.util
Methods in org.apache.torque.util that return TableMap Modifier and Type Method Description TableMapBasePeerImpl. getTableMap()Get the default table map for this instance.Methods in org.apache.torque.util with parameters of type TableMap Modifier and Type Method Description BigDecimalAvgHelper. avg(Criteria c, Connection conn, String columnName, TableMap tableMap)Returns the average of a column in a query.intCountHelper. count(Criteria c, Connection conn, String columnName, TableMap tableMap)Returns the number of rows in a query.intCountHelper. count(TableMap tableMap)Counts all rows in a table.intCountHelper. count(TableMap tableMap, Connection conn)Counts all rows in a table.voidBasePeerImpl. setTableMap(TableMap tableMap)Set the default table map for this instance.Constructors in org.apache.torque.util with parameters of type TableMap Constructor Description AbstractPeerImpl(RecordMapper<T> recordMapper, TableMap tableMap, String databaseName)Constructor providing the objects to be injected as parameters.BasePeerImpl(RecordMapper<T> recordMapper, TableMap tableMap, String databaseName)Constructor providing the objects to be injected as parameters.
-