Class SequenceInformationExtractorLegacyImpl
java.lang.Object
org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl
- All Implemented Interfaces:
SequenceInformationExtractor
- Direct Known Subclasses:
SequenceInformationExtractorDB2DatabaseImpl
,SequenceInformationExtractorDerbyDatabaseImpl
,SequenceInformationExtractorH2DatabaseImpl
,SequenceInformationExtractorHANADatabaseImpl
,SequenceInformationExtractorHSQLDBDatabaseImpl
,SequenceInformationExtractorMariaDBDatabaseImpl
,SequenceInformationExtractorOracleDatabaseImpl
,SequenceInformationExtractorTiDBDatabaseImpl
,SequenceNameExtractorImpl
public class SequenceInformationExtractorLegacyImpl
extends Object
implements SequenceInformationExtractor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SequenceInformationExtractorLegacyImpl
Singleton access -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextractMetadata
(ExtractionContext extractionContext) Get the information about sequences.protected String
resultSetCatalogName
(ResultSet resultSet) protected Number
resultSetIncrementValue
(ResultSet resultSet) protected Number
resultSetMaxValue
(ResultSet resultSet) protected Number
resultSetMinValue
(ResultSet resultSet) protected String
resultSetSchemaName
(ResultSet resultSet) protected String
resultSetSequenceName
(ResultSet resultSet) protected Number
resultSetStartValueSize
(ResultSet resultSet) protected String
protected String
protected String
protected String
protected String
protected String
protected String
-
Field Details
-
INSTANCE
Singleton access
-
-
Constructor Details
-
SequenceInformationExtractorLegacyImpl
public SequenceInformationExtractorLegacyImpl()
-
-
Method Details
-
extractMetadata
public Iterable<SequenceInformation> extractMetadata(ExtractionContext extractionContext) throws SQLException Description copied from interface:SequenceInformationExtractor
Get the information about sequences.- Specified by:
extractMetadata
in interfaceSequenceInformationExtractor
- Parameters:
extractionContext
- Access to resources needed to perform the extraction- Returns:
- The extracted information about existing sequences.
- Throws:
SQLException
- Don't bother handling SQLExceptions (unless you want to), we will deal with them in the caller.
-
sequenceNameColumn
-
sequenceCatalogColumn
-
sequenceSchemaColumn
-
sequenceStartValueColumn
-
sequenceMinValueColumn
-
sequenceMaxValueColumn
-
sequenceIncrementColumn
-
resultSetSequenceName
- Throws:
SQLException
-
resultSetCatalogName
- Throws:
SQLException
-
resultSetSchemaName
- Throws:
SQLException
-
resultSetStartValueSize
- Throws:
SQLException
-
resultSetMinValue
- Throws:
SQLException
-
resultSetMaxValue
- Throws:
SQLException
-
resultSetIncrementValue
- Throws:
SQLException
-