| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private String | formattedSequenceNameForLegacyGetter
Deprecated
|
| private final int | |
| private final int | |
| private static final CoreMessageLogger | |
| private final QualifiedName | |
| private final Class | |
| protected QualifiedName | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | SequenceStructure(JdbcEnvironment jdbcEnvironment, QualifiedName qualifiedSequenceName, int initialValue, int incrementSize, Class<T> numberType)
|
| Modifier and Type | Method and Description |
|---|---|
| public AccessCallback | buildCallback(final SharedSessionContractImplementor
The session. session)Implements org. |
| protected void | |
| public void | configure(Optimizer
The optimizer being applied to the generator. optimizer)Overrides default org. |
| public String[] | |
| public int | getIncrementSize()
Implements org. |
| public int | getInitialValue()
Implements org. |
| public String | getName()
Overrides default org.
Deprecated
The name of the database structure (table or sequence).
|
| public QualifiedName | getPhysicalName()
Implements org. |
| protected QualifiedName | |
| protected final int | |
| public int | getTimesAccessed()
Implements org. |
| public void | initialize(SqlStringGenerationContext
A context to help generate SQL strings context)Overrides default org. |
| public boolean | isPhysicalSequence()
Implements org. |
| public void | registerExportables(Database
The database instance database)Implements org.
This method is called just once, after |
| accessCounter | back to summary |
|---|---|
| private int accessCounter | |
| applyIncrementSizeToSourceValues | back to summary |
|---|---|
| private boolean applyIncrementSizeToSourceValues | |
| formattedSequenceNameForLegacyGetter | back to summary |
|---|---|
| private String formattedSequenceNameForLegacyGetter
Deprecated
| |
| incrementSize | back to summary |
|---|---|
| private final int incrementSize | |
| initialValue | back to summary |
|---|---|
| private final int initialValue | |
| LOG | back to summary |
|---|---|
| private static final CoreMessageLogger LOG | |
| logicalQualifiedSequenceName | back to summary |
|---|---|
| private final QualifiedName logicalQualifiedSequenceName | |
| numberType | back to summary |
|---|---|
| private final Class<T> numberType | |
| physicalSequenceName | back to summary |
|---|---|
| protected QualifiedName physicalSequenceName | |
| sql | back to summary |
|---|---|
| private String sql | |
| SequenceStructure | back to summary |
|---|---|
| public SequenceStructure(JdbcEnvironment jdbcEnvironment, QualifiedName qualifiedSequenceName, int initialValue, int incrementSize, Class<T> numberType) | |
| buildCallback | back to summary |
|---|---|
| public AccessCallback buildCallback(final SharedSessionContractImplementor session) Implements org. Doc from org. A callback to be able to get the next value from the underlying structure as needed.
| |
| buildSequence | back to summary |
|---|---|
| protected void buildSequence(Database database) | |
| configure | back to summary |
|---|---|
| public void configure(Optimizer optimizer) Overrides default org. Doc from org. Configures this structure with the given arguments.
Called just after instantiation, before | |
| getAllSqlForTests | back to summary |
|---|---|
| public String[] getAllSqlForTests() Overrides default org.
| |
| getIncrementSize | back to summary |
|---|---|
| public int getIncrementSize() Implements org. Doc from org. The configured increment size
| |
| getInitialValue | back to summary |
|---|---|
| public int getInitialValue() Implements org. Doc from org. The configured initial value
| |
| getName | back to summary |
|---|---|
| public String getName() Overrides default org. Doc from org. Deprecated
The name of the database structure (table or sequence).
| |
| getPhysicalName | back to summary |
|---|---|
| public QualifiedName getPhysicalName() Implements org. Doc from org. The physical name of the database structure (table or sequence).
Only available after
| |
| getQualifiedName | back to summary |
|---|---|
| protected QualifiedName getQualifiedName() | |
| getSourceIncrementSize | back to summary |
|---|---|
| protected final int getSourceIncrementSize() | |
| getTimesAccessed | back to summary |
|---|---|
| public int getTimesAccessed() Implements org. Doc from org. How many times has this structure been accessed through this reference?
| |
| initialize | back to summary |
|---|---|
| public void initialize(SqlStringGenerationContext context) Overrides default org. Doc from org. Initializes this structure, in particular pre-generates SQL as necessary.
This method is called just once, after
| |
| isPhysicalSequence | back to summary |
|---|---|
| public boolean isPhysicalSequence() Implements org. Doc from org. Is the structure physically a sequence?
| |
| registerExportables | back to summary |
|---|---|
| public void registerExportables(Database database) Implements org. Doc from org. Register database objects involved in this structure, e.g. sequences, tables, etc.
This method is called just once, after | |