public class PostgisDSConnection extends java.lang.Object implements DataStoreConnection
Constructor and Description |
---|
PostgisDSConnection(java.sql.Connection conn) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
FeatureInputStream |
execute(Query query) |
FeatureInputStream |
executeAdhocQuery(AdhocQuery query) |
FeatureInputStream |
executeFilterQuery(FilterQuery query)
Executes a filter query.
|
java.sql.Connection |
getConnection() |
DataStoreMetadata |
getMetadata() |
boolean |
isClosed() |
public java.sql.Connection getConnection()
public DataStoreMetadata getMetadata()
getMetadata
in interface DataStoreConnection
public FeatureInputStream execute(Query query) throws java.lang.Exception
execute
in interface DataStoreConnection
java.lang.Exception
public FeatureInputStream executeFilterQuery(FilterQuery query) throws java.sql.SQLException
query
- the query to executejava.sql.SQLException
public FeatureInputStream executeAdhocQuery(AdhocQuery query) throws java.lang.Exception
java.lang.Exception
public void close() throws DataStoreException
close
in interface DataStoreConnection
DataStoreException
public boolean isClosed() throws DataStoreException
isClosed
in interface DataStoreConnection
DataStoreException