|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> [ db overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.derby.iapi.db
Class PropertyInfo

java.lang.Objectorg.apache.derby.iapi.db.PropertyInfo
- public final class PropertyInfo
- extends java.lang.Object
PropertyInfo is a class with static methods that retrieve the properties associated with a table or index and set and retrieve properties associated with a database.
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.
IBM Corp. reserves the right to change, rename, or remove this interface at any time.
| Constructor Summary | |
private |
PropertyInfo()
Internal use only. |
| Method Summary | |
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.lang.String |
getDatabaseProperty(java.lang.String key)
Fetch the value of a property of the database on the current connection. |
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
PropertyInfo
private PropertyInfo()
- Internal use only.
| Method Detail |
getTableProperties
public static java.util.Properties getTableProperties(java.lang.String schemaName, java.lang.String tableName) throws java.sql.SQLException
- Get the Properties associated with a given table.
getIndexProperties
public static java.util.Properties getIndexProperties(java.lang.String schemaName, java.lang.String indexName) throws java.sql.SQLException
- Get the Properties associated with a given index.
getDatabaseProperty
public static java.lang.String getDatabaseProperty(java.lang.String key) throws java.sql.SQLException
- Fetch the value of a property of the database on the current connection.
setDatabaseProperty
public static void setDatabaseProperty(java.lang.String key, java.lang.String value) throws java.sql.SQLException
- Set or delete the value of a property of the database on the current connection.
getConglomerateProperties
private static java.util.Properties getConglomerateProperties(java.lang.String schemaName, java.lang.String conglomerateName, boolean isIndex) throws java.sql.SQLException
- Get the Properties associated with a given conglomerate
|
|||||||||
| Home >> All >> org >> apache >> derby >> iapi >> [ db overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.apache.derby.iapi.db.PropertyInfo