Class MetaDataCache
java.lang.Object
net.sf.jailer.modelbuilder.MetaDataCache
Reads database meta data directly from meta data views.
- Author:
- Wisser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a result set containing the cached meta data rows for the given table name.Returns a diagnostic string describing the cache contents for the given subject table.static MetaDataCachereadColumns(Session session, String schema) Reads column infos.static MetaDataCachereadImportedKeys(Session session, String schema) Reads imported keys (FKs).static MetaDataCachereadIndexInfo(Session session, String schema) Reads index infos.static MetaDataCachereadPrimaryKeys(Session session, String schema) Reads primary keys.
-
Constructor Details
-
MetaDataCache
public MetaDataCache()
-
-
Method Details
-
readPrimaryKeys
Reads primary keys.- Parameters:
session- the sessionschema- name of the schema- Returns:
- cache
-
readIndexInfo
Reads index infos.- Parameters:
session- the sessionschema- name of the schema- Returns:
- cache
-
readImportedKeys
Reads imported keys (FKs).- Parameters:
session- the sessionschema- name of the schema- Returns:
- cache
-
readColumns
Reads column infos.- Parameters:
session- the sessionschema- name of the schema- Returns:
- cache
-
forTable
-
info
-