Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-01


oracle.olapi.syntax
Class ValueComparisonCondition

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
                      extended by oracle.olapi.syntax.ValueComparisonCondition

All Implemented Interfaces:
FunctionArgument

public final class ValueComparisonCondition
extends ComparisonCondition

A ComparisonCondition that represents a simple comparison condition, which compares one expression to another expression.


Field Summary

 

Fields inherited from class oracle.olapi.syntax.ComparisonCondition
EQ, GE, GT, LE, LT, NE, NE2, NE3

 

Constructor Summary
ValueComparisonCondition(TypedExpression lhsArgument, java.lang.String operator, TypedExpression rhsArgument)
          Creates a new ValueComparisonCondition that has the specified left-hand-side and right-hand-side argument expressions and operator.

 

Method Summary
 TypedExpression getRhsArgument()
          Gets the expression that is the right-hand-side argument of this ValueComprisonCondition.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitValueComparisonCondition method of the SyntaxObjectVisitor and passes that method this ValueComparisonCondition and an Object.

 

Methods inherited from class oracle.olapi.syntax.ComparisonCondition
getLhsArgument, getOperator

 

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

 

Methods inherited from class oracle.olapi.syntax.Expression
getSource

 

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

 

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

 

Constructor Detail

ValueComparisonCondition

public ValueComparisonCondition(TypedExpression lhsArgument,
                                java.lang.String operator,
                                TypedExpression rhsArgument)
Creates a new ValueComparisonCondition that has the specified left-hand-side and right-hand-side argument expressions and operator.
Parameters:
lhsArgument - The TypedExpression to use as the left-hand-side argument.
operator - The operator to use, which can be any of the ComparisonCondition constants.
rhsArgument - The TypedExpression to use as the right-hand-side argument.

Method Detail

visit

public java.lang.Object visit(SyntaxObjectVisitor visitor,
                              java.lang.Object context)
Calls the visitValueComparisonCondition method of the SyntaxObjectVisitor and passes that method this ValueComparisonCondition and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitValueComparisonCondition method.

getRhsArgument

public TypedExpression getRhsArgument()
Gets the expression that is the right-hand-side argument of this ValueComprisonCondition.
Returns:
A TypedExpression that is the right-hand-side argument of this ValueComprisonCondition.

Skip navigation links

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