01: package com.vividsolutions.jump.datastore;
02:
03: import com.vividsolutions.jump.io.FeatureInputStream;
04:
05: /**
06: * A connection to a datastore which can execute {@link Query}s.
07: */
08: public interface DataStoreConnection {
09: DataStoreMetadata getMetadata();
10:
11: FeatureInputStream execute(Query query);
12:
13: void close() throws DataStoreException;
14:
15: boolean isClosed() throws DataStoreException;
16:
17: }
|