public final class PropertyInfo
extends java.lang.Object
This class can only be used within an SQL-J statement, a Java procedure or a server side Java method.
This class can be accessed using the class alias PROPERTYINFO
in SQL-J statements.
Modifier | Constructor and Description |
---|---|
private |
PropertyInfo()
Internal use only.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.Properties |
getConglomerateProperties(java.lang.String schemaName,
java.lang.String conglomerateName,
boolean isIndex)
Get the Properties associated with a given conglomerate
|
static java.util.Properties |
getIndexProperties(java.lang.String schemaName,
java.lang.String indexName)
Get the Properties associated with a given index.
|
static java.util.Properties |
getTableProperties(java.lang.String schemaName,
java.lang.String tableName)
Get the Properties associated with a given table.
|
static void |
setDatabaseProperty(java.lang.String key,
java.lang.String value)
Set or delete the value of a property of the database on the current connection.
|
public static java.util.Properties getTableProperties(java.lang.String schemaName, java.lang.String tableName) throws java.sql.SQLException
schemaName
- The name of the schema that the table is in.tableName
- The name of the table.java.sql.SQLException
- on errorpublic static java.util.Properties getIndexProperties(java.lang.String schemaName, java.lang.String indexName) throws java.sql.SQLException
schemaName
- The name of the schema that the index is in.indexName
- The name of the index.java.sql.SQLException
- on errorpublic static void setDatabaseProperty(java.lang.String key, java.lang.String value) throws java.sql.SQLException
key
- the property keyvalue
- the new value, if null the property is deleted.java.sql.SQLException
- on errorprivate static java.util.Properties getConglomerateProperties(java.lang.String schemaName, java.lang.String conglomerateName, boolean isIndex) throws java.sql.SQLException
schemaName
- The name of the schema that the conglomerate is in.conglomerateName
- The name of the conglomerate.java.sql.SQLException
- on errorApache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.