| Package | Description |
|---|---|
| net.aditsu.depeche |
| Modifier and Type | Method and Description |
|---|---|
Table |
ExpKey.getFkTable() |
Table |
FKey.getFKTable()
Returns the foreign/child table
|
Table |
FKey.getPKTable()
Returns the primary/parent table
|
Table |
UniqueConstraint.getTable()
Returns the table that owns this unique constraint
|
Table |
ColumnInfo.getTable()
Returns the common table (if applicable) that contains the columns listed in this instance
|
Table |
Record.getTable()
Returns the table that contains this record (if it was obtained from a table)
|
Table |
Provider.resolveTable(String table)
Resolves a table given as a string to its proper definition
|
Table |
Provider.resolveTable(String table,
Conn conn)
Resolves a table given as a string to its proper definition,
using the given connection if needed
|
Table |
SQLiteProvider.resolveTableImpl(String table) |
Table |
SQLiteProvider.resolveTableImpl(String table,
Conn conn) |
| Modifier and Type | Method and Description |
|---|---|
List<Table> |
Provider.getAllTables()
Returns a list of all the actual tables in this database
|
List<Table> |
Provider.getAllViews()
Returns a list of all the views in this database
|
List<Table> |
Provider.getGenericTables(String catalog,
String schemaPattern,
String namePattern,
String... types)
Returns a list of table-like objects in this provider's database, matching the given criteria
|
List<Table> |
Provider.getTables(String catalog,
String schemaPattern,
String namePattern)
Returns a list of actual tables in this database, matching the given criteria
|
List<Table> |
Provider.getViews(String catalog,
String schemaPattern,
String namePattern)
Returns a list of views in this database, matching the given criteria
|
| Modifier and Type | Method and Description |
|---|---|
FKey |
TableInfo.getExpKey(Table t)
Returns the exported key that references the given table;
it throws an exception if there are zero or multiple such exported keys
|
FKey |
TableInfo.getFKey(Table t)
Returns the foreign key that references the given table;
it throws an exception if there are zero or multiple such foreign keys
|
Record |
Provider.getRecord(Table table,
List<Serializable> values)
Deprecated.
|
Record |
Provider.getRecord(Table table,
Serializable... values)
Deprecated.
|
TableInfo |
Provider.getTableInfo(Table t)
Returns the table information for a given table
|
TableInfo |
Provider.getTableInfo(Table t,
Conn conn)
Returns the table information for a given table,
using the given connection if needed
|
List<UniqueConstraint> |
Provider.getUniqueConstraints(Table t)
Returns a list of all the unique constraints on the given table (not including the primary key)
|
List<UniqueConstraint> |
PGProvider.getUniqueConstraints(Table t) |
String |
Provider.getViewDefinition(Table view)
Returns the definition of the given view
|
String |
PGProvider.getViewDefinition(Table view) |
Query |
Provider.query(Table table)
Creates a new query for a given table
|
Query |
Query.table(Table t)
Sets the table to be queried and returns a new query
|
| Constructor and Description |
|---|
ExpKey(Table fkTable,
String name) |
MutableFKey(Table pkTable,
Table fkTable,
String fkName) |
MutableFKey(Table pkTable,
Table fkTable,
String fkName,
KeyRule updateRule,
KeyRule deleteRule,
int deferrability) |
MutableTableInfo(Table table) |
ResultInfo(Provider p,
ResultSetMetaData rsmd,
Table table) |