| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private boolean | |
| private String | formattedTableNameForLegacyGetter
Deprecated
|
| private final int | |
| private final int | |
| private static final CoreMessageLogger | |
| private final QualifiedName | |
| private final Identifier | |
| private final Class | |
| private QualifiedName | |
| private String | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| public | TableStructure(JdbcEnvironment jdbcEnvironment, QualifiedName qualifiedTableName, Identifier valueColumnNameIdentifier, int initialValue, int incrementSize, Class<T> numberType)
|
| Modifier and Type | Method and Description |
|---|---|
| public AccessCallback | buildCallback(final SharedSessionContractImplementor
The session. session)Implements org. |
| private ResultSet | |
| private int | |
| 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. |
| 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. |
| private IntegralDataTypeHolder | |
| public void | prepare(Optimizer
The optimizer being applied to the generator. optimizer)Overrides default org. |
| private PreparedStatement | prepareStatement(Connection connection, String sql, SqlStatementLogger statementLogger, SessionEventListenerManager statsCollector)
|
| 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 | |
| formattedTableNameForLegacyGetter | back to summary |
|---|---|
| private String formattedTableNameForLegacyGetter
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 | |
| logicalQualifiedTableName | back to summary |
|---|---|
| private final QualifiedName logicalQualifiedTableName | |
| logicalValueColumnNameIdentifier | back to summary |
|---|---|
| private final Identifier logicalValueColumnNameIdentifier | |
| numberType | back to summary |
|---|---|
| private final Class<T> numberType | |
| physicalTableName | back to summary |
|---|---|
| private QualifiedName physicalTableName | |
| selectQuery | back to summary |
|---|---|
| private String selectQuery | |
| updateQuery | back to summary |
|---|---|
| private String updateQuery | |
| valueColumnNameText | back to summary |
|---|---|
| private String valueColumnNameText | |
| TableStructure | back to summary |
|---|---|
| public TableStructure(JdbcEnvironment jdbcEnvironment, QualifiedName qualifiedTableName, Identifier valueColumnNameIdentifier, 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.
| |
| executeQuery | back to summary |
|---|---|
| private ResultSet executeQuery(PreparedStatement ps, SessionEventListenerManager statsCollector) throws SQLException | |
| executeUpdate | back to summary |
|---|---|
| private int executeUpdate(PreparedStatement ps, SessionEventListenerManager statsCollector) throws SQLException | |
| 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
| |
| 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?
| |
| makeValue | back to summary |
|---|---|
| private IntegralDataTypeHolder makeValue() | |
| prepare | back to summary |
|---|---|
| public void prepare(Optimizer optimizer) Overrides default org. Doc from org. Prepare this structure for use. Called sometime after instantiation, but before first use. | |
| prepareStatement | back to summary |
|---|---|
| private PreparedStatement prepareStatement(Connection connection, String sql, SqlStatementLogger statementLogger, SessionEventListenerManager statsCollector) throws SQLException | |
| 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 | |