public class MetaDataCache extends Object
| Constructor and Description |
|---|
MetaDataCache() |
| Modifier and Type | Method and Description |
|---|---|
ResultSet |
forTable(String tableName) |
static MetaDataCache |
readColumns(Session session,
DatabaseMetaData metaData,
String schema)
Reads column infos.
|
static MetaDataCache |
readImportedKeys(Session session,
String schema)
Reads imported keys (FKs).
|
static MetaDataCache |
readIndexInfo(Session session,
String schema)
Reads index infos.
|
static MetaDataCache |
readPrimaryKeys(Session session,
String schema)
Reads primary keys.
|
public static MetaDataCache readPrimaryKeys(Session session, String schema)
session - the sessionschema - name of the schemapublic static MetaDataCache readIndexInfo(Session session, String schema)
session - the sessionschema - name of the schemapublic static MetaDataCache readImportedKeys(Session session, String schema)
session - the sessionschema - name of the schemapublic static MetaDataCache readColumns(Session session, DatabaseMetaData metaData, String schema)
session - the sessionschema - name of the schema