A
- the generic typepublic interface DbmsRetrospectionAccessor<A extends DbmsAdaptor<A>> extends DbmsAdaptor.Member<A>
Modifier and Type | Interface and Description |
---|---|
static class |
DbmsRetrospectionAccessor.Implementation<A extends DbmsAdaptor<A>>
Body implementation of DbmsRetrospection.
|
Modifier and Type | Field and Description |
---|---|
static String |
Column_CHARACTER_MAXIMUM_LENGTH
The Constant Column_CHARACTER_MAXIMUM_LENGTH.
|
static String |
Column_COLUMN_DEFAULT
The Constant Column_COLUMN_DEFAULT.
|
static String |
Column_COLUMN_NAME
The Constant Column_COLUMN_NAME.
|
static String |
Column_DATA_TYPE
The Constant Column_DATA_TYPE.
|
static String |
Column_IS_NULLABLE
The Constant Column_IS_NULLABLE.
|
static String |
Column_TABLE_NAME
The Constant Column_TABLE_NAME.
|
static String |
Column_TABLE_SCHEMA
The Constant Column_TABLE_SCHEMA.
|
static String |
Column_TABLE_TYPE
The Constant Column_TABLE_TYPE.
|
Modifier and Type | Method and Description |
---|---|
String |
createSelect_INFORMATION_SCHEMA_COLUMNS(SqlTableIdentity table)
Creates the select_ informatio n_ schem a_ columns.
|
String |
createSelect_INFORMATION_SCHEMA_INDICES(SqlTableIdentity table)
Creates the select_ informatio n_ schem a_ indices.
|
String |
createSelect_INFORMATION_SCHEMA_TABLES(String[] schemaInclusionPatterns,
String[] schemaExclusionPatterns,
String[] tableInclusionPatterns,
String[] tableExclusionPatterns,
String additionalWHERECondition)
Creates the select_ informatio n_ schem a_ tables.
|
List<RetrospectionIdentifierMapper> |
getColumnIdentifierMappers()
Gets the column identifier mappers.
|
A |
getDbmsAdaptor()
Gets the dbms adaptor.
|
List<RetrospectionIdentifierMapper> |
getGeneralIdentifierMappers()
Gets the general identifier mappers.
|
List<RetrospectionIdentifierMapper> |
getIndexIdentifierMappers()
Gets the index identifier mappers.
|
String |
getRetrospectionCodeGenerationNote()
Gets the retrospection code generation note.
|
List<RetrospectionIdentifierMapper> |
getSchemaIdentifierMappers()
Gets the schema identifier mappers.
|
SqlTableIdentity |
getSystemTable_COLUMNS()
Gets the system table_ columns.
|
SqlTableIdentity |
getSystemTable_TABLES()
Gets the system table_ tables.
|
List<RetrospectionIdentifierMapper> |
getTableIdentifierMappers()
Gets the table identifier mappers.
|
SqlField[] |
loadColumns(SqlTableIdentity table)
Load columns.
|
SqlIndex[] |
loadIndices(SqlTableIdentity table)
Load indices.
|
SqlTableIdentity[] |
loadTables(String[] schemaInclusionPatterns,
String[] schemaExclusionPatterns,
String[] tableInclusionPatterns,
String[] tableExclusionPatterns,
String additionalWHERECondition)
Load tables.
|
List<String> |
loadTablesAsStrings(String[] schemaInclusionPatterns,
String[] schemaExclusionPatterns,
String[] tableInclusionPatterns,
String[] tableExclusionPatterns,
String additionalWHERECondition)
Load tables as strings.
|
Object |
parseColumnDefaultValue(Object rawDefaultValue)
Parses the column default value.
|
void |
setColumnIdentifierMappers(List<RetrospectionIdentifierMapper> columnIdentifierMappers)
Sets the column identifier mappers.
|
void |
setGeneralIdentifierMappers(List<RetrospectionIdentifierMapper> schemaIdentifierMappers)
Sets the general identifier mappers.
|
void |
setIndexIdentifierMappers(List<RetrospectionIdentifierMapper> indexIdentifierMappers)
Sets the index identifier mappers.
|
void |
setSchemaIdentifierMappers(List<RetrospectionIdentifierMapper> schemaIdentifierMappers)
Sets the schema identifier mappers.
|
void |
setTableIdentifierMappers(List<RetrospectionIdentifierMapper> tableIdentifierMappers)
Sets the table identifier mappers.
|
static final String Column_TABLE_SCHEMA
static final String Column_TABLE_NAME
static final String Column_TABLE_TYPE
static final String Column_COLUMN_NAME
static final String Column_COLUMN_DEFAULT
static final String Column_IS_NULLABLE
static final String Column_DATA_TYPE
static final String Column_CHARACTER_MAXIMUM_LENGTH
List<RetrospectionIdentifierMapper> getGeneralIdentifierMappers()
List<RetrospectionIdentifierMapper> getSchemaIdentifierMappers()
List<RetrospectionIdentifierMapper> getTableIdentifierMappers()
List<RetrospectionIdentifierMapper> getColumnIdentifierMappers()
List<RetrospectionIdentifierMapper> getIndexIdentifierMappers()
void setGeneralIdentifierMappers(List<RetrospectionIdentifierMapper> schemaIdentifierMappers)
schemaIdentifierMappers
- the new general identifier mappersvoid setSchemaIdentifierMappers(List<RetrospectionIdentifierMapper> schemaIdentifierMappers)
schemaIdentifierMappers
- the new schema identifier mappersvoid setTableIdentifierMappers(List<RetrospectionIdentifierMapper> tableIdentifierMappers)
tableIdentifierMappers
- the new table identifier mappersvoid setColumnIdentifierMappers(List<RetrospectionIdentifierMapper> columnIdentifierMappers)
columnIdentifierMappers
- the new column identifier mappersvoid setIndexIdentifierMappers(List<RetrospectionIdentifierMapper> indexIdentifierMappers)
indexIdentifierMappers
- the new index identifier mappersSqlTableIdentity getSystemTable_TABLES()
SqlTableIdentity getSystemTable_COLUMNS()
A getDbmsAdaptor()
DbmsAdaptor.Member
getDbmsAdaptor
in interface DbmsAdaptor.Member<A extends DbmsAdaptor<A>>
DbmsAdaptor.Member.getDbmsAdaptor()
String createSelect_INFORMATION_SCHEMA_TABLES(String[] schemaInclusionPatterns, String[] schemaExclusionPatterns, String[] tableInclusionPatterns, String[] tableExclusionPatterns, String additionalWHERECondition)
schemaInclusionPatterns
- the schema inclusion patternsschemaExclusionPatterns
- the schema exclusion patternstableInclusionPatterns
- the table inclusion patternstableExclusionPatterns
- the table exclusion patternsadditionalWHERECondition
- the additional where conditionSqlTableIdentity[] loadTables(String[] schemaInclusionPatterns, String[] schemaExclusionPatterns, String[] tableInclusionPatterns, String[] tableExclusionPatterns, String additionalWHERECondition) throws SQLEngineException
schemaInclusionPatterns
- the schema inclusion patternsschemaExclusionPatterns
- the schema exclusion patternstableInclusionPatterns
- the table inclusion patternstableExclusionPatterns
- the table exclusion patternsadditionalWHERECondition
- the additional where conditionSQLEngineException
- the sQL engine exceptionList<String> loadTablesAsStrings(String[] schemaInclusionPatterns, String[] schemaExclusionPatterns, String[] tableInclusionPatterns, String[] tableExclusionPatterns, String additionalWHERECondition) throws SQLEngineException
schemaInclusionPatterns
- the schema inclusion patternsschemaExclusionPatterns
- the schema exclusion patternstableInclusionPatterns
- the table inclusion patternstableExclusionPatterns
- the table exclusion patternsadditionalWHERECondition
- the additional where conditionSQLEngineException
- the sQL engine exceptionString createSelect_INFORMATION_SCHEMA_COLUMNS(SqlTableIdentity table)
table
- the tableString createSelect_INFORMATION_SCHEMA_INDICES(SqlTableIdentity table)
table
- the tableSqlField[] loadColumns(SqlTableIdentity table) throws SQLEngineException
table
- the tableSQLEngineException
- the sQL engine exceptionSqlIndex[] loadIndices(SqlTableIdentity table) throws SQLEngineException
table
- the tableSQLEngineException
- the sQL engine exceptionObject parseColumnDefaultValue(Object rawDefaultValue)
rawDefaultValue
- the raw default valueString getRetrospectionCodeGenerationNote()
Copyright © 2003–2022 XDEV Software. All rights reserved.