public class SimpleSelectQuery extends SimpleQueryWithSolutionModifier implements SelectQuery
| Constructor and Description |
|---|
SimpleSelectQuery() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelection(Variable var) |
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.
|
void |
setDistinct() |
void |
setReduced() |
void |
setSelectAll() |
String |
toString() |
addGroupCondition, addHavingCondition, addOrderCondition, getGroupConditions, getHavingConditions, getLimit, getOffset, getOrderConditions, setLimit, setOffsetaddDefaultGraph, addNamedGraph, getDataSet, getInlineData, getQueryPattern, setInlineData, setQueryPatternclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGroupConditions, getHavingConditions, getLimit, getOffset, getOrderConditionsgetDataSet, getInlineData, getQueryPatternpublic boolean isDistinct()
SelectQueryTests if this query should return distinct results.
isDistinct in interface SelectQuerytrue if the query should return distinct results.public boolean isReduced()
SelectQueryTests if this query should return reduced results.
isReduced in interface SelectQuerytrue if the query should return reduced results.public boolean isSelectAll()
SelectQueryTests if this query returns all its variables, and not a projected subset.
isSelectAll in interface SelectQuerytrue if the query should return all variables.public List<Variable> getSelection()
SelectQueryGets the list of Variables to project the solution to.
If SelectQuery.isSelectAll() returns true then
this list contains all the variables from the query.
getSelection in interface SelectQueryVariables to return from the query.public void setDistinct()
public void setReduced()
public void setSelectAll()
public void addSelection(Variable var)
public String toString()
toString in interface QuerytoString in class SimpleQueryCopyright © 2015–2022 The Apache Software Foundation. All rights reserved.