Class OracleSqlReactiveInformationExtractorImpl
java.lang.Object
org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl
org.hibernate.reactive.provider.service.AbstractReactiveInformationSchemaBasedExtractorImpl
org.hibernate.reactive.provider.service.OracleSqlReactiveInformationExtractorImpl
- All Implemented Interfaces:
InformationExtractor
public class OracleSqlReactiveInformationExtractorImpl
extends AbstractReactiveInformationSchemaBasedExtractorImpl
-
Nested Class Summary
Nested classes/interfaces inherited from class org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl
org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl.ForeignKeyBuilder, org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl.ForeignKeyBuilderImpl -
Constructor Summary
ConstructorsConstructorDescriptionOracleSqlReactiveInformationExtractorImpl(ExtractionContext extractionContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected intdataTypeCode(String typeName) Return a JDBC Type code for the given type nameprotected StringgetDatabaseSchemaColumnName(String catalogColumnName, String schemaColumnName) Given a catalog column name and a schema column name in an information_schema table/view, this method returns the column used for storing the schema name, or, if there is no valid column containing the schema name.protected Stringprotected Stringprotected StringparameterMarker(int pos) protected <T> TprocessColumnsResultSet(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern, ExtractionContext.ResultSetProcessor<T> processor) protected <T> TprocessImportedKeysResultSet(String catalog, String schema, String table, ExtractionContext.ResultSetProcessor<T> processor) protected <T> TprocessIndexInfoResultSet(String catalog, String schema, String table, boolean unique, boolean approximate, ExtractionContext.ResultSetProcessor<T> processor) protected <T> TprocessPrimaryKeysResultSet(String catalogFilter, String schemaFilter, Identifier tableName, ExtractionContext.ResultSetProcessor<T> processor) protected <T> TprocessTableResultSet(String catalog, String schemaPattern, String tableNamePattern, String[] types, ExtractionContext.ResultSetProcessor<T> processor) Methods inherited from class org.hibernate.reactive.provider.service.AbstractReactiveInformationSchemaBasedExtractorImpl
appendClauseAndParameterIfNotNullOrEmpty, columnInformation, getDatabaseCatalogColumnName, getInformationSchemaColumnsDataTypeColumn, getResultSetCatalogLabel, getResultSetColumnNameLabel, getResultSetColumnPositionColumn, getResultSetColumnSizeLabel, getResultSetDecimalDigitsLabel, getResultSetForeignKeyColumnNameLabel, getResultSetForeignKeyLabel, getResultSetIndexNameLabel, getResultSetIndexTypeLabel, getResultSetPrimaryKeyCatalogLabel, getResultSetPrimaryKeyColumnNameLabel, getResultSetPrimaryKeyNameLabel, getResultSetPrimaryKeySchemaLabel, getResultSetPrimaryKeyTableLabel, getResultSetRemarksLabel, getResultSetSchemaLabel, getResultSetSqlTypeCodeLabel, getResultSetTableNameLabel, getResultSetTableTypeLabel, getResultSetTypeNameLabel, processCatalogsResultSet, processCrossReferenceResultSet, processSchemaResultSetMethods inherited from class org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl
addColumns, catalogExists, convertSQLException, getExtractionContext, getForeignKeys, getIndexes, getJdbcEnvironment, getPrimaryKey, getTable, getTables, interpretTruthValue, isPhysicalTableType, schemaExists, toMetaDataObjectName
-
Constructor Details
-
OracleSqlReactiveInformationExtractorImpl
-
-
Method Details
-
getResultSetTableTypesPhysicalTableConstant
-
processPrimaryKeysResultSet
protected <T> T processPrimaryKeysResultSet(String catalogFilter, String schemaFilter, Identifier tableName, ExtractionContext.ResultSetProcessor<T> processor) - Specified by:
processPrimaryKeysResultSetin classorg.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl
-
processIndexInfoResultSet
protected <T> T processIndexInfoResultSet(String catalog, String schema, String table, boolean unique, boolean approximate, ExtractionContext.ResultSetProcessor<T> processor) throws SQLException - Specified by:
processIndexInfoResultSetin classorg.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl- Throws:
SQLException
-
parameterMarker
- Overrides:
parameterMarkerin classAbstractReactiveInformationSchemaBasedExtractorImpl
-
processImportedKeysResultSet
protected <T> T processImportedKeysResultSet(String catalog, String schema, String table, ExtractionContext.ResultSetProcessor<T> processor) throws SQLException - Specified by:
processImportedKeysResultSetin classorg.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl- Throws:
SQLException
-
processTableResultSet
protected <T> T processTableResultSet(String catalog, String schemaPattern, String tableNamePattern, String[] types, ExtractionContext.ResultSetProcessor<T> processor) throws SQLException - Overrides:
processTableResultSetin classAbstractReactiveInformationSchemaBasedExtractorImpl- Throws:
SQLException
-
processColumnsResultSet
protected <T> T processColumnsResultSet(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern, ExtractionContext.ResultSetProcessor<T> processor) throws SQLException - Overrides:
processColumnsResultSetin classAbstractReactiveInformationSchemaBasedExtractorImpl- Throws:
SQLException
-
getDatabaseSchemaColumnName
Description copied from class:AbstractReactiveInformationSchemaBasedExtractorImplGiven a catalog column name and a schema column name in an information_schema table/view, this method returns the column used for storing the schema name, or, if there is no valid column containing the schema name. MySQL, for example, does not have a valid column in the information_schema to store the schema name. (@see MySqlReactiveInformationExtractorImpl)- Overrides:
getDatabaseSchemaColumnNamein classAbstractReactiveInformationSchemaBasedExtractorImpl- Parameters:
catalogColumnName- - the catalog column nameschemaColumnName- - the schema column name- Returns:
- the column used for storing the schema name,
or
if there is no valid column containing the schema name.
-
getResultSetIsNullableLabel
- Overrides:
getResultSetIsNullableLabelin classAbstractReactiveInformationSchemaBasedExtractorImpl
-
dataTypeCode
Description copied from class:AbstractReactiveInformationSchemaBasedExtractorImplReturn a JDBC Type code for the given type name- Overrides:
dataTypeCodein classAbstractReactiveInformationSchemaBasedExtractorImpl
-