public class SqlServerReactiveInformationExtractorImpl extends AbstractReactiveInformationSchemaBasedExtractorImpl
AbstractReactiveInformationSchemaBasedExtractorImpl
specifically for SQL Server that obtains metadata from SQL Server's system
tables, when it is not available from SQL Server's information_schema.org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl.ForeignKeyBuilder, org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl.ForeignKeyBuilderImpl
Constructor and Description |
---|
SqlServerReactiveInformationExtractorImpl(org.hibernate.tool.schema.extract.spi.ExtractionContext extractionContext) |
Modifier and Type | Method and Description |
---|---|
protected int |
dataTypeCode(String typeName)
Return a JDBC Type code for the given type name
|
protected <T> T |
processColumnsResultSet(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern,
org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) |
protected <T> T |
processImportedKeysResultSet(String catalog,
String schema,
String table,
org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) |
protected <T> T |
processIndexInfoResultSet(String catalog,
String schema,
String table,
boolean unique,
boolean approximate,
org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) |
protected <T> T |
processPrimaryKeysResultSet(String catalogFilter,
String schemaFilter,
org.hibernate.boot.model.naming.Identifier tableName,
org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) |
protected <T> T |
processTableResultSet(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types,
org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) |
addExtractedColumnInformation, appendClauseAndParameterIfNotNullOrEmpty, getDatabaseCatalogColumnName, getDatabaseSchemaColumnName, getInformationSchemaColumnsDataTypeColumn, getResultSetCatalogLabel, getResultSetColumnNameLabel, getResultSetColumnPositionColumn, getResultSetColumnSizeLabel, getResultSetDecimalDigitsLabel, getResultSetForeignKeyColumnNameLabel, getResultSetForeignKeyLabel, getResultSetIndexNameLabel, getResultSetIndexTypeLabel, getResultSetIsNullableLabel, getResultSetPrimaryKeyCatalogLabel, getResultSetPrimaryKeyColumnNameLabel, getResultSetPrimaryKeyNameLabel, getResultSetPrimaryKeySchemaLabel, getResultSetPrimaryKeyTableLabel, getResultSetRemarksLabel, getResultSetSchemaLabel, getResultSetSqlTypeCodeLabel, getResultSetTableNameLabel, getResultSetTableTypeLabel, getResultSetTableTypesPhysicalTableConstant, getResultSetTypeNameLabel, processCatalogsResultSet, processSchemaResultSet
addColumns, catalogExists, convertSQLException, determineCatalogFilter, determineSchemaFilter, getExtractionContext, getForeignKeys, getIndexes, getPrimaryKey, getTable, getTables, identifierHelper, interpretNullable, isPhysicalTableType, schemaExists, toMetaDataObjectName
public SqlServerReactiveInformationExtractorImpl(org.hibernate.tool.schema.extract.spi.ExtractionContext extractionContext)
protected <T> T processTableResultSet(String catalog, String schemaPattern, String tableNamePattern, String[] types, org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) throws SQLException
processTableResultSet
in class AbstractReactiveInformationSchemaBasedExtractorImpl
SQLException
protected <T> T processColumnsResultSet(String catalog, String schemaPattern, String tableNamePattern, String columnNamePattern, org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) throws SQLException
processColumnsResultSet
in class AbstractReactiveInformationSchemaBasedExtractorImpl
SQLException
protected <T> T processPrimaryKeysResultSet(String catalogFilter, String schemaFilter, org.hibernate.boot.model.naming.Identifier tableName, org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) throws SQLException
processPrimaryKeysResultSet
in class org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl
SQLException
protected <T> T processIndexInfoResultSet(String catalog, String schema, String table, boolean unique, boolean approximate, org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) throws SQLException
processIndexInfoResultSet
in class org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl
SQLException
protected <T> T processImportedKeysResultSet(String catalog, String schema, String table, org.hibernate.tool.schema.extract.spi.ExtractionContext.ResultSetProcessor<T> processor) throws SQLException
processImportedKeysResultSet
in class org.hibernate.tool.schema.extract.internal.AbstractInformationExtractorImpl
SQLException
protected int dataTypeCode(String typeName)
AbstractReactiveInformationSchemaBasedExtractorImpl
dataTypeCode
in class AbstractReactiveInformationSchemaBasedExtractorImpl
Copyright © 2020-2022 Red Hat, Inc. All Rights Reserved.