|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Encapsulates definition of the underlying data structure backing a sequence-style generator.
Method Summary | |
AccessCallback |
buildCallback(SessionImplementor session)
A callback to be able to get the next value from the underlying structure as needed. |
int |
getIncrementSize()
The configured increment size |
String |
getName()
The name of the database structure (table or sequence). |
int |
getTimesAccessed()
How many times has this structure been accessed through this reference? |
void |
prepare(Optimizer optimizer)
Prepare this structure for use. |
String[] |
sqlCreateStrings(Dialect dialect)
Commands needed to create the underlying structures. |
String[] |
sqlDropStrings(Dialect dialect)
Commands needed to drop the underlying structures. |
Method Detail |
public String getName()
public int getTimesAccessed()
public int getIncrementSize()
public AccessCallback buildCallback(SessionImplementor session)
session
- The session.
public void prepare(Optimizer optimizer)
optimizer
- The optimizer being applied to the generator.public String[] sqlCreateStrings(Dialect dialect)
dialect
- The database dialect being used.
public String[] sqlDropStrings(Dialect dialect)
dialect
- The database dialect being used.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |