net.ontopia.persistence.query.sql
Class SQLSetOperation

java.lang.Object
  extended by net.ontopia.persistence.query.sql.SQLSetOperation
All Implemented Interfaces:
SQLExpressionIF

public class SQLSetOperation
extends java.lang.Object
implements SQLExpressionIF

INTERNAL: SQL set operation.


Field Summary
static int EXCEPT
           
static int EXCEPT_ALL
           
static int INTERSECT
           
static int INTERSECT_ALL
           
protected  int operator
           
protected  java.util.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
SQLSetOperation(java.util.List sets, int operator)
           
 
Method Summary
 int getOperator()
           
 java.util.List getSets()
           
 int getType()
          INTERNAL: Returns the expression type.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 java.util.List sets

operator

protected int operator
Constructor Detail

SQLSetOperation

public SQLSetOperation(java.util.List sets,
                       int operator)
Method Detail

getOperator

public int getOperator()

getSets

public java.util.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 the SQLExpressionIF interface.

Specified by:
getType in interface SQLExpressionIF

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2012 Ontopia.