public final class UnresolvedQuery extends Query
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
.Constructor and Description |
---|
UnresolvedQuery() |
Modifier and Type | Method and Description |
---|---|
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 . |
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)
visitUnresolvedExpression
method of the SyntaxObjectVisitor
and passes that method this UnresolvedQuery
and an Object
.visit
in class SyntaxObject
visitor
- 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 Query
List
that contains the ColumnExpression
objects associated with this UnresolvedQuery
.public ColumnExpression getColumnExpression(java.lang.String colName)
ColumnExpression
of this UnresolvedQuery
.getColumnExpression
in class Query
colName
- A String
that contains the name of a column.ColumnExpression
that has the specified name.