Modifier and Type | Class and Description |
---|---|
static class |
Id.KeySegment
Identifier segment representing a key, possibly composite.
|
static class |
Id.NameSegment
Component in a compound identifier that describes the name of an object.
|
static class |
Id.Quoting |
static class |
Id.Segment
Component in a compound identifier.
|
Constructor and Description |
---|
Id(Id.Segment segment)
Creates an identifier containing a single part.
|
Id(List<Id.Segment> segments) |
Modifier and Type | Method and Description |
---|---|
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.
|
accept, cloneArray, getTypes, unparseList
explain, getChildren
public Id(Id.Segment segment)
segment
- Segment, consisting of a name and quoting stylepublic Id(List<Id.Segment> segments)
public int getCategory()
Exp
Category
of the expression.getCategory
in interface Exp
public Type getType()
Exp
public String[] toStringArray()
public List<Id.Segment> getSegments()
public Id.Segment getElement(int i)
public Id append(Id.Segment segment)
segment
- Name of segmentpublic Exp accept(Validator validator)
Exp
public Object accept(MdxVisitor visitor)
Exp
MdxVisitor.visit(mondrian.olap.Query)
method appropriate to the type of expression.Copyright © 2019 Hitachi Vantara. All rights reserved.