org.teiid.query.sql.symbol
Class XMLQuery
java.lang.Object
org.teiid.query.sql.symbol.XMLQuery
- All Implemented Interfaces:
- java.lang.Cloneable, LanguageObject, Expression
public class XMLQuery
- extends java.lang.Object
- implements Expression
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
XMLQuery
public XMLQuery()
getType
public java.lang.Class<?> getType()
- Description copied from interface:
Expression
- Get the return type of this expression. This method will not necessarily work right
before resolution (
Expression.isResolved()
returns true).
- Specified by:
getType
in interface Expression
- Returns:
- Java class name
getEmptyOnEmpty
public java.lang.Boolean getEmptyOnEmpty()
setEmptyOnEmpty
public void setEmptyOnEmpty(java.lang.Boolean emptyOnEmpty)
isResolved
public boolean isResolved()
- Description copied from interface:
Expression
- Return true if expression has been fully resolved. Typically the QueryResolver component
will handle resolution of an expression.
- Specified by:
isResolved
in interface Expression
- Returns:
- True if resolved
getPassing
public java.util.List<DerivedColumn> getPassing()
compileXqueryExpression
public void compileXqueryExpression()
throws QueryResolverException
- Throws:
QueryResolverException
getXQueryExpression
public SaxonXQueryExpression getXQueryExpression()
setPassing
public void setPassing(java.util.List<DerivedColumn> passing)
getXquery
public java.lang.String getXquery()
setXquery
public void setXquery(java.lang.String xquery)
getNamespaces
public XMLNamespaces getNamespaces()
setNamespaces
public void setNamespaces(XMLNamespaces namespaces)
acceptVisitor
public void acceptVisitor(LanguageVisitor visitor)
- Description copied from interface:
LanguageObject
- Method for accepting a visitor. It is the responsibility of the
language object to call back on the visitor.
- Specified by:
acceptVisitor
in interface LanguageObject
- Parameters:
visitor
- Visitor being used
clone
public XMLQuery clone()
- Description copied from interface:
LanguageObject
- Implement clone to make objects cloneable.
- Specified by:
clone
in interface LanguageObject
- Overrides:
clone
in class java.lang.Object
- Returns:
- Deep clone of this object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010. All Rights Reserved.