Package org.intermine.objectstore.query
Interface Queryable
-
- All Known Implementing Classes:
Query
,QueryCollectionPathExpression
,QueryObjectPathExpression
public interface Queryable
An interface for an object that has a SELECT list and a WHERE clause, like a Query.- Author:
- Matthew Wakeling
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addToSelect(QuerySelectable selectable)
Adds an element to the SELECT list.Constraint
getConstraint()
Returns the additional constraint.java.util.List<QuerySelectable>
getSelect()
Returns the SELECT list.void
setConstraint(Constraint c)
Sets the additional constraint.
-
-
-
Method Detail
-
addToSelect
void addToSelect(QuerySelectable selectable)
Adds an element to the SELECT list.- Parameters:
selectable
- a QuerySelectable
-
getSelect
java.util.List<QuerySelectable> getSelect()
Returns the SELECT list.- Returns:
- a List
-
setConstraint
void setConstraint(Constraint c)
Sets the additional constraint.- Parameters:
c
- a Constraint
-
getConstraint
Constraint getConstraint()
Returns the additional constraint.- Returns:
- a Constraint
-
-