|
Oracle® OLAP Java API Reference 11g Release 2 (11.2) E10794-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectoracle.olapi.syntax.SyntaxObject
oracle.olapi.syntax.DataObject
oracle.olapi.syntax.Query
oracle.olapi.syntax.UnresolvedQuery
public final class UnresolvedQuery
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 |
|---|
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.Object visit(SyntaxObjectVisitor visitor,
java.lang.Object context)
visitUnresolvedExpression method of the
SyntaxObjectVisitor and passes that method this
UnresolvedQuery and an Object.
visit in class SyntaxObjectvisitor - A SyntaxObjectVisitor.context - An Object.
Object returned by the
visitUnresolvedQuery method.public java.util.List<ColumnExpression> getColumnExpressions()
ColumnExpression objects that are associated
with this UnresolvedQuery.
getColumnExpressions in class QueryList that contains the ColumnExpression
objects associated with this UnresolvedQuery.public ColumnExpression getColumnExpression(java.lang.String colName)
ColumnExpression of this
UnresolvedQuery.
getColumnExpression in class QuerycolName - A String that contains the name of a
column.
ColumnExpression that has the specified name.public java.lang.String getName()
UnresolvedQuery.
getName in class QueryString that contains the name of this
UnresolvedQuery.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||