|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.tonbeller.jpivot.olap.mdxparse.Literal
public class Literal
MDX parser Literal Expressions
Field Summary | |
---|---|
static Literal |
doubleOne
|
static Literal |
doubleZero
|
static Literal |
emptyString
|
static Literal |
one
|
int |
type
|
static int |
TYPE_NUMERIC
|
static int |
TYPE_STRING
|
static int |
TYPE_SYMBOL
|
static Literal |
zero
|
Method Summary | |
---|---|
void |
accept(ExpVisitor visitor)
Exp is visitable |
java.lang.Object |
clone()
Literal is immutable |
static Literal |
create(java.lang.Double d)
|
static Literal |
create(java.lang.Integer i)
|
static Literal |
createString(java.lang.String s)
|
static Literal |
createSymbol(java.lang.String s)
|
java.lang.Object |
getValueObject()
|
java.lang.String |
stringValue()
|
java.lang.String |
toMdx()
format to MDX |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int type
public static final Literal emptyString
public static final Literal zero
public static final Literal one
public static final Literal doubleZero
public static final Literal doubleOne
public static final int TYPE_SYMBOL
public static final int TYPE_STRING
public static final int TYPE_NUMERIC
Method Detail |
---|
public static Literal createString(java.lang.String s)
public static Literal createSymbol(java.lang.String s)
public static Literal create(java.lang.Double d)
public static Literal create(java.lang.Integer i)
public java.lang.String toMdx()
toMdx
in interface Exp
public java.lang.Object clone()
clone
in interface Exp
clone
in class java.lang.Object
Object.clone()
public java.lang.String stringValue()
public java.lang.Object getValueObject()
public void accept(ExpVisitor visitor)
Exp
accept
in interface Exp
Exp.accept(com.tonbeller.jpivot.olap.mdxparse.ExpVisitor)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |