|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.common.clients.fw.queries.StatefulQuery
public class StatefulQuery
A Query for stateful gCore services.
| Constructor Summary | |
|---|---|
StatefulQuery(Plugin<?,?> plugin)
Creates an instance with a given proxy Plugin. |
|
| Method Summary | |
|---|---|
StatefulQuery |
addCondition(String condition)
Adds a free-form condition on query results. |
StatefulQuery |
addNamespace(String prefix,
URI uri)
Adds a namespace to the query. |
StatefulQuery |
addVariable(String name,
String range)
Adds a variable to the query. |
boolean |
equals(Object obj)
|
List<EndpointReference> |
fire()
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public StatefulQuery(Plugin<?,?> plugin)
Plugin.
plugin - the plugin| Method Detail |
|---|
public StatefulQuery addVariable(String name,
String range)
name - the name of the variablerange - the range of the variable
SimpleQuery.addVariable(String, String)public StatefulQuery addCondition(String condition)
condition - the condition
SimpleQuery.addCondition(String)
public StatefulQuery addNamespace(String prefix,
URI uri)
prefix - the namespace prefixuri - the namespace URI
SimpleQuery.addNamespace(String, URI)
public List<EndpointReference> fire()
throws org.gcube.common.clients.exceptions.DiscoveryException
fire in interface org.gcube.common.clients.queries.Query<EndpointReference>org.gcube.common.clients.exceptions.DiscoveryExceptionpublic String toString()
toString in interface org.gcube.common.clients.queries.Query<EndpointReference>toString in class Objectpublic int hashCode()
hashCode in interface org.gcube.common.clients.queries.Query<EndpointReference>hashCode in class Objectpublic boolean equals(Object obj)
equals in interface org.gcube.common.clients.queries.Query<EndpointReference>equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||