org.geotools.jdbc
Class CompositePrimaryKeyFinder
Object
PrimaryKeyFinder
CompositePrimaryKeyFinder
public class CompositePrimaryKeyFinder
- extends PrimaryKeyFinder
Executes a chain of PrimaryKeyFinder
in the order they are defined
- Author:
- Andrea Aime - OpenGeo
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositePrimaryKeyFinder
public CompositePrimaryKeyFinder(PrimaryKeyFinder... finders)
getPrimaryKey
public PrimaryKey getPrimaryKey(JDBCDataStore store,
String schema,
String table,
Connection cx)
throws SQLException
- Description copied from class:
PrimaryKeyFinder
- 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
- Specified by:
getPrimaryKey
in class PrimaryKeyFinder
- Returns:
-
- Throws:
SQLException
Copyright © 1996-2010 Geotools. All Rights Reserved.