Interface SimpleQuery
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SimpleQueryaddCondition(String condition)Adds a free-form condition on query results.SimpleQueryaddNamespace(String prefix, URI uri)Adds a namespace to the query.SimpleQueryaddVariable(String name, String range)Adds a variable to the query.SimpleQuerysetResult(String expression)Adds a result expression to the query.-
Methods inherited from interface org.gcube.resources.discovery.client.queries.api.Query
expression
-
-
-
-
Method Detail
-
addVariable
SimpleQuery addVariable(String name, String range)
Adds a variable to the query.- Parameters:
name- the name of the variablerange- the range of the variable- Returns:
- the query
-
addCondition
SimpleQuery addCondition(String condition)
Adds a free-form condition on query results.- Parameters:
condition- the condition- Returns:
- the query
-
addNamespace
SimpleQuery addNamespace(String prefix, URI uri)
Adds a namespace to the query.- Parameters:
prefix- the namespace prefixuri- the namespace URI- Returns:
- the query
-
setResult
SimpleQuery setResult(String expression)
Adds a result expression to the query.- Parameters:
expression- the result expression- Returns:
- the query
-
-