Skip navigation links

Oracle® OLAP Java API Reference
11g Release 1 (11.1)

B28128-01


oracle.olapi.syntax
Class Query

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

Direct Known Subclasses:
BaseQuery, UnresolvedQuery

public abstract class Query
extends DataObject

A DataObject that represents a multi-row, multi-column result set that is similar to a relational table, a SQL SELECT statement, or an OLAP function.


Method Summary
abstract  ColumnExpression getColumnExpression(java.lang.String colName)
          Gets the specified ColumnExpression of the Query.
abstract  java.util.List<ColumnExpression> getColumnExpressions()
          Gets the ColumnExpression objects that are associated with the Query.
abstract  java.lang.String getName()
          Gets the name of the Query.
 Source getSource(DataProvider dp)
          Gets a Source for the Query.
 boolean isFullyDimensioned()
          Indicates whether the Query is fully dimensioned.

 

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

 

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

 

Method Detail

getName

public abstract java.lang.String getName()
Gets the name of the Query.
Returns:
A String that contains the name of the Query.

isFullyDimensioned

public boolean isFullyDimensioned()
Indicates whether the Query is fully dimensioned.
Returns:
A boolean that is true if the Query is fully dimensioned or false if it is not.

getColumnExpressions

public abstract java.util.List<ColumnExpression> getColumnExpressions()
Gets the ColumnExpression objects that are associated with the Query.
Returns:
A List of the ColumnExpression objects associated with the Query.

getColumnExpression

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

getSource

public Source getSource(DataProvider dp)
Gets a Source for the Query.
Parameters:
dp - The DataProvider for the current session.
Returns:
A Source for the Query.

Skip navigation links

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