com.clarkparsia.pellet.api.query
Interface Query<ReturnType>

All Known Subinterfaces:
AskQuery, ConstructQuery, DescribeQuery, SelectQuery

public interface Query<ReturnType>

Represents common features of a query.

Author:
Evren Sirin

Method Summary
 QueryAtom getBody()
          Returns the (possibly complex) query atom for this query.
 java.util.Set<Variable> getVariables()
          Returns an unmodifiable set containing all the variables mentioned in the query.
 void setBody(QueryAtom body)
          Sets the body of this query
 

Method Detail

getBody

QueryAtom getBody()
Returns the (possibly complex) query atom for this query.


getVariables

java.util.Set<Variable> getVariables()
Returns an unmodifiable set containing all the variables mentioned in the query.


setBody

void setBody(QueryAtom body)
Sets the body of this query



Copyright 2010 Clark & Parsia, LLC. All Rights Reserved.