|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SimpleQuery
A Query that can be customised with namespace declarations, conditions on results, and result expressions.
| Method Summary | |
|---|---|
SimpleQuery |
addCondition(String condition)
Adds a free-form condition on query results. |
SimpleQuery |
addNamespace(String prefix,
URI uri)
Adds a namespace to the query. |
SimpleQuery |
addVariable(String name,
String range)
Adds a variable to the query. |
SimpleQuery |
setResult(String expression)
Adds a result expression to the query. |
| Methods inherited from interface org.gcube.resources.discovery.client.queries.api.Query |
|---|
expression |
| Method Detail |
|---|
SimpleQuery addVariable(String name,
String range)
name - the name of the variablerange - the range of the variable
SimpleQuery addCondition(String condition)
condition - the condition
SimpleQuery addNamespace(String prefix,
URI uri)
prefix - the namespace prefixuri - the namespace URI
SimpleQuery setResult(String expression)
expression - the result expression
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||