Skip navigation links
oracle.olapi.syntax
Class ValueComparisonCondition
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.Expression
oracle.olapi.syntax.Condition
oracle.olapi.syntax.ComparisonCondition
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.
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.SyntaxObject |
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
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