public final class DerbyDialect extends DialectSupport.Abstract
DialectSupport.Abstract| Modifier and Type | Field and Description |
|---|---|
static ClassDefImpl |
DEFAULT_CLIENT_DRIVER_CLASS_DEF
Default client driver class definition.
|
static String |
DEFAULT_CONNECTION_OPTIONS
Default connection options.
|
static String |
DEFAULT_CONNECTION_URL
Default connection URL.
|
static String |
DEFAULT_DATABASE_NAME
Default database name.
|
static ClassDefImpl |
DEFAULT_DRIVER_CLASS_DEF
Default driver class definition.
|
static String |
DEFAULT_SYSTEM_HOME
Default system home.
|
static String |
DERBY_DIR
Derby base directory name.
|
static String |
DIALECT_NAME
Dialect name.
|
static String |
PASSWORD_PROPERTY
The password for connection to the database.
|
static String |
SHUTDOWN_CONNECTION_URL
Shutdown connection URL.
|
static String |
SYSTEM_HOME_PROPERTY
System home property.
|
static String |
USER_PROPERTY
The user for connection to the database.
|
ARCHIVE_TABLE_PROPERTY, CATALOG_PROPERTY, DEFAULT_ARCHIVE_TABLE_NAME, DEFAULT_CATALOG_NAME, DEFAULT_POINT_COLUMN, DEFAULT_SCHEMA_NAME, DEFAULT_SNAPSHOT_TABLE_NAME, DEFAULT_STAMP_COLUMN, DEFAULT_STATE_COLUMN, DEFAULT_VALUE_COLUMN, DEFAULT_VERSION_COLUMN, POINT_COLUMN_PROPERTY, SCHEMA_PROPERTY, SNAPSHOT_TABLE_PROPERTY, STAMP_COLUMN_PROPERTY, STATE_COLUMN_PROPERTY, TABLE_PROPERTY, VALUE_COLUMN_PROPERTY, VERSION_COLUMN_PROPERTY| Constructor and Description |
|---|
DerbyDialect()
Constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getCreateTableSQL()
Gets the SQL for statements that create the table.
|
ClassDefImpl |
getDefaultClientDriverClassDef()
Gets the default client driver class definition.
|
String |
getDefaultConnectionOptions()
Gets the default connection options.
|
boolean |
getDefaultConnectionShared()
Gets the default connection shared indicator.
|
String |
getDefaultConnectionURL(File storeDataDir,
String storeEntityName)
Gets the default connection URL.
|
protected Optional<ClassDefImpl> |
getDefaultDriverClassDef()
Gets the default driver class definition.
|
String |
getDefaultSchemaName()
Gets the default schema name.
|
boolean |
setUp(Optional<StoreServiceAppImpl> storeAppImpl,
File storeDataDir,
String storeEntityName)
Sets up the basic informations for dialect support.
|
void |
tearDown()
Tears down what has been set up.
|
getCatalogName, getCatalogSchemaTable, getDefaultCatalogName, getDefaultTableName, getDeleteSQL, getDialectName, getInsertSQL, getPointColumn, getSchemaName, getSelectSQL, getStampColumn, getStateColumn, getTableName, getThisLogger, getUpdateSQL, getValueColumn, getVersionColumn, isPullDisabled, isSnapshot, onFirstConnection, registerDriver, setDeleteStatement, setInsertStatement, setSelectStatement, setSystemProperty, setUpdateStatementclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultConnectionPassword, getDefaultConnectionUserpublic static final String DEFAULT_CONNECTION_OPTIONS
public static final String DEFAULT_CONNECTION_URL
public static final String DEFAULT_DATABASE_NAME
public static final ClassDefImpl DEFAULT_DRIVER_CLASS_DEF
public static final ClassDefImpl DEFAULT_CLIENT_DRIVER_CLASS_DEF
public static final String DEFAULT_SYSTEM_HOME
public static final String DERBY_DIR
public static final String DIALECT_NAME
public static final String PASSWORD_PROPERTY
public static final String SHUTDOWN_CONNECTION_URL
public static final String SYSTEM_HOME_PROPERTY
public static final String USER_PROPERTY
public List<String> getCreateTableSQL()
getCreateTableSQL in interface DialectSupportgetCreateTableSQL in class DialectSupport.Abstractpublic ClassDefImpl getDefaultClientDriverClassDef()
getDefaultClientDriverClassDef in interface DialectSupportgetDefaultClientDriverClassDef in class DialectSupport.Abstractpublic String getDefaultConnectionOptions()
public boolean getDefaultConnectionShared()
public String getDefaultConnectionURL(File storeDataDir,
String storeEntityName)
Will always fail when not overridden.
storeDataDir - The store data directory.storeEntityName - The store entity name.public String getDefaultSchemaName()
getDefaultSchemaName in class DialectSupport.Abstractpublic boolean setUp(Optional<StoreServiceAppImpl> storeAppImpl, File storeDataDir, String storeEntityName)
setUp in interface DialectSupportsetUp in class DialectSupport.AbstractstoreAppImpl - The optional store application implementation.storeDataDir - The store data directory.storeEntityName - The store entity name.public void tearDown()
tearDown in interface DialectSupporttearDown in class DialectSupport.Abstractprotected Optional<ClassDefImpl> getDefaultDriverClassDef()
getDefaultDriverClassDef in class DialectSupport.AbstractCopyright © 2003-2019 Serge Brisson. All Rights Reserved.