|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.intermine.objectstore.query.Constraint
org.intermine.objectstore.query.SubqueryConstraint
public class SubqueryConstraint
Constrain a QueryClass or QueryEvaluable to be within the select list of a given subquery.
| Field Summary | |
|---|---|
protected QueryClass |
cls
|
protected QueryEvaluable |
qe
|
protected Query |
subquery
|
protected static java.util.List<ConstraintOp> |
VALID_OPS
|
| Fields inherited from class org.intermine.objectstore.query.Constraint |
|---|
op |
| Constructor Summary | |
|---|---|
SubqueryConstraint(QueryClass cls,
ConstraintOp op,
Query query)
Construct a SubqueryConstraint with a QueryClass |
|
SubqueryConstraint(QueryEvaluable qe,
ConstraintOp op,
Query query)
Construct a SubqueryConstraint with a QueryEvaluable |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Test whether two SubqueryConstraints are equal, overrides Object.equals() |
Query |
getQuery()
Get the query. |
QueryClass |
getQueryClass()
Get the QueryClass the query is compare with |
QueryEvaluable |
getQueryEvaluable()
Get the QueryEvaluable the query is compared with |
int |
hashCode()
Get the hashCode for this object overrides Object.hashCode() |
| Methods inherited from class org.intermine.objectstore.query.Constraint |
|---|
getOp, negate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Query subquery
protected QueryEvaluable qe
protected QueryClass cls
protected static final java.util.List<ConstraintOp> VALID_OPS
| Constructor Detail |
|---|
public SubqueryConstraint(QueryEvaluable qe,
ConstraintOp op,
Query query)
qe - item to match against subquery selectop - required op of constraintquery - the subquery in question
public SubqueryConstraint(QueryClass cls,
ConstraintOp op,
Query query)
cls - item to match against subquery selectop - required op of constraintquery - the subquery in question| Method Detail |
|---|
public Query getQuery()
public QueryEvaluable getQueryEvaluable()
public QueryClass getQueryClass()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object to compare with
public int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||