Package org.teiid.query.sql.symbol
Class XMLQuery
- java.lang.Object
-
- org.teiid.query.sql.symbol.XMLQuery
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
,Expression
public class XMLQuery extends Object implements Expression
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Constructor Summary
Constructors Constructor Description XMLQuery()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.XMLQuery
clone()
Implement clone to make objects cloneable.void
compileXqueryExpression()
boolean
equals(Object obj)
Boolean
getEmptyOnEmpty()
XMLNamespaces
getNamespaces()
List<DerivedColumn>
getPassing()
Class<?>
getType()
Get the return type of this expression.String
getXquery()
XQueryExpression
getXQueryExpression()
int
hashCode()
void
setEmptyOnEmpty(Boolean emptyOnEmpty)
void
setNamespaces(XMLNamespaces namespaces)
void
setPassing(List<DerivedColumn> passing)
void
setXquery(String xquery)
String
toString()
-
-
-
Method Detail
-
getType
public Class<?> getType()
Description copied from interface:Expression
Get the return type of this expression.- Specified by:
getType
in interfaceExpression
- Returns:
- Java class may be null prior to being resolved
-
getEmptyOnEmpty
public Boolean getEmptyOnEmpty()
-
setEmptyOnEmpty
public void setEmptyOnEmpty(Boolean emptyOnEmpty)
-
getPassing
public List<DerivedColumn> getPassing()
-
compileXqueryExpression
public void compileXqueryExpression() throws QueryResolverException
- Throws:
QueryResolverException
-
getXQueryExpression
public XQueryExpression getXQueryExpression()
-
setPassing
public void setPassing(List<DerivedColumn> passing)
-
getXquery
public String getXquery()
-
setXquery
public void setXquery(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 interfaceLanguageObject
- Parameters:
visitor
- Visitor being used
-
clone
public XMLQuery clone()
Description copied from interface:LanguageObject
Implement clone to make objects cloneable.- Specified by:
clone
in interfaceLanguageObject
- Overrides:
clone
in classObject
- Returns:
- Deep clone of this object
-
-