Top Fields Constructors Methods
org.hibernate.tool.schema.extract.internal

public Class SequenceInformationExtractorTiDBDatabaseImpl

extends SequenceInformationExtractorLegacyImpl
Class Inheritance
Imports
org.hibernate.boot.model.relational.QualifiedSequenceName, org.hibernate.engine.jdbc.env.spi.IdentifierHelper, org.hibernate.tool.schema.extract.spi.ExtractionContext, .SequenceInformation, java.sql.ResultSet, .SQLException, .Statement, java.util.ArrayList, .List

Field Summary

Modifier and TypeField and Description
public static final SequenceInformationExtractorTiDBDatabaseImpl
private static final String
private static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Iterable<SequenceInformation>
protected Number
protected String
protected String
protected String
Inherited from org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl:
resultSetCatalogNameresultSetMaxValueresultSetMinValueresultSetSchemaNameresultSetStartValueSizesequenceCatalogColumnsequenceMaxValueColumnsequenceMinValueColumnsequenceSchemaColumnsequenceStartValueColumn

Field Detail

INSTANCEback to summary
public static final SequenceInformationExtractorTiDBDatabaseImpl INSTANCE

Hides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.INSTANCE.

Singleton access

SQL_SEQUENCE_QUERYback to summary
private static final String SQL_SEQUENCE_QUERY
UNION_ALLback to summary
private static final String UNION_ALL

Constructor Detail

SequenceInformationExtractorTiDBDatabaseImplback to summary
public SequenceInformationExtractorTiDBDatabaseImpl()

Method Detail

extractMetadataback to summary
public Iterable<SequenceInformation> extractMetadata(ExtractionContext extractionContext) throws SQLException

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.extractMetadata.

Implements org.hibernate.tool.schema.extract.spi.SequenceInformationExtractor.extractMetadata.

Doc from org.hibernate.tool.schema.extract.spi.SequenceInformationExtractor.extractMetadata.

Get the information about sequences.

Parameters
extractionContext:ExtractionContext

Access to resources needed to perform the extraction

Returns:Iterable<SequenceInformation>

The extracted information about existing sequences.

Annotations
@Override
Exceptions
SQLException:
Don't bother handling SQLExceptions (unless you want to), we will deal with them in the caller.
resultSetIncrementValueback to summary
protected Number resultSetIncrementValue(ResultSet resultSet) throws SQLException

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.resultSetIncrementValue.

resultSetSequenceNameback to summary
protected String resultSetSequenceName(ResultSet resultSet) throws SQLException

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.resultSetSequenceName.

sequenceIncrementColumnback to summary
protected String sequenceIncrementColumn()

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.sequenceIncrementColumn.

sequenceNameColumnback to summary
protected String sequenceNameColumn()

Overrides org.hibernate.tool.schema.extract.internal.SequenceInformationExtractorLegacyImpl.sequenceNameColumn.