Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Enum CombineOperator

extends Enum<CombineOperator>
Class Inheritance
Static Imports
org.jooq.impl.Keywords.K_MINUS

A combine operator is used to combine result sets of two arbitrary Select queries.
Author
Lukas Eder

Field Summary

Modifier and TypeField and Description
public static final CombineOperator
EXCEPT

Remove all rows in the set of rows produced by the second Select from the set of rows produced by the first Select (disallowing duplicate records).

public static final CombineOperator
EXCEPT_ALL

Remove all rows in the bag of rows produced by the second Select from the bag of rows produced by the first Select (allowing duplicate records).

public static final CombineOperator
INTERSECT

Retain all rows in the sets of rows produced by both Select's (disallowing duplicate records).

public static final CombineOperator
INTERSECT_ALL

Retain all rows in the bags of rows produced by both Select's (allowing duplicate records).

private final Keyword
private final Keyword
private final String
public static final CombineOperator
UNION

Unite the sets of rows produced by the two Select's (disallowing duplicate records).

public static final CombineOperator
UNION_ALL

Unite the bags of rows produced by the two Select's (allowing duplicate records).

Constructor Summary

AccessConstructor and Description
private
CombineOperator(String sql, boolean distinct)

Method Summary

Modifier and TypeMethod and Description
public final Keyword
public final String
toSQL(SQLDialect dialect)

public static CombineOperator
public static CombineOperator[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

EXCEPTback to summary
public static final CombineOperator EXCEPT

Remove all rows in the set of rows produced by the second Select from the set of rows produced by the first Select (disallowing duplicate records).

EXCEPT_ALLback to summary
public static final CombineOperator EXCEPT_ALL

Remove all rows in the bag of rows produced by the second Select from the bag of rows produced by the first Select (allowing duplicate records).

INTERSECTback to summary
public static final CombineOperator INTERSECT

Retain all rows in the sets of rows produced by both Select's (disallowing duplicate records).

INTERSECT_ALLback to summary
public static final CombineOperator INTERSECT_ALL

Retain all rows in the bags of rows produced by both Select's (allowing duplicate records).

keywordback to summary
private final Keyword keyword
keywordOptionalDistinctback to summary
private final Keyword keywordOptionalDistinct
sqlback to summary
private final String sql
UNIONback to summary
public static final CombineOperator UNION

Unite the sets of rows produced by the two Select's (disallowing duplicate records).

UNION_ALLback to summary
public static final CombineOperator UNION_ALL

Unite the bags of rows produced by the two Select's (allowing duplicate records).

Constructor Detail

CombineOperatorback to summary
private CombineOperator(String sql, boolean distinct)

Method Detail

toKeywordback to summary
public final Keyword toKeyword(SQLDialect dialect)
toSQLback to summary
public final String toSQL(SQLDialect dialect)
valueOfback to summary
public static CombineOperator valueOf(String name)
valuesback to summary
public static CombineOperator[] values()