org.apache.clerezza.rdf.core.sparql.query
Interface DescribeQuery

All Superinterfaces:
Query, QueryWithSolutionModifier
All Known Implementing Classes:
SimpleDescribeQuery

public interface DescribeQuery
extends QueryWithSolutionModifier

This interface represents a SPARQL SELECT query.

Author:
hasan
See Also:
SPARQL Query Language: 10.4 DESCRIBE (Informative)

Method Summary
 List<ResourceOrVariable> getResourcesToDescribe()
          Gets the list of ResourceOrVariables to describe.
 boolean isDescribeAll()
          Tests if all variables in the query should be described.
 
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, toString
 

Method Detail

isDescribeAll

boolean isDescribeAll()

Tests if all variables in the query should be described.

Returns:
true if the query should return all variables.
See Also:
SPARQL Query Language: 10.4 DESCRIBE (Informative)

getResourcesToDescribe

List<ResourceOrVariable> getResourcesToDescribe()

Gets the list of ResourceOrVariables to describe. If isDescribeAll() returns true then this list contains all the variables from the query.

Returns:
A list of ResourceOrVariables to describe.
See Also:
SPARQL Query Language: 10.4 DESCRIBE (Informative)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.