public interface QueryBuilder extends AbstractBuilder<QueryExpressionBody>
UNION, INTERSECT, or EXCEPT between the
SELECT statements.QueryExpressionBody,
QuerySpecification,
QuerySpecificationBuilder,
CorrespondingSpec| Modifier and Type | Method and Description |
|---|---|
QueryBuilder |
except(CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
EXCEPT <setQuantifier> <correspondingSpec> between current query and the given query. |
QueryBuilder |
except(QueryExpressionBody another)
Adds
EXCEPT <setQuantifier> between current query and the given query. |
QueryBuilder |
except(SetQuantifier setQuantifier,
CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
EXCEPT between current query and the given query. |
QueryBuilder |
except(SetQuantifier setQuantifier,
QueryExpressionBody another)
Adds
EXCEPT <correspondingSpec> between current query and the given query. |
QueryBuilder |
intersect(CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
INTERSECT <correspondingSpec> between current query and the given query. |
QueryBuilder |
intersect(QueryExpressionBody another)
Adds
INTERSECT between current query and the given query. |
QueryBuilder |
intersect(SetQuantifier setQuantifier,
CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
INTERSECT <setQuantifier> <correspondingSpec> between current query and the given query. |
QueryBuilder |
intersect(SetQuantifier setQuantifier,
QueryExpressionBody another)
Adds
INTERSECT <setQuantifier> between current query and the given query. |
QueryBuilder |
union(CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
UNION <correspondingSpec> between current query and the given query. |
QueryBuilder |
union(QueryExpressionBody another)
Adds
UNION between current query and the given query. |
QueryBuilder |
union(SetQuantifier setQuantifier,
CorrespondingSpec correspondingSpec,
QueryExpressionBody another)
Adds
UNION <setQuantifier> <correspondingSpec> between current query and the given query. |
QueryBuilder |
union(SetQuantifier setQuantifier,
QueryExpressionBody another)
Adds
UNION <setQuantifier> between current query and the given query. |
createExpressionQueryBuilder union(QueryExpressionBody another)
Adds UNION between current query and the given query. Then makes resulting query the current query.
This is equivalent on calling union(SetQuantifier, QueryExpressionBody) and giving
SetQuantifier.DISTINCT as first parameter.
another - The query to perform UNION with.QueryBuilder union(SetQuantifier setQuantifier, QueryExpressionBody another)
Adds UNION <setQuantifier> between current query and the given query. Then makes resulting query the
current query.
This is equivalent on calling union(SetQuantifier, CorrespondingSpec, QueryExpressionBody) and giving
null as second parameter.
setQuantifier - The set quantifier for this union.another - The query to perform UNION with.QueryBuilder union(CorrespondingSpec correspondingSpec, QueryExpressionBody another)
Adds UNION <correspondingSpec> between current query and the given query. Then makes resulting query the
current query.
This is equivalent on calling union(SetQuantifier, CorrespondingSpec, QueryExpressionBody) and giving
SetQuantifier.DISTINCT as first parameter.
correspondingSpec - The column correspondence specification.another - The query to perform UNION with.QueryBuilder union(SetQuantifier setQuantifier, CorrespondingSpec correspondingSpec, QueryExpressionBody another)
UNION <setQuantifier> <correspondingSpec> between current query and the given query. Then makes
resulting query the current query.setQuantifier - The set quantifier for this union.correspondingSpec - The column correspondence specification. May be null.another - The query to perform UNION with.QueryBuilder intersect(QueryExpressionBody another)
Adds INTERSECT between current query and the given query. Then makes resulting query the current query.
This is equivalent on calling intersect(SetQuantifier, QueryExpressionBody) and giving
SetQuantifier.DISTINCT as first parameter.
another - The query to perform INTERSECT with.QueryBuilder intersect(SetQuantifier setQuantifier, QueryExpressionBody another)
Adds INTERSECT <setQuantifier> between current query and the given query. Then makes resulting query the
current query.
This is equivalent on calling intersect(SetQuantifier, CorrespondingSpec, QueryExpressionBody) and
giving null as second parameter.
setQuantifier - The set quantifier for this union.another - The query to perform INTERSECT with.QueryBuilder intersect(CorrespondingSpec correspondingSpec, QueryExpressionBody another)
Adds INTERSECT <correspondingSpec> between current query and the given query. Then makes resulting query
the current query.
This is equivalent on calling intersect(SetQuantifier, CorrespondingSpec, QueryExpressionBody) and
giving SetQuantifier.DISTINCT as first parameter.
correspondingSpec - The column correspondence specification.another - The query to perform INTERSECT with.QueryBuilder intersect(SetQuantifier setQuantifier, CorrespondingSpec correspondingSpec, QueryExpressionBody another)
INTERSECT <setQuantifier> <correspondingSpec> between current query and the given query. Then makes
resulting query the current query.setQuantifier - The set quantifier for this union.correspondingSpec - The column correspondence specification. May be null.another - The query to perform INTERSECT with.QueryBuilder except(SetQuantifier setQuantifier, CorrespondingSpec correspondingSpec, QueryExpressionBody another)
Adds EXCEPT between current query and the given query. Then makes resulting query the current query.
This is equivalent on calling except(SetQuantifier, QueryExpressionBody) and giving
SetQuantifier.DISTINCT as first parameter.
another - The query to perform EXCEPT with.QueryBuilder except(QueryExpressionBody another)
Adds EXCEPT <setQuantifier> between current query and the given query. Then makes resulting query the
current query.
This is equivalent on calling except(SetQuantifier, CorrespondingSpec, QueryExpressionBody) and giving
null as second parameter.
setQuantifier - The set quantifier for this union.another - The query to perform EXCEPT with.QueryBuilder except(SetQuantifier setQuantifier, QueryExpressionBody another)
Adds EXCEPT <correspondingSpec> between current query and the given query. Then makes resulting query the
current query.
This is equivalent on calling except(SetQuantifier, CorrespondingSpec, QueryExpressionBody) and giving
SetQuantifier.DISTINCT as first parameter.
correspondingSpec - The column correspondence specification.another - The query to perform EXCEPT with.QueryBuilder except(CorrespondingSpec correspondingSpec, QueryExpressionBody another)
EXCEPT <setQuantifier> <correspondingSpec> between current query and the given query. Then makes
resulting query the current query.setQuantifier - The set quantifier for this union.correspondingSpec - The column correspondence specification. May be null.another - The query to perform EXCEPT with.Copyright © 2010-2012. All Rights Reserved.