org.gcube.common.core.informationsystem.client.queries
Interface GCUBEGenericQuery

All Superinterfaces:
ISQuery<XMLResult>

public interface GCUBEGenericQuery
extends ISQuery<XMLResult>

A specialisation of ISQuery to free-form queries. Such queries are unconstrained in their expression but are expected to produce results in some XML serialisation. Furthermore, the queries may be parametric, i.e. necessitate one or more ISQueryParameters to be fully defined. Parametric queries may be introduced by client applications, but they are more commonly pre-defined by implementations of the ISClient interface and then instantiated and used within client applications (see ISClient.getQuery(String)). In any case, the documentation of query parameters is outside the scope of this interface.

Author:
Fabio Simeoni (University of Strathclyde)

Method Summary
 void addParameters(QueryParameter... parameters)
          Adds one or more QueryParameters to the query.
 
Methods inherited from interface org.gcube.common.core.informationsystem.client.ISQuery
getExpression, getTTL, setExpression, setTTL
 

Method Detail

addParameters

void addParameters(QueryParameter... parameters)
Adds one or more QueryParameters to the query.

Parameters:
parameters - the parameters.


Copyright © 2012. All Rights Reserved.