public class DataDictionaryCache
extends java.lang.Object
This is a framework internal class! Backward compatibility is not guaranteed.
Constructor and Description |
---|
DataDictionaryCache(int coreTableCount,
int maxColumnCount,
int maxPackageCount,
int coreSize,
int maxSize,
int poolKeepAlive)
Creates a new DataDictionaryCache instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
doesPackageExist(java.lang.String schema,
java.lang.String pkgName)
Checks if a PLSQL package is registered in the data dictionary.
|
java.lang.String |
getApplicationOwner()
Gets the application owner.
|
java.lang.String |
getIalOwner()
Gets the database owner of IAL tables (Information Access Layer).
|
java.util.Set<java.lang.String> |
getRecordFields(java.lang.String schema,
java.lang.String pkg,
java.lang.String record)
Gets the fields for a specified PLSQL record type.
|
static DataDictionaryCache |
getStaticInstance()
Gets the singleton instance of this class.
|
java.util.Set<java.lang.String> |
getTableColumns(java.lang.String schema,
java.lang.String table)
Gets the columns for a specified table or view.
|
void |
removeAll()
Removes all tables and PLSQL packages from the data dictionary cache.
|
void |
removePackage(java.lang.String schema,
java.lang.String pkgName)
Removes a specified PLSQL package from the data dictionary cache.
|
void |
removeTable(java.lang.String schema,
java.lang.String table)
Removes a specified table from the data dictionary cache.
|
public DataDictionaryCache(int coreTableCount, int maxColumnCount, int maxPackageCount, int coreSize, int maxSize, int poolKeepAlive) throws IfsException
coreTableCount
- the core number of tables in the table cachemaxColumnCount
- the maximum number of columns in the table cachemaxPackageCount
- the maximum number of packages in the PLSQL package cachecoreSize
- the core number of accessors (connections) in the data dictionary connection poolmaxSize
- the maximum number of accessors (connections) in the data dictionary connection poolpoolKeepAlive
- the number of seconds to wait before removing an idle accessor (connection) from the data dictionary connection poolIfsException
public static DataDictionaryCache getStaticInstance()
public java.util.Set<java.lang.String> getTableColumns(java.lang.String schema, java.lang.String table) throws IfsException
IfsException
public boolean doesPackageExist(java.lang.String schema, java.lang.String pkgName) throws IfsException
IfsException
public java.util.Set<java.lang.String> getRecordFields(java.lang.String schema, java.lang.String pkg, java.lang.String record) throws IfsException
IfsException
public void removeAll() throws IfsException
IfsException
public void removeTable(java.lang.String schema, java.lang.String table) throws IfsException
IfsException
public void removePackage(java.lang.String schema, java.lang.String pkgName) throws IfsException
IfsException
public java.lang.String getApplicationOwner()
public java.lang.String getIalOwner() throws IfsException
IfsException