| com.vividsolutions.jump.io.datasource.Connection
Connection | public interface Connection (Code) | | A channel of communication with a DataSource.
|
close | public void close()(Code) | | Ends the connection, performing any necessary cleanup.
|
executeQuery | public FeatureCollection executeQuery(String query, Collection exceptions, TaskMonitor monitor)(Code) | | Returns from a DataSource a dataset specified using a query string (the format
of which is implementation-dependent). Callers: be sure to call
DataSource#setCoordinateSystem on the returned FeatureCollection.
Parameters: query - identifies the dataset; may take the form of a SQL statement,a table name, null (if there is only one dataset), or other format Parameters: exceptions - a Collection to hold exceptions that occurred (so that processing can continue). null if a FeatureCollection could not be created because of a seriousproblem (indicated in the exceptions) |
executeQuery | public FeatureCollection executeQuery(String query, TaskMonitor monitor) throws Exception(Code) | | Returns from a DataSource a dataset specified using a query string (the format
of which is implementation-dependent). If an exception occurs, processing
is stopped and the exception thrown. Callers: be sure to call
DataSource#setCoordinateSystem on the returned FeatureCollection.
|
executeUpdate | public void executeUpdate(String query, FeatureCollection featureCollection, TaskMonitor monitor) throws Exception(Code) | | Modifies data in the DataSource accordinate to a query string (the format of
which is implementation-dependent).
|
|
|