Class Schema

  • All Implemented Interfaces:
    java.lang.Comparable<Schema>

    public class Schema
    extends java.lang.Object
    implements java.lang.Comparable<Schema>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.logging.Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      Schema​(java.lang.String tableSchema, java.lang.String tableCatalog)  
    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • Schema

        public Schema​(java.lang.String tableSchema,
                      java.lang.String tableCatalog)
    • Method Detail

      • getSchemas

        public static java.util.Collection<Schema> getSchemas​(java.sql.DatabaseMetaData metaData)
                                                       throws java.sql.SQLException
        Throws:
        java.sql.SQLException
      • get

        public Table get​(java.lang.String tableName)
      • compareTo

        public int compareTo​(Schema o)
        Specified by:
        compareTo in interface java.lang.Comparable<Schema>
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object