Skip navigation links

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

B28128-01


oracle.olapi.syntax
Class UnresolvedQuery

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


public final class UnresolvedQuery
extends Query

A Query that represents an invalid or unresolvable identifier. An application might encounter this class if it has passed an implementation of the XMLParserCallback interface in a call to a SyntaxObject.fromSyntax or MdmMetadataProvider.importXML method. If the methods of the XMLParserCallback implementation return XMLParserCallback.ERROR_BY_INVALIDATING, then Oracle OLAP does not throw an exception when it encounters an invalid or unresolvable identifier. Instead, it marks the object as invalid and continues parsing the XML or producing the SyntaxObject. However, if the application gets the Query for the invalid object, that Query is an instance of UnresolvedQuery.


Method Summary
 ColumnExpression getColumnExpression(java.lang.String colName)
          Gets the specified ColumnExpression of this UnresolvedQuery.
 java.util.List<ColumnExpression> getColumnExpressions()
          Gets the ColumnExpression objects that are associated with this UnresolvedQuery.
 java.lang.String getName()
          Gets the name of this UnresolvedQuery.
 java.lang.Object visit(SyntaxObjectVisitor visitor, java.lang.Object context)
          Calls the visitUnresolvedExpression method of the SyntaxObjectVisitor and passes that method this UnresolvedQuery and an Object.

 

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

 

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

 

Methods inherited from class java.lang.Object
clone, equals, 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 visitUnresolvedExpression method of the SyntaxObjectVisitor and passes that method this UnresolvedQuery and an Object.
Specified by:
visit in class SyntaxObject
Parameters:
visitor - A SyntaxObjectVisitor.
context - An Object.
Returns:
The Object returned by the visitUnresolvedQuery method.

getColumnExpressions

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

getColumnExpression

public ColumnExpression getColumnExpression(java.lang.String colName)
Gets the specified ColumnExpression of this UnresolvedQuery.
Specified by:
getColumnExpression in class Query
Parameters:
colName - A String that contains the name of a column.
Returns:
The ColumnExpression that has the specified name.

getName

public java.lang.String getName()
Gets the name of this UnresolvedQuery.
Specified by:
getName in class Query
Returns:
A String that contains the name of this UnresolvedQuery.

Skip navigation links

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