public interface QuerySet extends Query, IQuerySource
QuerySet
class represents set of queries and each pair of queries are bound by
the set operator.Modifier and Type | Field and Description |
---|---|
static int |
AR_SET_OPERATOR_INTERSECT
Constants#AR_SET_OPERATOR_INTERSECT
returns results which are common in the queries |
static int |
AR_SET_OPERATOR_MAX |
static int |
AR_SET_OPERATOR_MINUS
Constants#AR_SET_OPERATOR_MINUS
returns all results in one query that are not found
in the other query |
static int |
AR_SET_OPERATOR_UNION
Constants#AR_SET_OPERATOR_UNION
combines the results from the queries and return distinct result. |
static int |
AR_SET_OPERATOR_UNION_ALL
Constants#AR_SET_OPERATOR_UNION
combines the results from the queries and return duplicates as well. |
AR_MULTI_SCHEMA_JOIN_INNER, AR_MULTI_SCHEMA_JOIN_LEFT, AR_MULTI_SCHEMA_JOIN_NONE, AR_MULTI_SCHEMA_JOIN_RIGHT
Modifier and Type | Method and Description |
---|---|
Query |
getLeftQuery()
Gets the left query
|
Query |
getRightQuery()
Gets the right query
|
int |
getSetOperator()
Gets the set operator
|
void |
setLeftQuery(Query query)
Sets the left query
|
void |
setRightQuery(Query Query)
Sets the right query
|
void |
setSetOperator(int setOperator)
Sets the set operator
|
clone, getAlias, getJoinedWith, getJoinQualifier, getJoinType, setJoinedWith, setJoinQualifier, setJoinType, toStringShort
static final int AR_SET_OPERATOR_UNION
Constants#AR_SET_OPERATOR_UNION
combines the results from the queries and return distinct result.static final int AR_SET_OPERATOR_UNION_ALL
Constants#AR_SET_OPERATOR_UNION
combines the results from the queries and return duplicates as well.static final int AR_SET_OPERATOR_INTERSECT
Constants#AR_SET_OPERATOR_INTERSECT
returns results which are common in the queriesstatic final int AR_SET_OPERATOR_MINUS
Constants#AR_SET_OPERATOR_MINUS
returns all results in one query that are not found
in the other querystatic final int AR_SET_OPERATOR_MAX
Query getLeftQuery()
void setLeftQuery(Query query)
query
- Query getRightQuery()
void setRightQuery(Query Query)
query
- int getSetOperator()
void setSetOperator(int setOperator)
setOperator
- ? Copyright 2013 BMC Software, Inc.