public class CompositePrimaryKeyFinder extends PrimaryKeyFinder
PrimaryKeyFinder
in the order they are definedConstructor 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
PrimaryKeyFinder
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 returngetPrimaryKey
in class PrimaryKeyFinder
SQLException
Copyright © 1996–2019 Geotools. All rights reserved.