|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.repository.rdb.RepositoryConnectionProperties
public class RepositoryConnectionProperties
Configuration properties for the RDB database connection.
| Field Summary | |
|---|---|
static java.lang.String |
KEY_DATABASE_CLEAR
Key for property "org.openanzo.repository.database.clearOnLoad" Flag for whether or not the database should be cleared when the database is first loaded. |
static java.lang.String |
KEY_DATABASE_CONTAINER_NAME
Key for property "org.openanzo.repository.database.containerName" Unique URI to name container of statements and named graphs. |
static java.lang.String |
KEY_DATABASE_DRIVER
Key for property "org.openanzo.repository.database.driver" JDBC driver class name. |
static java.lang.String |
KEY_DATABASE_FILE_LOCATION
Key for property "org.openanzo.repository.database.fileLocation" Local directory path from where file based database will be loaded. |
static java.lang.String |
KEY_DATABASE_MAX_INDEX_KEY_LENGTH
Key for property "org.openanzo.repository.database.maxIndexKeyLength" The max length of an index Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_MAX_LONG_OBJECT_LENGTH
Key for property "org.openanzo.repository.database.maxLongObjectLength" The max length of a node's value before using the long table. |
static java.lang.String |
KEY_DATABASE_MAX_TABLENAME_LENGTH
Key for property "org.openanzo.repository.database.maxTablenameLength" Max length of table names Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_NODE_CACHE_SIZE
Key for property "org.openanzo.repository.database.nodeCacheSize" Size of node cache Examples: Default is 25000 |
static java.lang.String |
KEY_DATABASE_PASSWORD
Key for property "org.openanzo.repository.database.password" Password for the connection to the database. |
static java.lang.String |
KEY_DATABASE_QUOTE_CHAR
Key for property "org.openanzo.repository.database.quotechar" Quote char used in queries Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_SESSION_PREFIX
Key for property "org.openanzo.repository.database.sessionPrefix" Prefix prepended to start of temporary tables Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_SQL_FILENAME
Key for property "org.openanzo.repository.database.sqlfile" Path to file containing table, index definitions as well as text of prepared statements. |
static java.lang.String |
KEY_DATABASE_SUPPORTS_FULLOUTER_JOINS
Key for property "org.openanzo.repository.database.supportsFullouterJoins" Does the database support full outer joins Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_SUPPORTS_SEQUENCES
Key for property "org.openanzo.repository.database.supportsSequences" Does the database support sequences Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_SUPPORTS_TABLELOCKS
Key for property "org.openanzo.repository.database.supportsTableLocks" Does the database support table locks Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_SUPPORTS_TABLEUNLOCKS
Key for property "org.openanzo.repository.database.supportsTableUnLocks" Does the database support explicit table unlocks Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_SUPPORTS_WITH_CLAUSE
Key for property "org.openanzo.repository.database.supportsWithClause" Does the database support the WITH clause Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_TYPE
Key for property "org.openanzo.repository.database.type" Anzo database type name. |
static java.lang.String |
KEY_DATABASE_UNIQUE_TEMP_NAMES
Key for property "org.openanzo.repository.database.uniqueTempNames" Does the database disallow multiple references to the same temporary table within a query. |
static java.lang.String |
KEY_DATABASE_URL
Key for property "org.openanzo.repository.database.url" The jdbc URL for the connection to the database. |
static java.lang.String |
KEY_DATABASE_URL_POSTFIX
Key for property "org.openanzo.repository.database.url.postfix" String appended to the jdbc URLs Examples: ;create=true;upgrade=true |
static java.lang.String |
KEY_DATABASE_URL_PREFIX
Key for property "org.openanzo.repository.database.url.prefix" String prepended to the jdbc URLs. |
static java.lang.String |
KEY_DATABASE_USE_TEMP_FIND
Key for property "org.openanzo.repository.database.useTempTableFind" Can database use temporary tables for find operations Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_USE_TEMP_INSERT
Key for property "org.openanzo.repository.database.useTempTableInsert" Can database use temporary tables for insert operations Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_USER
Key for property "org.openanzo.repository.database.user" Login id for the connection to the database. |
static java.lang.String |
KEY_DATABASE_USES_UPPERCASE
Key for property "org.openanzo.repository.database.usesUppercase" Does the database use all uppercase strings for table and column names Examples: This property is automatically set based on the database type. |
static java.lang.String |
KEY_DATABASE_USES_UPPERCASE_TEMPTABLES
Key for property "org.openanzo.repository.database.usesUppercaseTempTables" Does the database use all uppercase strings for temporary tables and column names Examples: This property is automatically set based on the database type. |
| Constructor Summary | |
|---|---|
RepositoryConnectionProperties()
|
|
| Method Summary | |
|---|---|
static boolean |
getClearOnLoad(java.util.Properties properties)
Get KEY_DATABASE_CLEAR property from properties |
static java.lang.String |
getContainerName(java.util.Properties properties)
Get KEY_DATABASE_CONTAINER_NAME property from properties |
static java.lang.String |
getDriver(java.util.Properties properties)
Get KEY_DATABASE_DRIVER property from properties |
static java.lang.String |
getFileLocation(java.util.Properties properties)
Get KEY_DATABASE_FILE_LOCATION property from properties |
static int |
getMaxIndexKeyLength(java.util.Properties properties)
Get KEY_DATABASE_MAX_INDEX_KEY_LENGTH property from properties |
static int |
getMaxLongObjectLength(java.util.Properties properties)
Get KEY_DATABASE_MAX_LONG_OBJECT_LENGTH property from properties |
static int |
getMaxTablenameLength(java.util.Properties properties)
Get KEY_DATABASE_MAX_TABLENAME_LENGTH property from properties |
static int |
getNodeCacheSize(java.util.Properties properties,
int defaultValue)
Get KEY_DATABASE_NODE_CACHE_SIZE property from properties |
static java.lang.String |
getPassword(java.util.Properties properties)
Get KEY_DATABASE_PASSWORD property from properties |
static java.lang.String |
getQuotechar(java.util.Properties properties)
Get KEY_DATABASE_QUOTE_CHAR property from properties |
static java.lang.String |
getSessionPrefix(java.util.Properties properties)
Get KEY_DATABASE_SESSION_PREFIX property from properties |
static java.lang.String |
getSqlfile(java.util.Properties properties)
Get KEY_DATABASE_SQL_FILENAME property from properties |
static boolean |
getSupportsFullouterJoins(java.util.Properties properties)
Get KEY_DATABASE_SUPPORTS_FULLOUTER_JOINS property from properties |
static boolean |
getSupportsSequences(java.util.Properties properties)
Get KEY_DATABASE_SUPPORTS_SEQUENCES property from properties |
static boolean |
getSupportsTableLocks(java.util.Properties properties)
Get KEY_DATABASE_SUPPORTS_TABLELOCKS property from properties |
static boolean |
getSupportsTableUnLocks(java.util.Properties properties)
Get KEY_DATABASE_SUPPORTS_TABLEUNLOCKS property from properties |
static boolean |
getSupportsWithClause(java.util.Properties properties)
Get KEY_DATABASE_SUPPORTS_WITH_CLAUSE property from properties |
static java.lang.String |
getType(java.util.Properties properties)
Get KEY_DATABASE_TYPE property from properties |
static boolean |
getUniqueTempNames(java.util.Properties properties)
Get KEY_DATABASE_UNIQUE_TEMP_NAMES property from properties |
static java.lang.String |
getUrl(java.util.Properties properties)
Get KEY_DATABASE_URL property from properties |
static java.lang.String |
getUrlPostfix(java.util.Properties properties)
Get KEY_DATABASE_URL_POSTFIX property from properties |
static java.lang.String |
getUrlPrefix(java.util.Properties properties)
Get KEY_DATABASE_URL_PREFIX property from properties |
static java.lang.String |
getUser(java.util.Properties properties)
Get KEY_DATABASE_USER property from properties |
static boolean |
getUsesUppercase(java.util.Properties properties)
Get KEY_DATABASE_USES_UPPERCASE property from properties |
static boolean |
getUsesUppercaseTempTables(java.util.Properties properties)
Get KEY_DATABASE_USES_UPPERCASE_TEMPTABLES property from properties |
static boolean |
getUseTempTableFind(java.util.Properties properties)
Get KEY_DATABASE_USE_TEMP_FIND property from properties |
static boolean |
getUseTempTableInsert(java.util.Properties properties)
Get KEY_DATABASE_USE_TEMP_INSERT property from properties |
static void |
setClearOnLoad(java.util.Properties properties,
boolean clearOnLoad)
Set KEY_DATABASE_CLEAR property to clearOnLoad in properties |
static void |
setContainerName(java.util.Properties properties,
java.lang.String containerName)
Set KEY_DATABASE_CONTAINER_NAME property to containerName in properties |
static void |
setDriver(java.util.Properties properties,
java.lang.String driver)
Set KEY_DATABASE_DRIVER property to driver in properties |
static void |
setFileLocation(java.util.Properties properties,
java.lang.String fileLocation)
Set KEY_DATABASE_FILE_LOCATION property to fileLocation in properties |
static void |
setMaxIndexKeyLength(java.util.Properties properties,
int maxIndexKeyLength)
Set KEY_DATABASE_MAX_INDEX_KEY_LENGTH property to maxIndexKeyLength in properties |
static void |
setMaxLongObjectLength(java.util.Properties properties,
int maxLongObjectLength)
Set KEY_DATABASE_MAX_LONG_OBJECT_LENGTH property to maxLongObjectLength in properties |
static void |
setMaxTablenameLength(java.util.Properties properties,
int maxTablenameLength)
Set KEY_DATABASE_MAX_TABLENAME_LENGTH property to maxTablenameLength in properties |
static void |
setNodeCacheSize(java.util.Properties properties,
int nodeCacheSize)
Set KEY_DATABASE_NODE_CACHE_SIZE property to nodeCacheSize in properties |
static void |
setPassword(java.util.Properties properties,
java.lang.String password)
Set KEY_DATABASE_PASSWORD property to password in properties |
static void |
setQuotechar(java.util.Properties properties,
java.lang.String quotechar)
Set KEY_DATABASE_QUOTE_CHAR property to quotechar in properties |
static void |
setSessionPrefix(java.util.Properties properties,
java.lang.String sessionPrefix)
Set KEY_DATABASE_SESSION_PREFIX property to sessionPrefix in properties |
static void |
setSqlfile(java.util.Properties properties,
java.lang.String sqlfile)
Set KEY_DATABASE_SQL_FILENAME property to sqlfile in properties |
static void |
setSupportsFullouterJoins(java.util.Properties properties,
boolean supportsFullouterJoins)
Set KEY_DATABASE_SUPPORTS_FULLOUTER_JOINS property to supportsFullouterJoins in properties |
static void |
setSupportsSequences(java.util.Properties properties,
boolean supportsSequences)
Set KEY_DATABASE_SUPPORTS_SEQUENCES property to supportsSequences in properties |
static void |
setSupportsTableLocks(java.util.Properties properties,
boolean supportsTableLocks)
Set KEY_DATABASE_SUPPORTS_TABLELOCKS property to supportsTableLocks in properties |
static void |
setSupportsTableUnLocks(java.util.Properties properties,
boolean supportsTableUnLocks)
Set KEY_DATABASE_SUPPORTS_TABLEUNLOCKS property to supportsTableUnLocks in properties |
static void |
setSupportsWithClause(java.util.Properties properties,
boolean supportsWithClause)
Set KEY_DATABASE_SUPPORTS_WITH_CLAUSE property to supportsWithClause in properties |
static void |
setType(java.util.Properties properties,
java.lang.String type)
Set KEY_DATABASE_TYPE property to type in properties |
static void |
setUniqueTempNames(java.util.Properties properties,
boolean uniqueTempNames)
Set KEY_DATABASE_UNIQUE_TEMP_NAMES property to uniqueTempNames in properties |
static void |
setUrl(java.util.Properties properties,
java.lang.String url)
Set KEY_DATABASE_URL property to url in properties |
static void |
setUrlPostfix(java.util.Properties properties,
java.lang.String urlPostfix)
Set KEY_DATABASE_URL_POSTFIX property to url.postfix in properties |
static void |
setUrlPrefix(java.util.Properties properties,
java.lang.String urlPrefix)
Set KEY_DATABASE_URL_PREFIX property to url.prefix in properties |
static void |
setUser(java.util.Properties properties,
java.lang.String user)
Set KEY_DATABASE_USER property to user in properties |
static void |
setUsesUppercase(java.util.Properties properties,
boolean usesUppercase)
Set KEY_DATABASE_USES_UPPERCASE property to usesUppercase in properties |
static void |
setUsesUppercaseTempTables(java.util.Properties properties,
boolean usesUppercaseTempTables)
Set KEY_DATABASE_USES_UPPERCASE_TEMPTABLES property to usesUppercaseTempTables in properties |
static void |
setUseTempTableFind(java.util.Properties properties,
boolean useTempTableFind)
Set KEY_DATABASE_USE_TEMP_FIND property to useTempTableFind in properties |
static void |
setUseTempTableInsert(java.util.Properties properties,
boolean useTempTableInsert)
Set KEY_DATABASE_USE_TEMP_INSERT property to useTempTableInsert in properties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String KEY_DATABASE_URL
public static final java.lang.String KEY_DATABASE_URL_PREFIX
public static final java.lang.String KEY_DATABASE_URL_POSTFIX
public static final java.lang.String KEY_DATABASE_TYPE
public static final java.lang.String KEY_DATABASE_DRIVER
public static final java.lang.String KEY_DATABASE_USER
public static final java.lang.String KEY_DATABASE_PASSWORD
public static final java.lang.String KEY_DATABASE_FILE_LOCATION
public static final java.lang.String KEY_DATABASE_CONTAINER_NAME
public static final java.lang.String KEY_DATABASE_CLEAR
public static final java.lang.String KEY_DATABASE_SQL_FILENAME
public static final java.lang.String KEY_DATABASE_QUOTE_CHAR
public static final java.lang.String KEY_DATABASE_MAX_TABLENAME_LENGTH
public static final java.lang.String KEY_DATABASE_USE_TEMP_INSERT
public static final java.lang.String KEY_DATABASE_USE_TEMP_FIND
public static final java.lang.String KEY_DATABASE_UNIQUE_TEMP_NAMES
public static final java.lang.String KEY_DATABASE_SUPPORTS_SEQUENCES
public static final java.lang.String KEY_DATABASE_SUPPORTS_FULLOUTER_JOINS
public static final java.lang.String KEY_DATABASE_SUPPORTS_WITH_CLAUSE
public static final java.lang.String KEY_DATABASE_MAX_INDEX_KEY_LENGTH
public static final java.lang.String KEY_DATABASE_MAX_LONG_OBJECT_LENGTH
public static final java.lang.String KEY_DATABASE_USES_UPPERCASE
public static final java.lang.String KEY_DATABASE_USES_UPPERCASE_TEMPTABLES
public static final java.lang.String KEY_DATABASE_SESSION_PREFIX
public static final java.lang.String KEY_DATABASE_SUPPORTS_TABLELOCKS
public static final java.lang.String KEY_DATABASE_SUPPORTS_TABLEUNLOCKS
public static final java.lang.String KEY_DATABASE_NODE_CACHE_SIZE
| Constructor Detail |
|---|
public RepositoryConnectionProperties()
| Method Detail |
|---|
public static java.lang.String getUrl(java.util.Properties properties)
KEY_DATABASE_URL property from properties
properties - containing configuration data
KEY_DATABASE_URL if not present
public static void setUrl(java.util.Properties properties,
java.lang.String url)
KEY_DATABASE_URL property to url in properties
properties - containing configuration dataurl - value for urlpublic static java.lang.String getUrlPrefix(java.util.Properties properties)
KEY_DATABASE_URL_PREFIX property from properties
properties - containing configuration data
KEY_DATABASE_URL_PREFIX if not present
public static void setUrlPrefix(java.util.Properties properties,
java.lang.String urlPrefix)
KEY_DATABASE_URL_PREFIX property to url.prefix in properties
properties - containing configuration dataurlPrefix - value for url.prefixpublic static java.lang.String getUrlPostfix(java.util.Properties properties)
KEY_DATABASE_URL_POSTFIX property from properties
properties - containing configuration data
KEY_DATABASE_URL_POSTFIX if not present
public static void setUrlPostfix(java.util.Properties properties,
java.lang.String urlPostfix)
KEY_DATABASE_URL_POSTFIX property to url.postfix in properties
properties - containing configuration dataurlPostfix - value for url.postfixpublic static java.lang.String getType(java.util.Properties properties)
KEY_DATABASE_TYPE property from properties
properties - containing configuration data
KEY_DATABASE_TYPE if not present
public static void setType(java.util.Properties properties,
java.lang.String type)
KEY_DATABASE_TYPE property to type in properties
properties - containing configuration datatype - value for typepublic static java.lang.String getDriver(java.util.Properties properties)
KEY_DATABASE_DRIVER property from properties
properties - containing configuration data
KEY_DATABASE_DRIVER if not present
public static void setDriver(java.util.Properties properties,
java.lang.String driver)
KEY_DATABASE_DRIVER property to driver in properties
properties - containing configuration datadriver - value for driverpublic static java.lang.String getUser(java.util.Properties properties)
KEY_DATABASE_USER property from properties
properties - containing configuration data
KEY_DATABASE_USER if not present
public static void setUser(java.util.Properties properties,
java.lang.String user)
KEY_DATABASE_USER property to user in properties
properties - containing configuration datauser - value for userpublic static java.lang.String getPassword(java.util.Properties properties)
KEY_DATABASE_PASSWORD property from properties
properties - containing configuration data
KEY_DATABASE_PASSWORD if not present
public static void setPassword(java.util.Properties properties,
java.lang.String password)
KEY_DATABASE_PASSWORD property to password in properties
properties - containing configuration datapassword - value for passwordpublic static java.lang.String getFileLocation(java.util.Properties properties)
KEY_DATABASE_FILE_LOCATION property from properties
properties - containing configuration data
KEY_DATABASE_FILE_LOCATION if not present
public static void setFileLocation(java.util.Properties properties,
java.lang.String fileLocation)
KEY_DATABASE_FILE_LOCATION property to fileLocation in properties
properties - containing configuration datafileLocation - value for fileLocationpublic static java.lang.String getContainerName(java.util.Properties properties)
KEY_DATABASE_CONTAINER_NAME property from properties
properties - containing configuration data
KEY_DATABASE_CONTAINER_NAME if not present
public static void setContainerName(java.util.Properties properties,
java.lang.String containerName)
KEY_DATABASE_CONTAINER_NAME property to containerName in properties
properties - containing configuration datacontainerName - value for containerNamepublic static boolean getClearOnLoad(java.util.Properties properties)
KEY_DATABASE_CLEAR property from properties
properties - containing configuration data
KEY_DATABASE_CLEAR,or "false" if not present
public static void setClearOnLoad(java.util.Properties properties,
boolean clearOnLoad)
KEY_DATABASE_CLEAR property to clearOnLoad in properties
properties - containing configuration dataclearOnLoad - value for clearOnLoadpublic static java.lang.String getSqlfile(java.util.Properties properties)
KEY_DATABASE_SQL_FILENAME property from properties
properties - containing configuration data
KEY_DATABASE_SQL_FILENAME if not present
public static void setSqlfile(java.util.Properties properties,
java.lang.String sqlfile)
KEY_DATABASE_SQL_FILENAME property to sqlfile in properties
properties - containing configuration datasqlfile - value for sqlfilepublic static java.lang.String getQuotechar(java.util.Properties properties)
KEY_DATABASE_QUOTE_CHAR property from properties
properties - containing configuration data
KEY_DATABASE_QUOTE_CHAR if not present
public static void setQuotechar(java.util.Properties properties,
java.lang.String quotechar)
KEY_DATABASE_QUOTE_CHAR property to quotechar in properties
properties - containing configuration dataquotechar - value for quotecharpublic static int getMaxTablenameLength(java.util.Properties properties)
KEY_DATABASE_MAX_TABLENAME_LENGTH property from properties
properties - containing configuration data
KEY_DATABASE_MAX_TABLENAME_LENGTH,or "64" if not present
public static void setMaxTablenameLength(java.util.Properties properties,
int maxTablenameLength)
KEY_DATABASE_MAX_TABLENAME_LENGTH property to maxTablenameLength in properties
properties - containing configuration datamaxTablenameLength - value for maxTablenameLengthpublic static boolean getUseTempTableInsert(java.util.Properties properties)
KEY_DATABASE_USE_TEMP_INSERT property from properties
properties - containing configuration data
KEY_DATABASE_USE_TEMP_INSERT,or "false" if not present
public static void setUseTempTableInsert(java.util.Properties properties,
boolean useTempTableInsert)
KEY_DATABASE_USE_TEMP_INSERT property to useTempTableInsert in properties
properties - containing configuration datauseTempTableInsert - value for useTempTableInsertpublic static boolean getUseTempTableFind(java.util.Properties properties)
KEY_DATABASE_USE_TEMP_FIND property from properties
properties - containing configuration data
KEY_DATABASE_USE_TEMP_FIND,or "false" if not present
public static void setUseTempTableFind(java.util.Properties properties,
boolean useTempTableFind)
KEY_DATABASE_USE_TEMP_FIND property to useTempTableFind in properties
properties - containing configuration datauseTempTableFind - value for useTempTableFindpublic static boolean getUniqueTempNames(java.util.Properties properties)
KEY_DATABASE_UNIQUE_TEMP_NAMES property from properties
properties - containing configuration data
KEY_DATABASE_UNIQUE_TEMP_NAMES,or "false" if not present
public static void setUniqueTempNames(java.util.Properties properties,
boolean uniqueTempNames)
KEY_DATABASE_UNIQUE_TEMP_NAMES property to uniqueTempNames in properties
properties - containing configuration datauniqueTempNames - value for uniqueTempNamespublic static boolean getSupportsSequences(java.util.Properties properties)
KEY_DATABASE_SUPPORTS_SEQUENCES property from properties
properties - containing configuration data
KEY_DATABASE_SUPPORTS_SEQUENCES,or "false" if not present
public static void setSupportsSequences(java.util.Properties properties,
boolean supportsSequences)
KEY_DATABASE_SUPPORTS_SEQUENCES property to supportsSequences in properties
properties - containing configuration datasupportsSequences - value for supportsSequencespublic static boolean getSupportsFullouterJoins(java.util.Properties properties)
KEY_DATABASE_SUPPORTS_FULLOUTER_JOINS property from properties
properties - containing configuration data
KEY_DATABASE_SUPPORTS_FULLOUTER_JOINS,or "false" if not present
public static void setSupportsFullouterJoins(java.util.Properties properties,
boolean supportsFullouterJoins)
KEY_DATABASE_SUPPORTS_FULLOUTER_JOINS property to supportsFullouterJoins in properties
properties - containing configuration datasupportsFullouterJoins - value for supportsFullouterJoinspublic static boolean getSupportsWithClause(java.util.Properties properties)
KEY_DATABASE_SUPPORTS_WITH_CLAUSE property from properties
properties - containing configuration data
KEY_DATABASE_SUPPORTS_WITH_CLAUSE,or "false" if not present
public static void setSupportsWithClause(java.util.Properties properties,
boolean supportsWithClause)
KEY_DATABASE_SUPPORTS_WITH_CLAUSE property to supportsWithClause in properties
properties - containing configuration datasupportsWithClause - value for supportsWithClausepublic static int getMaxIndexKeyLength(java.util.Properties properties)
KEY_DATABASE_MAX_INDEX_KEY_LENGTH property from properties
properties - containing configuration data
KEY_DATABASE_MAX_INDEX_KEY_LENGTH,or "64" if not present
public static void setMaxIndexKeyLength(java.util.Properties properties,
int maxIndexKeyLength)
KEY_DATABASE_MAX_INDEX_KEY_LENGTH property to maxIndexKeyLength in properties
properties - containing configuration datamaxIndexKeyLength - value for maxIndexKeyLengthpublic static int getMaxLongObjectLength(java.util.Properties properties)
KEY_DATABASE_MAX_LONG_OBJECT_LENGTH property from properties
properties - containing configuration data
KEY_DATABASE_MAX_LONG_OBJECT_LENGTH,or "64" if not present
public static void setMaxLongObjectLength(java.util.Properties properties,
int maxLongObjectLength)
KEY_DATABASE_MAX_LONG_OBJECT_LENGTH property to maxLongObjectLength in properties
properties - containing configuration datamaxLongObjectLength - value for maxLongObjectLengthpublic static boolean getUsesUppercase(java.util.Properties properties)
KEY_DATABASE_USES_UPPERCASE property from properties
properties - containing configuration data
KEY_DATABASE_USES_UPPERCASE,or "false" if not present
public static void setUsesUppercase(java.util.Properties properties,
boolean usesUppercase)
KEY_DATABASE_USES_UPPERCASE property to usesUppercase in properties
properties - containing configuration datausesUppercase - value for usesUppercasepublic static boolean getUsesUppercaseTempTables(java.util.Properties properties)
KEY_DATABASE_USES_UPPERCASE_TEMPTABLES property from properties
properties - containing configuration data
KEY_DATABASE_USES_UPPERCASE_TEMPTABLES,or "false" if not present
public static void setUsesUppercaseTempTables(java.util.Properties properties,
boolean usesUppercaseTempTables)
KEY_DATABASE_USES_UPPERCASE_TEMPTABLES property to usesUppercaseTempTables in properties
properties - containing configuration datausesUppercaseTempTables - value for usesUppercaseTempTablespublic static java.lang.String getSessionPrefix(java.util.Properties properties)
KEY_DATABASE_SESSION_PREFIX property from properties
properties - containing configuration data
KEY_DATABASE_SESSION_PREFIX if not present
public static void setSessionPrefix(java.util.Properties properties,
java.lang.String sessionPrefix)
KEY_DATABASE_SESSION_PREFIX property to sessionPrefix in properties
properties - containing configuration datasessionPrefix - value for sessionPrefixpublic static boolean getSupportsTableLocks(java.util.Properties properties)
KEY_DATABASE_SUPPORTS_TABLELOCKS property from properties
properties - containing configuration data
KEY_DATABASE_SUPPORTS_TABLELOCKS,or "false" if not present
public static void setSupportsTableLocks(java.util.Properties properties,
boolean supportsTableLocks)
KEY_DATABASE_SUPPORTS_TABLELOCKS property to supportsTableLocks in properties
properties - containing configuration datasupportsTableLocks - value for supportsTableLockspublic static boolean getSupportsTableUnLocks(java.util.Properties properties)
KEY_DATABASE_SUPPORTS_TABLEUNLOCKS property from properties
properties - containing configuration data
KEY_DATABASE_SUPPORTS_TABLEUNLOCKS,or "false" if not present
public static void setSupportsTableUnLocks(java.util.Properties properties,
boolean supportsTableUnLocks)
KEY_DATABASE_SUPPORTS_TABLEUNLOCKS property to supportsTableUnLocks in properties
properties - containing configuration datasupportsTableUnLocks - value for supportsTableUnLocks
public static int getNodeCacheSize(java.util.Properties properties,
int defaultValue)
KEY_DATABASE_NODE_CACHE_SIZE property from properties
properties - containing configuration datadefaultValue - defaultValue for nodeCacheSize
KEY_DATABASE_NODE_CACHE_SIZEor defaultValue if not present
public static void setNodeCacheSize(java.util.Properties properties,
int nodeCacheSize)
KEY_DATABASE_NODE_CACHE_SIZE property to nodeCacheSize in properties
properties - containing configuration datanodeCacheSize - value for nodeCacheSize
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||