com.clarkparsia.pellet.api.query
Interface SelectQuery

All Superinterfaces:
Query<ResultSet>

public interface SelectQuery
extends Query<ResultSet>

Represents a select query.

Author:
Evren Sirin

Method Summary
 void addOrderBy(OrderCondition condition)
           
 void addSelectVar(Variable var)
           
 int getLimit()
           
 int getOffset()
           
 java.util.Collection<OrderCondition> getOrderBy()
           
 java.util.Set<Variable> getSelectVariables()
          Returns all the variables mentioned in the query.
 boolean isDistinct()
           
 boolean isSelectAll()
           
 void removeSelectVar(Variable var)
           
 void setDistinct(boolean distinct)
           
 void setLimit(int offset)
           
 void setOffset(int offset)
           
 void setSelectAll(boolean distinct)
           
 
Methods inherited from interface com.clarkparsia.pellet.api.query.Query
getBody, getVariables, setBody
 

Method Detail

getSelectVariables

java.util.Set<Variable> getSelectVariables()
Returns all the variables mentioned in the query.

Returns:
Unmodifiable set of variables.

addSelectVar

void addSelectVar(Variable var)

removeSelectVar

void removeSelectVar(Variable var)

isSelectAll

boolean isSelectAll()

setSelectAll

void setSelectAll(boolean distinct)

isDistinct

boolean isDistinct()

setDistinct

void setDistinct(boolean distinct)

getLimit

int getLimit()

setLimit

void setLimit(int offset)

getOffset

int getOffset()

setOffset

void setOffset(int offset)

getOrderBy

java.util.Collection<OrderCondition> getOrderBy()

addOrderBy

void addOrderBy(OrderCondition condition)


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