|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Connection
A channel of communication with a DataSource.
| Method Summary | |
|---|---|
void |
close()
Ends the connection, performing any necessary cleanup. |
FeatureCollection |
executeQuery(java.lang.String query,
java.util.Collection exceptions,
TaskMonitor monitor)
Returns from a DataSource a dataset specified using a query string (the format of which is implementation-dependent). |
FeatureCollection |
executeQuery(java.lang.String query,
TaskMonitor monitor)
Returns from a DataSource a dataset specified using a query string (the format of which is implementation-dependent). |
void |
executeUpdate(java.lang.String query,
FeatureCollection featureCollection,
TaskMonitor monitor)
Modifies data in the DataSource accordinate to a query string (the format of which is implementation-dependent). |
| Method Detail |
|---|
FeatureCollection executeQuery(java.lang.String query,
java.util.Collection exceptions,
TaskMonitor monitor)
query - identifies the dataset; may take the form of a SQL statement,
a table name, null (if there is only one dataset), or other formatexceptions - a Collection to hold exceptions that occurred (so that processing can continue).
FeatureCollection executeQuery(java.lang.String query,
TaskMonitor monitor)
throws java.lang.Exception
java.lang.Exception
void executeUpdate(java.lang.String query,
FeatureCollection featureCollection,
TaskMonitor monitor)
throws java.lang.Exception
java.lang.Exceptionvoid close()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||