01: package com.vividsolutions.jump.datastore;
02:
03: /**
04: * An ad-hoc {@link Query}against a {@link DataStoreConnection}. Uses the
05: * query language provided by the datastore (if any). May not be supported by
06: * all datastores.
07: */
08: public class AdhocQuery implements Query {
09: private String queryString;
10:
11: public AdhocQuery(String queryString) {
12: this .queryString = queryString;
13: }
14:
15: public String getQuery() {
16: return queryString;
17: }
18:
19: }
|