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
Variable s 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, getOrderConditions
getDataSet, getInlineData, getQueryPattern, toString
boolean 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 Variable
s to project the solution to.
If isSelectAll()
returns true
then
this list contains all the variables from the query.
Variable
s to return from the query.Copyright © 2015–2022 The Apache Software Foundation. All rights reserved.