com.akiban.sql.parser
Class AllResultColumn

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.ValueNode
          extended by com.akiban.sql.parser.ResultColumn
              extended by com.akiban.sql.parser.AllResultColumn
All Implemented Interfaces:
Visitable

public class AllResultColumn
extends ResultColumn

An AllResultColumn represents a "*" result column in a SELECT statement. It gets replaced with the appropriate set of columns at bind time.


Field Summary
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
AllResultColumn()
           
 
Method Summary
 void copyFrom(QueryTreeNode node)
          Fill this node with a deep copy of the given node.
 String getFullTableName()
          Return the full table name qualification for this node
 TableName getTableNameObject()
           
 void init(Object arg)
          This initializer is for use in the parser for a "*".
 boolean isRecursive()
           
 String toString()
          Convert this object to a String.
 
Methods inherited from class com.akiban.sql.parser.ResultColumn
adjustVirtualColumnId, getColumnPosition, getExpression, getName, getReference, getSchemaName, getTableName, getVirtualColumnId, init, isDefaultColumn, isEquivalent, isNameGenerated, printSubNodes, setDefaultColumn, setExpression, setName, setNameGenerated, setVirtualColumnId
 
Methods inherited from class com.akiban.sql.parser.ValueNode
getColumnName, getSourceResultColumn, getType, getTypeId, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isConstantExpression, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, setNullability, setType
 
Methods inherited from class com.akiban.sql.parser.QueryTreeNode
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllResultColumn

public AllResultColumn()
Method Detail

init

public void init(Object arg)
This initializer is for use in the parser for a "*".

Overrides:
init in class QueryTreeNode
Parameters:
arg - TableName Dot expression qualifying "*" or Boolean recursive

copyFrom

public void copyFrom(QueryTreeNode node)
              throws StandardException
Fill this node with a deep copy of the given node.

Overrides:
copyFrom in class ResultColumn
Throws:
StandardException

getFullTableName

public String getFullTableName()
Return the full table name qualification for this node

Returns:
Full table name qualification as a String

getTableNameObject

public TableName getTableNameObject()
Overrides:
getTableNameObject in class ResultColumn

isRecursive

public boolean isRecursive()

toString

public String toString()
Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing.

Overrides:
toString in class ResultColumn
Returns:
This object as a String


Copyright © 2013 Akiban Technologies, Inc. All rights reserved.