|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.Expression
oracle.olapi.syntax.TypedExpression
oracle.olapi.syntax.RowExpression
oracle.olapi.syntax.UnaryOperatorExpression
public final class UnaryOperatorExpression
A RowExpression that represents a unary operator and an operand.
| Field Summary | |
|---|---|
static java.lang.String |
MINUS
A constant that represents a negation operation. |
| Constructor Summary | |
|---|---|
UnaryOperatorExpression(java.lang.String operator,
TypedExpression baseExpression)
Creates a UnaryOperatorExpression that represents the
operation specified by the unary operator upon the base expression. |
|
| Method Summary | |
|---|---|
TypedExpression |
getBaseExpression()
Gets the base expression of this UnaryOperatorExpression. |
java.lang.String |
getOperator()
Gets the operator that is associated with this UnaryOperatorExpression. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
Calls the visitUnaryOperatorExpression method of the
SyntaxObjectVisitor and passes that method this
UnaryOperatorExpression and an Object. |
| Methods inherited from class oracle.olapi.syntax.RowExpression |
|---|
isCompositeObject |
| 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 |
| Field Detail |
|---|
public static final java.lang.String MINUS
| Constructor Detail |
|---|
public UnaryOperatorExpression(java.lang.String operator,
TypedExpression baseExpression)
UnaryOperatorExpression that represents the
operation specified by the unary operator upon the base expression.
operator - The constant of this class, which iss
UnaryOperatorExpression.MINUS.baseExpression - A TypedExpression upon which the unary
operator acts.| Method Detail |
|---|
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitUnaryOperatorExpression method of the
SyntaxObjectVisitor and passes that method this
UnaryOperatorExpression and an Object.
visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.
Object returned by the
visitUnaryOperatorExpression method.public java.lang.String getOperator()
UnaryOperatorExpression.
String that contains the operator of this
UnaryOperatorExpression.public TypedExpression getBaseExpression()
UnaryOperatorExpression.
String that contains the base expression of this
UnaryOperatorExpression.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||