|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.clerezza.rdf.core.sparql.query.impl.SimpleQuery
org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQueryWithSolutionModifier
org.apache.clerezza.rdf.core.sparql.query.impl.SimpleSelectQuery
public class SimpleSelectQuery
| Constructor Summary | |
|---|---|
SimpleSelectQuery()
|
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQueryWithSolutionModifier |
|---|
addOrderCondition, getLimit, getOffset, getOrderConditions, setLimit, setOffset |
| Methods inherited from class org.apache.clerezza.rdf.core.sparql.query.impl.SimpleQuery |
|---|
addDefaultGraph, addNamedGraph, getDataSet, getQueryPattern, setQueryPattern |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.clerezza.rdf.core.sparql.query.QueryWithSolutionModifier |
|---|
getLimit, getOffset, getOrderConditions |
| Methods inherited from interface org.apache.clerezza.rdf.core.sparql.query.Query |
|---|
getDataSet, getQueryPattern |
| Constructor Detail |
|---|
public SimpleSelectQuery()
| Method Detail |
|---|
public 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 SimpleQuery
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||