public class SetOperation extends Operation
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
static int | 
BETWEEN  | 
static int | 
EQUALS_ANY  | 
static int | 
IN  | 
static int | 
INTERSECT  | 
static int | 
MINUS  | 
static int | 
NOT_BETWEEN  | 
static int | 
NOT_IN  | 
static int | 
UNION  | 
static int | 
UNION_ALL  | 
COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, NEWLINE, SPACE| Constructor and Description | 
|---|
SetOperation()  | 
SetOperation(int operator, SQLFragment[] args)  | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getOperator()  | 
protected java.lang.String | 
getOperatorText()  | 
static int | 
getSetOperation(java.lang.String operation)
Returns the set operation for a given string. 
 | 
static java.lang.String | 
getSetOperator(int operator)  | 
java.lang.String | 
getSQLText()
Returns the complete SQL representation for this Function fragment. 
 | 
static boolean | 
isSetOperator(int operator)
Returns true if the given operator is a set operator supported by this function (BETWEEN, IN or their negative counterparts). 
 | 
void | 
setOperator(int operator)  | 
addArgument, addArgument, addArguments, checkArgument, checkNewSize, copyToImpl, equalsImpl, getArgumentCount, getArguments, getDistinctText, getSeparator, removeArgument, setArguments, setCommutative, setFunctionFormat, setSeparatorappendToBuffer, argsToString, getStartOffset, getTextOrNull, getTextOrNull, getType, setStartOffset, surroundWithBrackets, surroundWithBrackets, toStringsetParentcheckInit, checkInit, fireObjectUpdated, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitializationaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, firePropertyChanged, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getReferenceIDs, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setNamegetProperty, getProperty, setProperties, setPropertypublic static final int BETWEEN
public static final int NOT_BETWEEN
public static final int IN
public static final int EQUALS_ANY
public static final int NOT_IN
public static final int INTERSECT
public static final int UNION
public static final int MINUS
public static final int UNION_ALL
public SetOperation()
public SetOperation(int operator,
            SQLFragment[] args)
public void setOperator(int operator)
public int getOperator()
protected java.lang.String getOperatorText()
getOperatorText in class Operationpublic java.lang.String getSQLText()
OperationgetSQLText in interface SQLFragmentgetSQLText in class Operationpublic static int getSetOperation(java.lang.String operation)
public static boolean isSetOperator(int operator)
public static java.lang.String getSetOperator(int operator)