|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object mondrian.olap.QueryPart mondrian.olap.ExpBase mondrian.olap.Id
public class Id
Multi-part identifier.
Nested Class Summary | |
---|---|
static class |
Id.Quoting
|
static class |
Id.Segment
Component in a compound identifier. |
Constructor Summary | |
---|---|
Id(Id.Segment segment)
Creates an identifier containing a single part. |
|
Id(List<Id.Segment> segments)
|
Method Summary | |
---|---|
Object |
accept(MdxVisitor visitor)
Accepts a visitor to this Exp. |
Exp |
accept(Validator validator)
Validates this expression. |
Id |
append(Id.Segment segment)
Returns a new Identifier consisting of this one with another segment appended. |
Id |
clone()
|
int |
getCategory()
Returns the Category of the expression. |
Id.Segment |
getElement(int i)
|
List<Id.Segment> |
getSegments()
|
Type |
getType()
Returns the type of this expression. |
String |
toString()
|
String[] |
toStringArray()
|
void |
unparse(PrintWriter pw)
Writes a string representation of this parse tree node to the given writer. |
Methods inherited from class mondrian.olap.ExpBase |
---|
accept, cloneArray, getTypes, unparseList |
Methods inherited from class mondrian.olap.QueryPart |
---|
getChildren |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Id(Id.Segment segment)
segment
- Segment, consisting of a name and quoting stylepublic Id(List<Id.Segment> segments)
Method Detail |
---|
public Id clone()
clone
in interface Exp
clone
in class ExpBase
public int getCategory()
Exp
Category
of the expression.
getCategory
in interface Exp
public Type getType()
Exp
getType
in interface Exp
public String toString()
toString
in class Object
public String[] toStringArray()
public List<Id.Segment> getSegments()
public Id.Segment getElement(int i)
public Id append(Id.Segment segment)
segment
- Name of segment
public Exp accept(Validator validator)
Exp
accept
in interface Exp
validator
- Validator contains validation context
public Object accept(MdxVisitor visitor)
Exp
MdxVisitor.visit(mondrian.olap.Query)
method appropriate to the type of expression.
accept
in interface Exp
visitor
- Visitorpublic void unparse(PrintWriter pw)
QueryPart
unparse
in interface Exp
unparse
in class QueryPart
pw
- writer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |