public abstract class PrimaryKeyFinder extends Object
| Constructor and Description |
|---|
PrimaryKeyFinder() |
| Modifier and Type | Method and 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. |
public abstract PrimaryKey getPrimaryKey(JDBCDataStore store, String schema, String table, Connection cx) throws SQLException
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 returnschema - table - cx - SQLExceptionCopyright © 1996–2019 Geotools. All rights reserved.