public class SimpleDescribeQuery extends SimpleQueryWithSolutionModifier implements DescribeQuery
Constructor and Description |
---|
SimpleDescribeQuery() |
Modifier and Type | Method and Description |
---|---|
void |
addResourceToDescribe(ResourceOrVariable node) |
List<ResourceOrVariable> |
getResourcesToDescribe()
Gets the list of
ResourceOrVariable s to describe. |
boolean |
isDescribeAll()
Tests if all variables in the query should be described.
|
void |
setDescribeAll() |
String |
toString() |
addGroupCondition, addHavingCondition, addOrderCondition, getGroupConditions, getHavingConditions, getLimit, getOffset, getOrderConditions, setLimit, setOffset
addDefaultGraph, addNamedGraph, getDataSet, getInlineData, getQueryPattern, setInlineData, setQueryPattern
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getGroupConditions, getHavingConditions, getLimit, getOffset, getOrderConditions
getDataSet, getInlineData, getQueryPattern
public boolean isDescribeAll()
DescribeQuery
Tests if all variables in the query should be described.
isDescribeAll
in interface DescribeQuery
true
if the query should return all variables.public List<ResourceOrVariable> getResourcesToDescribe()
DescribeQuery
Gets the list of ResourceOrVariable
s to describe.
If DescribeQuery.isDescribeAll()
returns true
then
this list contains all the variables from the query.
getResourcesToDescribe
in interface DescribeQuery
ResourceOrVariable
s to describe.public void setDescribeAll()
public void addResourceToDescribe(ResourceOrVariable node)
public String toString()
toString
in interface Query
toString
in class SimpleQuery
Copyright © 2015–2022 The Apache Software Foundation. All rights reserved.