Purpose: Defines sequencing through using a singleton sequence table.
Description This is similar to the TableSequence but the sequence table only stores a single row defining a single sequence.
| Modifier and Type | Field and Description |
|---|---|
| protected String | counterFieldName
Hold the name of the only column in multiple single-column tables |
| protected String | |
| protected String | |
| protected int | |
| protected String | |
| protected String | |
| protected int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | UnaryTableSequence(String name, int size)
Create a new sequence with the name and sequence pre-allocation size. |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected ValueReadQuery | buildSelectQuery(String seqName, Integer size)
Overrides org. |
| protected void | |
| protected DataModifyQuery | buildUpdateQuery(String seqName, Number size)
Overrides org. |
| protected void | |
| protected void | |
| protected void | |
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides org. |
| public String | |
| public int | hashCode()
Overrides org. |
| protected void | |
| public boolean | |
| public void | |
| public void | |
| public void |
| counterFieldName | back to summary |
|---|---|
| protected String counterFieldName Hold the name of the only column in multiple single-column tables | |
| selectString1 | back to summary |
|---|---|
| protected String selectString1 | |
| selectString2 | back to summary |
|---|---|
| protected String selectString2 | |
| selectStringBufferSize | back to summary |
|---|---|
| protected int selectStringBufferSize | |
| updateString1 | back to summary |
|---|---|
| protected String updateString1 | |
| updateString2 | back to summary |
|---|---|
| protected String updateString2 | |
| updateStringBufferSize | back to summary |
|---|---|
| protected int updateStringBufferSize | |
| UnaryTableSequence | back to summary |
|---|---|
| public UnaryTableSequence() | |
| UnaryTableSequence | back to summary |
|---|---|
| public UnaryTableSequence(String name) Create a new sequence with the name. | |
| UnaryTableSequence | back to summary |
|---|---|
| public UnaryTableSequence(String name, int size) Create a new sequence with the name and sequence pre-allocation size. | |
| UnaryTableSequence | back to summary |
|---|---|
| public UnaryTableSequence(String name, String counterFieldName) | |
| UnaryTableSequence | back to summary |
|---|---|
| public UnaryTableSequence(String name, int size, String counterFieldName) | |
| buildSelectQuery | back to summary |
|---|---|
| protected ValueReadQuery buildSelectQuery(String seqName, Integer size) Overrides org. Doc from org. INTERNAL:
| |
| buildSelectString1 | back to summary |
|---|---|
| protected void buildSelectString1() | |
| buildUpdateQuery | back to summary |
|---|---|
| protected DataModifyQuery buildUpdateQuery(String seqName, Number size) Overrides org. Doc from org. INTERNAL:
| |
| buildUpdateString1 | back to summary |
|---|---|
| protected void buildUpdateString1() | |
| buildUpdateString2 | back to summary |
|---|---|
| protected void buildUpdateString2() | |
| clear | back to summary |
|---|---|
| protected void clear() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides org. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getCounterFieldName | back to summary |
|---|---|
| public String getCounterFieldName() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| initialize | back to summary |
|---|---|
| protected void initialize() | |
| isUnaryTable | back to summary |
|---|---|
| public boolean isUnaryTable() Overrides org.
| |
| onConnect | back to summary |
|---|---|
| public void onConnect() Overrides org. INTERNAL:
| |
| onDisconnect | back to summary |
|---|---|
| public void onDisconnect() Overrides org. INTERNAL:
| |
| setCounterFieldName | back to summary |
|---|---|
| public void setCounterFieldName(String name) | |