Class PrimaryKeyFinder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract PrimaryKey getPrimaryKey​(JDBCDataStore store, String schema, String table, Connection cx)
      Returns the PrimaryKey, or null if a specific type could not be determined (the datastore will fall back on NullPrimaryKey in that case.
      • Methods inherited from class Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrimaryKeyFinder

        public PrimaryKeyFinder()
    • Method Detail

      • getPrimaryKey

        public abstract PrimaryKey getPrimaryKey​(JDBCDataStore store,
                                                 String schema,
                                                 String table,
                                                 Connection cx)
                                          throws SQLException
        Returns the PrimaryKey, or null if a specific type could not be determined (the datastore will fall back on NullPrimaryKey in that case. It is advised to return
        Throws:
        SQLException