org.gcube.common.core.informationsystem.client
Interface ISTemplateQuery<RESULT>

Type Parameters:
RESULT - the type of the query results.
All Superinterfaces:
ISQuery<RESULT>
All Known Subinterfaces:
GCUBECollectionQuery, GCUBECSInstanceQuery, GCUBECSQuery, GCUBEExternalRIQuery, GCUBEGenericResourceQuery, GCUBEGHNQuery, GCUBEMCollectionQuery, GCUBERIQuery, GCUBERuntimeResourceQuery, GCUBEServiceQuery, WSResourceQuery

public interface ISTemplateQuery<RESULT>
extends ISQuery<RESULT>

A specialisation of ISQuery for queries instantiated from fixed templates.

Author:
Fabio Simeoni (University of Strathclyde), Manuele Simi (CNR)

Method Summary
 void addAtomicConditions(AtomicCondition... conditions)
          Adds one or more atomic conditions on the result to the query.
 void addGenericCondition(String condition)
          Adds a free-form condition on each result to the query.
 void clearConditions()
          Clears all conditions on the query
 
Methods inherited from interface org.gcube.common.core.informationsystem.client.ISQuery
getExpression, getTTL, setExpression, setTTL
 

Method Detail

addAtomicConditions

void addAtomicConditions(AtomicCondition... conditions)
Adds one or more atomic conditions on the result to the query.

Parameters:
conditions - the conditions.

addGenericCondition

void addGenericCondition(String condition)
Adds a free-form condition on each result to the query. By convention, the $result should be used as the variable bound to the result.

Parameters:
condition - the condition.

clearConditions

void clearConditions()
Clears all conditions on the query



Copyright © 2013. All Rights Reserved.