Package org.geotools.jdbc
Class CompositePrimaryKeyFinder
Object
PrimaryKeyFinder
CompositePrimaryKeyFinder
Executes a chain of
PrimaryKeyFinder in the order they are defined- Author:
- Andrea Aime - OpenGeo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPrimaryKey(JDBCDataStore store, String schema, String table, Connection cx) Returns thePrimaryKey, ornullif a specific type could not be determined (the datastore will fall back onNullPrimaryKeyin that case.
-
Constructor Details
-
CompositePrimaryKeyFinder
-
-
Method Details
-
getPrimaryKey
public PrimaryKey getPrimaryKey(JDBCDataStore store, String schema, String table, Connection cx) throws SQLException Description copied from class:PrimaryKeyFinderReturns thePrimaryKey, ornullif a specific type could not be determined (the datastore will fall back onNullPrimaryKeyin that case. It is advised to return- Specified by:
getPrimaryKeyin classPrimaryKeyFinder- Throws:
SQLException
-