Class SQLSetOperation
- java.lang.Object
-
- net.ontopia.persistence.query.sql.SQLSetOperation
-
- All Implemented Interfaces:
SQLExpressionIF
public class SQLSetOperation extends Object implements SQLExpressionIF
INTERNAL: SQL set operation.
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXCEPT
static int
EXCEPT_ALL
static int
INTERSECT
static int
INTERSECT_ALL
protected int
operator
protected List
sets
static int
UNION
static int
UNION_ALL
-
Fields inherited from interface net.ontopia.persistence.query.sql.SQLExpressionIF
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM
-
-
Constructor Summary
Constructors Constructor Description SQLSetOperation(List sets, int operator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getOperator()
List
getSets()
int
getType()
INTERNAL: Returns the expression type.String
toString()
-
-
-
Field Detail
-
UNION
public static final int UNION
- See Also:
- Constant Field Values
-
UNION_ALL
public static final int UNION_ALL
- See Also:
- Constant Field Values
-
INTERSECT
public static final int INTERSECT
- See Also:
- Constant Field Values
-
INTERSECT_ALL
public static final int INTERSECT_ALL
- See Also:
- Constant Field Values
-
EXCEPT
public static final int EXCEPT
- See Also:
- Constant Field Values
-
EXCEPT_ALL
public static final int EXCEPT_ALL
- See Also:
- Constant Field Values
-
sets
protected List sets
-
operator
protected int operator
-
-
Constructor Detail
-
SQLSetOperation
public SQLSetOperation(List sets, int operator)
-
-
Method Detail
-
getOperator
public int getOperator()
-
getSets
public List getSets()
-
getType
public int getType()
Description copied from interface:SQLExpressionIF
INTERNAL: Returns the expression type. The type is represented by one of the constants in theSQLExpressionIF
interface.- Specified by:
getType
in interfaceSQLExpressionIF
-
-