public interface Connection
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Ends the connection, performing any necessary cleanup.
|
FeatureCollection |
executeQuery(String query,
Collection exceptions,
TaskMonitor monitor)
Returns from a DataSource a dataset specified using a query string (the format
of which is implementation-dependent).
|
FeatureCollection |
executeQuery(String query,
TaskMonitor monitor)
Returns from a DataSource a dataset specified using a query string (the format
of which is implementation-dependent).
|
void |
executeUpdate(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(String query, 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(String query, TaskMonitor monitor) throws Exception
Exceptionvoid executeUpdate(String query, FeatureCollection featureCollection, TaskMonitor monitor) throws Exception
Exceptionvoid close()
Copyright © 2015. All rights reserved.