org.apache.derby.impl.sql.compile
Class AllResultColumn

java.lang.Object
  extended byorg.apache.derby.impl.sql.compile.QueryTreeNode
      extended byorg.apache.derby.impl.sql.compile.ValueNode
          extended byorg.apache.derby.impl.sql.compile.ResultColumn
              extended byorg.apache.derby.impl.sql.compile.AllResultColumn
All Implemented Interfaces:
java.lang.Comparable, ResultColumnDescriptor, 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.

Author:
Jerry Brenner

Field Summary
private  TableName tableName
           
 
Fields inherited from class org.apache.derby.impl.sql.compile.ResultColumn
autoincrement, autoincrementGenerated, columnDescriptor, exposedName, expression, isGenerated, isGeneratedForUnmatchedColumnInInsert, isGroupingColumn, isNameGenerated, isRedundant, isReferenced, name, reference, sourceSchemaName, sourceTableName, updatableByCursor, updated
 
Fields inherited from class org.apache.derby.impl.sql.compile.ValueNode
clause, dataTypeServices, IN_HAVING_CLAUSE, IN_SELECT_LIST, IN_UNKNOWN_CLAUSE, IN_WHERE_CLAUSE, transformed
 
Fields inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode
AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, beginOffset, endOffset
 
Constructor Summary
AllResultColumn()
           
 
Method Summary
(package private)  ResultColumn cloneMe()
          Make a copy of this ResultColumn in a new ResultColumn
 java.lang.String getFullTableName()
          Return the full table name qualification for this node
 TableName getTableNameObject()
           
 void init(java.lang.Object tableName)
          This initializer is for use in the parser for a "*".
 
Methods inherited from class org.apache.derby.impl.sql.compile.ResultColumn
accept, adjustVirtualColumnId, bindExpression, bindResultColumnByName, bindResultColumnByPosition, bindResultColumnToExpression, checkStorableExpression, checkStorableExpression, clearTableName, columnTypeAndLengthMatch, columnTypeAndLengthMatch, compareTo, foundInList, generateExpression, generateHolder, getColumnPosition, getExpression, getExpressionType, getMaximumColumnSize, getName, getOrderableVariantType, getResultSetNumber, getSchemaName, getSourceSchemaName, getSourceTableName, getTableColumnDescriptor, getTableName, getType, getTypeId, getTypeServices, getVirtualColumnId, guaranteeColumnName, init, isAutoincrement, isAutoincrementGenerated, isDefaultColumn, isGenerated, isGeneratedForUnmatchedColumnInInsert, isNameGenerated, isRedundant, isReferenced, markAllRCsInChainReferenced, markAsGroupingColumn, markGenerated, markGeneratedForUnmatchedColumnInInsert, markUpdatableByCursor, markUpdated, preprocess, printSubNodes, pullVirtualIsReferenced, rejectParameter, resetAutoincrementGenerated, setAutoincrement, setAutoincrementGenerated, setClause, setColumnDescriptor, setDefaultColumn, setExpression, setExpressionToNullNode, setName, setNameGenerated, setNullability, setRedundant, setReferenced, setResultSetNumber, setUnreferenced, setVirtualColumnId, toString, typeUntypedNullExpression, updatableByCursor, updated, verifyOrderable
 
Methods inherited from class org.apache.derby.impl.sql.compile.ValueNode
bindExpression, categorize, changeToCNF, checkIsBoolean, checkReliability, checkReliability, checkTopPredicatesForEqualsConditions, constantExpression, copyFields, eliminateNots, genEqualsFalseTree, generate, generateFilter, genIsNullTree, genSQLJavaSQLTree, getClause, getClone, getColumnName, getConstantValueAsObject, getDataValueFactory, getSourceResultColumn, getTablesReferenced, getTransformed, getTypeCompiler, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isCloneable, isConstantExpression, isParameterNode, isRelationalOperator, optimizableEqualityNode, putAndsOnTop, remapColumnReferencesToExpressions, selectivity, setDescriptor, setTransformed, setType, verifyChangeToCNF, verifyEliminateNots, verifyPutAndsOnTop
 
Methods inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode
bind, convertDefaultNode, debugFlush, debugPrint, executeSchemaName, executeStatementName, formatNodeString, foundString, generate, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getRowEstimate, getSchemaDescriptor, getSchemaDescriptor, getSPSName, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, isAtomic, isInstanceOf, isSessionSchema, isSessionSchema, makeConstantAction, makeResultDescription, makeTableName, needsSavepoint, nodeHeader, optimize, parseQueryText, printLabel, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, treePrint, treePrint, verifyClassExist
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tableName

private TableName tableName
Constructor Detail

AllResultColumn

public AllResultColumn()
Method Detail

init

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

Overrides:
init in class QueryTreeNode
Parameters:
tableName - Dot expression qualifying "*"
Returns:
The newly constructed AllResultColumn

getFullTableName

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

Returns:
Full table name qualification as a String

cloneMe

ResultColumn cloneMe()
               throws StandardException
Make a copy of this ResultColumn in a new ResultColumn

Overrides:
cloneMe in class ResultColumn
Returns:
A new ResultColumn with the same contents as this one
Throws:
StandardException - Thrown on error

getTableNameObject

public TableName getTableNameObject()
Overrides:
getTableNameObject in class ResultColumn

Built on Mon 2007-06-04 09:58:47+0400, from revision ???

Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.