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.
|
Modifier and Type | Method and Description |
---|---|
TableMap |
Database.getIdTable()
Get the ID table for this database.
|
Modifier and Type | Method and Description |
---|---|
void |
Database.setIdTable(TableMap idTable)
Set the ID table for this database.
|
Modifier and Type | Method and Description |
---|---|
TableMap |
DatabaseMap.addTable(String tableName)
Add a new table to the database by name.
|
TableMap |
ForeignKeyMap.getForeignTable()
Returns the foreign table of the foreign key.
|
TableMap |
ColumnMap.getTable()
Returns the map for the table this column belongs to.
|
TableMap |
ForeignKeyMap.getTable()
Returns the local table of the foreign key.
|
TableMap |
DatabaseMap.getTable(String name)
Get a TableMap for the table by name.
|
static TableMap |
MapHelper.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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DatabaseMap.containsTable(TableMap table)
Does this database contain this specific table?
|
static TableMap |
MapHelper.getTableMap(Object possibleColumn,
Criteria criteria,
TableMap defaultTableMap)
Returns the table map for a table name.
|
void |
DatabaseMap.setIdTable(TableMap idTableMap)
Add a new TableMap to the database.
|
Constructor and Description |
---|
ColumnMap(String name,
TableMap containingTable)
Constructor.
|
ForeignKeyMap(TableMap table,
String foreignTableName)
Constructor.
|
ForeignKeyMap(TableMap table,
TableMap foreignTable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static TableMap |
SqlBuilder.getTableMap(String tableName,
String dbName)
Returns the table map for a table.
|
Modifier and Type | Method and Description |
---|---|
TableMap |
BasePeerImpl.getTableMap()
Get the default table map for this instance.
|
Modifier and Type | Method and Description |
---|---|
int |
CountHelper.count(Criteria c,
Connection conn,
String columnName,
TableMap tableMap)
Returns the number of rows in a query.
|
int |
CountHelper.count(TableMap tableMap)
Counts all rows in a table.
|
int |
CountHelper.count(TableMap tableMap,
Connection conn)
Counts all rows in a table.
|
void |
BasePeerImpl.setTableMap(TableMap tableMap)
Set the default table map for this instance.
|
Constructor and 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.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.