Purpose: Creates / drops an unary sequence table: the name of the table is sequence name; its only field is named unarySequenceCounterFieldName
| Access | Constructor and Description |
|---|---|
| public | UnaryTableSequenceDefinition(Sequence sequence)
INTERNAL: Should be a sequence defining unary table sequence in the db: either UnaryTableSequence DefaultSequence (only if case platform.getDefaultSequence() is an UnaryTableSequence). |
| public |
| UnaryTableSequenceDefinition | back to summary |
|---|---|
| public UnaryTableSequenceDefinition(Sequence sequence) INTERNAL: Should be a sequence defining unary table sequence in the db: either UnaryTableSequence DefaultSequence (only if case platform.getDefaultSequence() is an UnaryTableSequence). | |
| UnaryTableSequenceDefinition | back to summary |
|---|---|
| public UnaryTableSequenceDefinition(Sequence sequence, boolean deleteSchema) | |
| buildCreationWriter | back to summary |
|---|---|
| public Writer buildCreationWriter(AbstractSession session, Writer writer) throws ValidationException Overrides org. INTERNAL: Return the SQL required to create the unary sequence table.
| |
| buildDeletionWriter | back to summary |
|---|---|
| public Writer buildDeletionWriter(AbstractSession session, Writer writer) throws ValidationException Overrides org. INTERNAL: Return the SQL to delete the unary sequence table.
| |
| buildTableDefinition | back to summary |
|---|---|
| public TableDefinition buildTableDefinition() Overrides org. INTERNAL: Return a TableDefinition specifying a unary sequence table.
| |
| checkIfExist | back to summary |
|---|---|
| public boolean checkIfExist(AbstractSession session) throws DatabaseException Overrides org. INTERAL: Verify whether the sequence exists. Assume that the unary sequence table exists.
| |
| getSequenceCounterFieldName | back to summary |
|---|---|
| public String getSequenceCounterFieldName() Overrides org. PUBLIC: Return the name of the only field of this table
| |
| getUnaryTableSequence | back to summary |
|---|---|
| protected UnaryTableSequence getUnaryTableSequence() | |
| isTableSequenceDefinition | back to summary |
|---|---|
| public boolean isTableSequenceDefinition() Overrides org. INTERNAL:
| |