|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.jdbc.PrimaryKeyFinder
org.geotools.jdbc.CompositePrimaryKeyFinder
public class CompositePrimaryKeyFinder
Executes a chain of PrimaryKeyFinder
in the order they are defined
Constructor Summary | |
---|---|
CompositePrimaryKeyFinder(PrimaryKeyFinder... finders)
|
Method Summary | |
---|---|
PrimaryKey |
getPrimaryKey(JDBCDataStore store,
java.lang.String schema,
java.lang.String table,
java.sql.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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompositePrimaryKeyFinder(PrimaryKeyFinder... finders)
Method Detail |
---|
public PrimaryKey getPrimaryKey(JDBCDataStore store, java.lang.String schema, java.lang.String table, java.sql.Connection cx) throws java.sql.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 return
getPrimaryKey
in class PrimaryKeyFinder
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |