public interface Connection
Modifier and Type | Method and Description |
---|---|
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).
|
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.Exception
void close()