com.metamatrix.query.sql.lang
Class Into

java.lang.Object
  extended by com.metamatrix.query.sql.lang.Into
All Implemented Interfaces:
LanguageObject, java.io.Serializable, java.lang.Cloneable

public class Into
extends java.lang.Object
implements LanguageObject

Rpresent INTO clause in SELECT ... INTO ... clause, which is used to create temporary table.

See Also:
Serialized Form

Constructor Summary
Into()
          Construct default object
Into(GroupSymbol group)
          Construct object with specified group
 
Method Summary
 void acceptVisitor(LanguageVisitor visitor)
          Method for accepting a visitor.
 java.lang.Object clone()
          Get deep clone of object
 boolean equals(java.lang.Object obj)
          Check whether objects are equal
 GroupSymbol getGroup()
          Get group held by clause
 int hashCode()
          Get hash code of object
 void setGroup(GroupSymbol group)
          Set the group held by the clause
 java.lang.String toString()
          Returns a string representation of an instance of this class.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 interface LanguageObject
Parameters:
visitor - Visitor being used

equals

public boolean equals(java.lang.Object obj)
Check whether objects are equal

Overrides:
equals in class java.lang.Object
Parameters:
obj - Other object
Returns:
True if equal

hashCode

public int hashCode()
Get hash code of object

Overrides:
hashCode in class java.lang.Object
Returns:
Hash code

clone

public java.lang.Object clone()
Get deep clone of object

Specified by:
clone in interface LanguageObject
Overrides:
clone in class java.lang.Object
Returns:
Deep copy of the object

toString

public java.lang.String toString()
Returns a string representation of an instance of this class.

Overrides:
toString in class java.lang.Object
Returns:
String representation of object


Copyright © 2009. All Rights Reserved.