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