Package org.teiid.query.sql.lang
Class Into
- java.lang.Object
-
- org.teiid.query.sql.lang.Into
-
- All Implemented Interfaces:
Cloneable
,LanguageObject
public class Into extends Object implements LanguageObject
Rpresent INTO clause in SELECT ... INTO ... clause, which is used to create temporary table.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.teiid.query.sql.LanguageObject
LanguageObject.Util
-
-
Constructor Summary
Constructors Constructor Description Into()
Construct default objectInto(GroupSymbol group)
Construct object with specified group
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
acceptVisitor(LanguageVisitor visitor)
Method for accepting a visitor.Object
clone()
Get deep clone of objectboolean
equals(Object obj)
Check whether objects are equalGroupSymbol
getGroup()
Get group held by clauseint
hashCode()
Get hash code of objectvoid
setGroup(GroupSymbol group)
Set the group held by the clauseString
toString()
Returns a string representation of an instance of this class.
-
-
-
Constructor Detail
-
Into
public Into()
Construct default object
-
Into
public Into(GroupSymbol group)
Construct object with specified group- Parameters:
group
- Group being held
-
-
Method Detail
-
setGroup
public void setGroup(GroupSymbol group)
Set the group held by the clause- Parameters:
group
- Group to hold
-
getGroup
public GroupSymbol getGroup()
Get group held by clause- Returns:
- Group held by clause
-
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
-
equals
public boolean equals(Object obj)
Check whether objects are equal
-
hashCode
public int hashCode()
Get hash code of object
-
clone
public Object clone()
Get deep clone of object- Specified by:
clone
in interfaceLanguageObject
- Overrides:
clone
in classObject
- Returns:
- Deep copy of the object
-
-