Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-06


oracle.olapi.syntax
Class ComparisonCondition

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.DataObject
          extended by oracle.olapi.syntax.Expression
              extended by oracle.olapi.syntax.Condition
                  extended by oracle.olapi.syntax.ComparisonCondition

All Implemented Interfaces:
FunctionArgument
Direct Known Subclasses:
ListComparisonCondition, ValueComparisonCondition

public abstract class ComparisonCondition
extends Condition

An abstract base class for a Condition that represents a comparison condition, which compares one expression to another expression or to a list of expressions. A ComparisonCondition evaluates to true, false, or null.


Field Summary
static java.lang.String EQ
          A constant for the equal-to operator.
static java.lang.String GE
          A constant for the greater-than-or-equal-to operator.
static java.lang.String GT
          A constant for the greater-than operator.
static java.lang.String LE
          A constant for the less-than-or-equal-to operator.
static java.lang.String LT
          A constant for the less-than operator.
static java.lang.String NE
          A constant for the not-equals operator.
static java.lang.String NE2
          A constant for the less-than-or-greater-than operator.
static java.lang.String NE3
          A constant for the carot-equals operator.

 

Method Summary
 TypedExpression getLhsArgument()
          Gets the expression that is the left-hand-side argument of this ComprisonCondition.
 java.lang.String getOperator()
          Gets the operator for this ComparisonCondition.

 

Methods inherited from class oracle.olapi.syntax.Condition
and, isCompositeObject, not, or

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, visit

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

LT

public static final java.lang.String LT
A constant for the less-than operator.
See Also:
Constant Field Values

LE

public static final java.lang.String LE
A constant for the less-than-or-equal-to operator.
See Also:
Constant Field Values

GT

public static final java.lang.String GT
A constant for the greater-than operator.
See Also:
Constant Field Values

GE

public static final java.lang.String GE
A constant for the greater-than-or-equal-to operator.
See Also:
Constant Field Values

EQ

public static final java.lang.String EQ
A constant for the equal-to operator.
See Also:
Constant Field Values

NE

public static final java.lang.String NE
A constant for the not-equals operator.
See Also:
Constant Field Values

NE2

public static final java.lang.String NE2
A constant for the less-than-or-greater-than operator.
See Also:
Constant Field Values

NE3

public static final java.lang.String NE3
A constant for the carot-equals operator.
See Also:
Constant Field Values

Method Detail

getOperator

public java.lang.String getOperator()
Gets the operator for this ComparisonCondition. The constant fields of this class, such as LT and EQ, represent the operators.
Returns:
A String that contains the operator for this ComparisonCondition.

getLhsArgument

public TypedExpression getLhsArgument()
Gets the expression that is the left-hand-side argument of this ComprisonCondition.
Returns:
A TypedExpression that is the left-hand-side argument of this ComprisonCondition.

Skip navigation links

Copyright © 2002, 2010, Oracle. All rights reserved.