|
Oracle® OLAP Java API Reference 12c Release 1 (12.1) E17708-05 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.Expression
oracle.olapi.syntax.TypedExpression
oracle.olapi.syntax.LiteralExpression
oracle.olapi.syntax.NumberExpression
public final class NumberExpression
A LiteralExpression that represents a number.
| Constructor Summary | |
|---|---|
NumberExpression(double value)Creates a NumberExpression with the specified double value. |
|
NumberExpression(float value)Creates a NumberExpression with the specified float value. |
|
NumberExpression(int value)Creates a NumberExpression with the specified integer value. |
|
NumberExpression(long value)Creates a NumberExpression with the specified long value. |
|
NumberExpression(java.lang.Number value)Creates a NumberExpression with the specified Number value. |
|
NumberExpression(short value)Creates a NumberExpression with the specified short value. |
|
| Method Summary | |
|---|---|
java.lang.Number |
getValue()Gets the value of this NumberExpression. |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)Calls the visitNumberExpression method of the SyntaxObjectVisitor and passes that method this NumberExpression 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 |
| Constructor Detail |
|---|
public NumberExpression(java.lang.Number value)
NumberExpression with the specified Number value.
value - The Number value for this expression.public NumberExpression(int value)
NumberExpression with the specified integer value.
value - The int value for this expression.public NumberExpression(double value)
NumberExpression with the specified double value.
value - The double value for this expression.public NumberExpression(float value)
NumberExpression with the specified float value.
value - The float value for this expression.public NumberExpression(short value)
NumberExpression with the specified short value.
value - The short value for this expression.public NumberExpression(long value)
NumberExpression with the specified long value.
value - The long value for this expression.| Method Detail |
|---|
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitNumberExpression method of the SyntaxObjectVisitor and passes that method this NumberExpression and an Object.visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.Object returned by the visitNumberExpression method.public java.lang.Number getValue()
NumberExpression.Number that contains the value of this NumberExpression.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||