public final class BaseQuery extends Query
Query
for an object that implements the MdmQuery
interface, such as an MdmCube
or an MdmPrimaryDimension
. To get a BaseQuery
, an application calls the getQuery
method of the MdmQuery
.Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether this
BaseQuery is the same as the specified BaseQuery , which is true if both BaseQuery objects are associated with the same MdmQuery . |
ColumnExpression |
getColumnExpression(java.lang.String colName)
Gets the specified
ColumnExpression of the BaseQuery .. |
java.util.List<ColumnExpression> |
getColumnExpressions()
Gets the
ColumnExpression objects that are associated with the BaseQuery . |
MdmQuery |
getMdmQuery()
Gets the
MdmQuery that is associated with this BaseQuery . |
java.lang.String |
getMdmQueryID()
Gets the ID of the
MdmQuery that is associated with this BaseQuery . |
java.lang.String |
getName()
Gets the name of the
BaseQuery , which is the name of the MdmQuery that is associated with this BaseQuery . |
java.lang.Object |
visit(SyntaxObjectVisitor visitor, java.lang.Object context)
Calls the
visitBaseQuery method of the SyntaxObjectVisitor and passes that method this BaseQuery and an Object . |
isFullyDimensioned
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax
public java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
visitBaseQuery
method of the SyntaxObjectVisitor
and passes that method this BaseQuery
and an Object
.visit
in class SyntaxObject
visitor
- A SyntaxObjectVisitor
.context
- An Object
.Object
returned by the visitBaseQuery
method.public MdmQuery getMdmQuery()
MdmQuery
that is associated with this BaseQuery
.MdmQuery
of this BaseQuery
.public java.lang.String getMdmQueryID()
MdmQuery
that is associated with this BaseQuery
.String
that contains the ID of the MdmQuery
of this BaseQuery
.public java.lang.String getName()
BaseQuery
, which is the name of the MdmQuery
that is associated with this BaseQuery
.public java.util.List<ColumnExpression> getColumnExpressions()
ColumnExpression
objects that are associated with the BaseQuery
.getColumnExpressions
in class Query
List
of the ColumnExpression
objects associated with the BaseQuery
.public ColumnExpression getColumnExpression(java.lang.String colName)
ColumnExpression
of the BaseQuery
..getColumnExpression
in class Query
colName
- A String
that contains the name of the column to get.ColumnExpression
with the specified name.public boolean equals(java.lang.Object obj)
BaseQuery
is the same as the specified BaseQuery
, which is true if both BaseQuery
objects are associated with the same MdmQuery
.equals
in class java.lang.Object
obj
- A BaseQuery
to compare to this BaseQuery
.boolean
that is true
if this BaseQuery
has the same MdmQuery
as the input BaseQuery
or is false
otherwise.