Skip navigation links

Oracle® OLAP Java API Reference
11g Release 2 (11.2)

E10794-05


oracle.olapi.syntax
Class BaseQuery

java.lang.Object
  extended by oracle.olapi.syntax.SyntaxObject
      extended by oracle.olapi.syntax.DataObject
          extended by oracle.olapi.syntax.Query
              extended by oracle.olapi.syntax.BaseQuery


public final class BaseQuery
extends Query

A 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.


Method Summary
 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 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.

 

Methods inherited from class oracle.olapi.syntax.Query
isFullyDimensioned

 

Methods inherited from class oracle.olapi.syntax.SyntaxObject
equals, equals, fromSyntax, fromSyntax, fromSyntax, fromSyntax, fromSyntax, isValid, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax, toSyntax

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

visit

public 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.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitBaseQuery method.

getMdmQuery

public MdmQuery getMdmQuery()
Gets the MdmQuery that is associated with this BaseQuery.
Returns:
The MdmQuery of this BaseQuery.

getName

public java.lang.String getName()
Gets the name of the BaseQuery, which is the name of the MdmQuery that is associated with this BaseQuery.
Specified by:
getName in class Query
Returns:
A String that contains the name of the BaseQuery.

getColumnExpressions

public java.util.List<ColumnExpression> getColumnExpressions()
Gets the ColumnExpression objects that are associated with the BaseQuery.
Specified by:
getColumnExpressions in class Query
Returns:
A List of the ColumnExpression objects associated with the BaseQuery.

getColumnExpression

public ColumnExpression getColumnExpression(java.lang.String colName)
Gets the specified ColumnExpression of the BaseQuery..
Specified by:
getColumnExpression in class Query
Parameters:
colName - A String that contains the name of the column to get.
Returns:
The ColumnExpression with the specified name.

equals

public 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.
Overrides:
equals in class java.lang.Object
Parameters:
obj - A BaseQuery to compare to this BaseQuery.
Returns:
A boolean that is true if this BaseQuery has the same MdmQuery as the input BaseQuery or is false otherwise.

Skip navigation links

Copyright © 2002, 2010, Oracle. All rights reserved.