Class UnaryTableSequence

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable

    public class UnaryTableSequence
    extends QuerySequence

    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.

    See Also:
    Serialized Form
    • Field Detail

      • counterFieldName

        protected java.lang.String counterFieldName
        Hold the name of the only column in multiple single-column tables
      • updateString1

        protected java.lang.String updateString1
      • updateString2

        protected java.lang.String updateString2
      • selectString1

        protected java.lang.String selectString1
      • selectString2

        protected java.lang.String selectString2
      • updateStringBufferSize

        protected int updateStringBufferSize
      • selectStringBufferSize

        protected int selectStringBufferSize
    • Constructor Detail

      • UnaryTableSequence

        public UnaryTableSequence()
      • UnaryTableSequence

        public UnaryTableSequence​(java.lang.String name)
        Create a new sequence with the name.
      • UnaryTableSequence

        public UnaryTableSequence​(java.lang.String name,
                                  int size)
        Create a new sequence with the name and sequence pre-allocation size.
      • UnaryTableSequence

        public UnaryTableSequence​(java.lang.String name,
                                  java.lang.String counterFieldName)
      • UnaryTableSequence

        public UnaryTableSequence​(java.lang.String name,
                                  int size,
                                  java.lang.String counterFieldName)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class QuerySequence
      • setCounterFieldName

        public void setCounterFieldName​(java.lang.String name)
      • getCounterFieldName

        public java.lang.String getCounterFieldName()
      • initialize

        protected void initialize()
      • buildUpdateString1

        protected void buildUpdateString1()
      • buildUpdateString2

        protected void buildUpdateString2()
      • buildSelectString1

        protected void buildSelectString1()
      • clear

        protected void clear()