Class SequenceManager.SequenceInternalTableInfo

  • All Implemented Interfaces:
    InternalTableInfo
    Enclosing class:
    SequenceManager

    private static class SequenceManager.SequenceInternalTableInfo
    extends java.lang.Object
    implements InternalTableInfo
    An object that models the list of sequences as table objects in a transaction.
    • Constructor Detail

      • SequenceInternalTableInfo

        SequenceInternalTableInfo​(Transaction transaction)
    • Method Detail

      • createDataTableDef

        private static DataTableDef createDataTableDef​(java.lang.String schema,
                                                       java.lang.String name)
      • getTableCount

        public int getTableCount()
        Description copied from interface: InternalTableInfo
        Returns the number of internal table sources that this object is maintaining.
        Specified by:
        getTableCount in interface InternalTableInfo
      • getTableType

        public java.lang.String getTableType​(int i)
        Description copied from interface: InternalTableInfo
        Returns a String that describes the type of the table at the given index.
        Specified by:
        getTableType in interface InternalTableInfo
      • createInternalTable

        public MutableTableDataSource createInternalTable​(int index)
        Description copied from interface: InternalTableInfo
        This is the factory method for generating the internal table for the given table in this container. This should return an implementation of MutableTableDataSource that is used to represent the internal data being modelled.

        This method is allowed to throw an exception for table objects that aren't backed by a MutableTableDataSource, such as a view.

        Specified by:
        createInternalTable in interface InternalTableInfo