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 intEXCEPTstatic intEXCEPT_ALLstatic intINTERSECTstatic intINTERSECT_ALLprotected intoperatorprotected Listsetsstatic intUNIONstatic intUNION_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 intgetOperator()ListgetSets()intgetType()INTERNAL: Returns the expression type.StringtoString()
-
-
-
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:SQLExpressionIFINTERNAL: Returns the expression type. The type is represented by one of the constants in theSQLExpressionIFinterface.- Specified by:
getTypein interfaceSQLExpressionIF
-
-