Class DataDescriptors<V extends DataDescriptorEntry>

  • All Implemented Interfaces:
    Serializable, Cloneable, Iterable<V>, Collection<V>, NavigableSet<V>, Set<V>, SortedSet<V>
    Direct Known Subclasses:
    ColumnDescriptors

    public class DataDescriptors<V extends DataDescriptorEntry>
    extends TreeSet<V>
    Descriptors for the columns in an SQL database. One of the issues with JDBC is that certain statements are order dependent -- the order in which columns are described must be carefully followed. This sorts all the columns alphabetically and strictly follows this canonical ordering for all subsequent operations. You need merely make a relationship between a column name and a Types value. Logically this is a TreeSet. Very useful and very convenient.

    Created by Jeff Gaynor
    on 8/30/11 at 2:50 PM

    See Also:
    Serialized Form