public class CompositePrimaryKeyFinder extends PrimaryKeyFinder
PrimaryKeyFinder in the order they are defined| Constructor and Description |
|---|
CompositePrimaryKeyFinder(PrimaryKeyFinder... finders) |
| Modifier and Type | Method and Description |
|---|---|
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 CompositePrimaryKeyFinder(PrimaryKeyFinder... finders)
public PrimaryKey getPrimaryKey(JDBCDataStore store, String schema, String table, Connection cx) throws SQLException
PrimaryKeyFinderPrimaryKey, or null if a specific type could not be determined
(the datastore will fall back on NullPrimaryKey in that case. It is advised to returngetPrimaryKey in class PrimaryKeyFinderSQLExceptionCopyright © 1996–2019 Geotools. All rights reserved.