org.teiid.query.sql.symbol
Class QueryString

java.lang.Object
  extended by org.teiid.query.sql.symbol.QueryString
All Implemented Interfaces:
java.lang.Cloneable, LanguageObject, Expression

public class QueryString
extends java.lang.Object
implements Expression

Represents XMLATTRIBUTES name value pairs


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
 
Constructor Summary
QueryString(Expression path, java.util.List<DerivedColumn> args)
           
 
Method Summary
 void acceptVisitor(LanguageVisitor visitor)
          Method for accepting a visitor.
 QueryString clone()
          Implement clone to make objects cloneable.
 boolean equals(java.lang.Object obj)
           
 java.util.List<DerivedColumn> getArgs()
           
 Expression getPath()
           
 java.lang.Class<?> getType()
          Get the return type of this expression.
 int hashCode()
           
 boolean isResolved()
          Return true if expression has been fully resolved.
 void setPath(Expression path)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryString

public QueryString(Expression path,
                   java.util.List<DerivedColumn> args)
Method Detail

getArgs

public java.util.List<DerivedColumn> getArgs()

clone

public QueryString 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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

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

getPath

public Expression getPath()

setPath

public void setPath(Expression path)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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

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


Copyright © 2011. All Rights Reserved.