com.businessobjects.rebean.wi
Class CombinedQueryOperator

java.lang.Object
  extended by com.businessobjects.rebean.wi.CombinedQueryOperator
All Implemented Interfaces:
java.io.Serializable

public final class CombinedQueryOperator
extends java.lang.Object
implements java.io.Serializable

Warning: This class is no longer functional from the SAP BusinessObjects 4.0 release onwards.

The CombinedQueryOperator class contains all possible operators used for combining queries.

Since:
11.5
See Also:
DataProvider, Serialized Form

Field Summary
static int _INTERSECT
          The int value of INTERSECT.value().
static int _MINUS
          int value of MINUS.value().
static int _UNION
          The int value of UNION.value().
static CombinedQueryOperator INTERSECT
          Intersect set operator.
static CombinedQueryOperator MINUS
          Minus set operator.
static CombinedQueryOperator UNION
          Union set operator.
 
Method Summary
static CombinedQueryOperator fromInt(int value)
          Returns a CombinedQueryOperator instance corresponding to a given value.
 java.lang.String toString()
          Returns a String representation of object.
 int value()
          Returns the int value of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_UNION

public static final int _UNION
The int value of UNION.value().

See Also:
Constant Field Values

_INTERSECT

public static final int _INTERSECT
The int value of INTERSECT.value().

See Also:
Constant Field Values

_MINUS

public static final int _MINUS
int value of MINUS.value().

See Also:
Constant Field Values

UNION

public static final CombinedQueryOperator UNION
Union set operator. A union of queries will return the set of all results included in the Query objects that have been combined.


INTERSECT

public static final CombinedQueryOperator INTERSECT
Intersect set operator. An intersection of queries will returns set of all results common to the Query objects that have been combined.


MINUS

public static final CombinedQueryOperator MINUS
Minus set operator. A minus set operator applied to combined queries returns the following. The set of results in a first Query that are not present in the Query to which it has been combined.

Method Detail

value

public int value()
Returns the int value of this object.

Returns:
the int value of this object.

toString

public java.lang.String toString()
Returns a String representation of object. This function is to be used for debug purposes.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of object

fromInt

public static CombinedQueryOperator fromInt(int value)
Returns a CombinedQueryOperator instance corresponding to a given value.

Returns:
an CombinedQueryOperator instance corresponding to value, or null when value does not correspond to any CombinedQueryOperator.