|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmondrian.olap.QueryPart
mondrian.olap.ExpBase
mondrian.olap.Id
public class Id
Multi-part identifier. author jhyde, 21 January, 1999
| 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 |
|---|
explain, 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 Expclone in class ExpBasepublic int getCategory()
ExpCategory of the expression.
getCategory in interface Exppublic Type getType()
Exp
getType in interface Exppublic String toString()
toString in class Objectpublic 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 Expvalidator - Validator contains validation context
public Object accept(MdxVisitor visitor)
ExpMdxVisitor.visit(mondrian.olap.Query) method appropriate to the type of expression.
accept in interface Expvisitor - Visitorpublic void unparse(PrintWriter pw)
QueryPart
unparse in interface Expunparse in class QueryPartpw - writer
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||