public interface SelectQuery extends QueryWithSolutionModifier
This interface represents a SPARQL SELECT query.
| Modifier and Type | Method and Description |
|---|---|
List<Variable> |
getSelection()
Gets the list of
Variables to project the solution to. |
boolean |
isDistinct()
Tests if this query should return distinct results.
|
boolean |
isReduced()
Tests if this query should return reduced results.
|
boolean |
isSelectAll()
Tests if this query returns all its variables, and not a projected subset.
|
getGroupConditions, getHavingConditions, getLimit, getOffset, getOrderConditionsgetDataSet, getInlineData, getQueryPattern, toStringboolean isDistinct()
Tests if this query should return distinct results.
true if the query should return distinct results.boolean isReduced()
Tests if this query should return reduced results.
true if the query should return reduced results.boolean isSelectAll()
Tests if this query returns all its variables, and not a projected subset.
true if the query should return all variables.List<Variable> getSelection()
Gets the list of Variables to project the solution to.
If isSelectAll() returns true then
this list contains all the variables from the query.
Variables to return from the query.Copyright © 2015–2022 The Apache Software Foundation. All rights reserved.