Class ColumnDescriptorList

    • Field Summary

      • Fields inherited from class java.util.AbstractList

        modCount
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(UUID tableID, ColumnDescriptor column)
      Add the column.
      ColumnDescriptor elementAt​(int n)
      Return the nth (0-based) element in the list.
      ColumnDescriptor getColumnDescriptor​(UUID tableID, int columnID)
      Get the column descriptor
      ColumnDescriptor getColumnDescriptor​(UUID tableID, java.lang.String columnName)
      Get the column descriptor
      java.lang.String[] getColumnNames()
      Get an array of strings for all the columns in this CDL.
      • Methods inherited from class java.util.ArrayList

        add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
      • Methods inherited from class java.util.AbstractCollection

        containsAll, toString
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Collection

        parallelStream, stream, toArray
      • Methods inherited from interface java.util.List

        containsAll
    • Constructor Detail

      • ColumnDescriptorList

        public ColumnDescriptorList()
    • Method Detail

      • add

        public void add​(UUID tableID,
                        ColumnDescriptor column)
        Add the column. Currently, the table id is ignored.
        Parameters:
        tableID - the table id (ignored)
        column - the column to add
      • getColumnDescriptor

        public ColumnDescriptor getColumnDescriptor​(UUID tableID,
                                                    java.lang.String columnName)
        Get the column descriptor
        Parameters:
        tableID - the table id (ignored)
        columnName - the column get
        Returns:
        the column descriptor if found
      • getColumnDescriptor

        public ColumnDescriptor getColumnDescriptor​(UUID tableID,
                                                    int columnID)
        Get the column descriptor
        Parameters:
        tableID - the table id (ignored)
        columnID - the column id
        Returns:
        the column descriptor if found
      • elementAt

        public ColumnDescriptor elementAt​(int n)
        Return the nth (0-based) element in the list.
        Parameters:
        n - Which element to return.
        Returns:
        The nth element in the list.
      • getColumnNames

        public java.lang.String[] getColumnNames()
        Get an array of strings for all the columns in this CDL.
        Returns:
        the array of strings