| java.lang.Object org.apache.derby.impl.sql.compile.QueryTreeNode org.apache.derby.impl.sql.compile.ValueNode org.apache.derby.impl.sql.compile.ResultColumn
All known Subclasses: org.apache.derby.impl.sql.compile.AllResultColumn,
ResultColumn | public class ResultColumn extends ValueNode implements ResultColumnDescriptor,Comparable(Code) | | A ResultColumn represents a result column in a SELECT, INSERT, or UPDATE
statement. In a SELECT statement, the result column just represents an
expression in a row being returned to the client. For INSERT and UPDATE
statements, the result column represents an column in a stored table.
So, a ResultColumn has to be bound differently depending on the type of
statement it appears in.
author: Jeff Lichtman |
Method Summary | |
public Visitable | accept(Visitor v) Accept a visitor, and call v.visit()
on child nodes as necessary. | public void | adjustVirtualColumnId(int adjust) | public ValueNode | bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) Bind this expression. | public void | bindResultColumnByName(TableDescriptor tableDescriptor, int columnId) Bind this result column by its name and set the VirtualColumnId. | void | bindResultColumnByPosition(TableDescriptor tableDescriptor, int columnId) Bind this result column by ordinal position and set the VirtualColumnId. | public void | bindResultColumnToExpression() Bind the result column to the expression that lives under it. | public void | checkStorableExpression(ResultColumn toStore) This verifies that the expression is storable into the result column.
It checks versus the given ResultColumn.
This method should not be called until the result column and
expression both have a valid type, i.e. | public void | checkStorableExpression() This verifies that the expression is storable into the result column.
It checks versus the expression under this ResultColumn.
This method should not be called until the result column and
expression both have a valid type, i.e. | public void | clearTableName() Clear the table name for the underlying ColumnReference. | ResultColumn | cloneMe() | boolean | columnTypeAndLengthMatch() | boolean | columnTypeAndLengthMatch(ResultColumn otherColumn) | public int | compareTo(Object other) | public void | disablePrivilegeCollection() | public boolean | foundInList(String[] list) | public void | generateExpression(ExpressionClassBuilder ecb, MethodBuilder mb) Do code generation for a result column. | public void | generateHolder(ExpressionClassBuilder acb, MethodBuilder mb) Generate the code to create a column the same shape and
size as this ResultColumn. | public BaseColumnNode | getBaseColumnNode() Get the source BaseColumnNode for this result column. | public int | getColumnPosition() | public ValueNode | getExpression() Get the expression in this ResultColumn. | public DataTypeDescriptor | getExpressionType() | public int | getMaximumColumnSize() | public String | getName() The following methods implement the ResultColumnDescriptor
interface. | protected int | getOrderableVariantType() Return the variant type for the underlying expression. | public ColumnReference | getReference() | public int | getResultSetNumber() Get the resultSetNumber for this ResultColumn. | public String | getSchemaName() | public String | getSourceSchemaName() | public String | getSourceTableName() | ColumnDescriptor | getTableColumnDescriptor() If this ResultColumn is bound to a column in a table
get the column descriptor for the column in the table. | public String | getTableName() | public TableName | getTableNameObject() | public int | getTableNumber() Search the tree beneath this ResultColumn until we find
the number of the table to which this RC points, and
return that table number. | public DataTypeDescriptor | getType() | public TypeId | getTypeId() Get the TypeId from this Node.
The TypeId from this Node. | public DataTypeDescriptor | getTypeServices() Get the DataTypeServices from this Node.
The DataTypeServices from this Node. | public int | getVirtualColumnId() | public void | guaranteeColumnName() | public void | init(Object arg1, Object arg2) Different types of initializer parameters indicate different
types of initialization. | public boolean | isAutoincrement() | public boolean | isAutoincrementGenerated() Returns true if this result column is a placeholder for a generated
autoincrement value. | public boolean | isDefaultColumn() Returns TRUE if the ResultColumn is standing in for a DEFAULT keyword in
an insert/update statement. | public boolean | isEquivalent(ValueNode o) | public boolean | isGenerated() | public boolean | isGeneratedForUnmatchedColumnInInsert() | public boolean | isGroupingColumn() | public boolean | isNameGenerated() | public boolean | isRedundant() | public boolean | isReferenced() | void | markAllRCsInChainReferenced() Mark this RC and all RCs in the underlying
RC/VCN chain as referenced. | public void | markAsGroupingColumn() | public void | markGenerated() | public void | markGeneratedForUnmatchedColumnInInsert() | void | markUpdatableByCursor() Mark this column as being updatable, so we can make sure it is in the
"for update" list of a positioned update. | void | markUpdated() Mark this column as being updated by an update statemment. | public ValueNode | preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) Preprocess an expression tree. | public void | printSubNodes(int depth) Prints the sub-nodes of this object. | void | pullVirtualIsReferenced() Mark this column as a referenced column if it is already marked as referenced or if any result column in
its chain of virtual columns is marked as referenced. | void | rejectParameter() Look for and reject ?/-?/+? parameter under this ResultColumn. | public void | resetAutoincrementGenerated() | public void | setAutoincrement() | public void | setAutoincrementGenerated() | public void | setClause(int clause) Set the clause that this node appears in. | void | setColumnDescriptor(TableDescriptor tableDescriptor, ColumnDescriptor columnDescriptor) Set the column descriptor for this result column. | public void | setDefaultColumn(boolean value) | public void | setExpression(ValueNode expression) Set the expression in this ResultColumn. | void | setExpressionToNullNode() Set the expression to a null node of the
correct type. | public void | setName(String name) Set the name in this ResultColumn. | public void | setNameGenerated(boolean value) Set that this result column name is generated. | public void | setNullability(boolean nullability) Set the nullability of this ResultColumn. | public void | setRedundant() Mark this ResultColumn as redundant. | public void | setReferenced() Mark this column as a referenced column. | public void | setResultSetNumber(int resultSetNumber) Set the resultSetNumber for this ResultColumn. | public void | setUnreferenced() Mark this column as an unreferenced column. | public void | setVirtualColumnId(int id) | public String | toString() Convert this object to a String. | public void | typeUntypedNullExpression(ResultColumn bindingRC) Change an untyped null to a typed null. | public boolean | updatableByCursor() Tell whether this column is updatable by a positioned update. | boolean | updated() Tell whether this column is being updated. | void | verifyOrderable() Verify that this RC is orderable. |
autoincrement | boolean autoincrement(Code) | | |
autoincrementGenerated | boolean autoincrementGenerated(Code) | | |
isGenerated | boolean isGenerated(Code) | | |
isGeneratedForUnmatchedColumnInInsert | boolean isGeneratedForUnmatchedColumnInInsert(Code) | | |
isGroupingColumn | boolean isGroupingColumn(Code) | | |
isNameGenerated | boolean isNameGenerated(Code) | | |
isRedundant | boolean isRedundant(Code) | | |
isReferenced | boolean isReferenced(Code) | | |
updatableByCursor | boolean updatableByCursor(Code) | | |
adjustVirtualColumnId | public void adjustVirtualColumnId(int adjust)(Code) | | Adjust the virtualColumnId for this ResultColumn by the specified amount
Parameters: adjust - The adjustment for the virtualColumnId |
bindExpression | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException(Code) | | Bind this expression. This means binding the sub-expressions.
In this case, we figure out what the result type of this result
column is when we call one of the bindResultColumn*() methods.
The reason is that there are different ways of binding the
result columns depending on the statement type, and this is
a standard interface that does not take the statement type as
a parameter.
Parameters: fromList - The FROM list for the query thisexpression is in, for binding columns. Parameters: subqueryList - The subquery list being built as we find SubqueryNodes Parameters: aggregateVector - The aggregate vector being built as we find AggregateNodes The new top of the expression tree. exception: StandardException - Thrown on error |
bindResultColumnByName | public void bindResultColumnByName(TableDescriptor tableDescriptor, int columnId) throws StandardException(Code) | | Bind this result column by its name and set the VirtualColumnId.
This is useful for update statements, and for INSERT statements
like "insert into t (a, b, c) values (1, 2, 3)" where the user
specified a column list.
An exception is thrown when a columnDescriptor cannot be found for a
given name. (There is no column with that name.)
NOTE: We must set the VirtualColumnId here because INSERT does not
construct the ResultColumnList in the usual way.
Parameters: tableDescriptor - The descriptor for the table beingupdated or inserted into Parameters: columnId - The ordinal position of the columnin the table, starting at 1. (Used toset the VirtualColumnId.) exception: StandardException - Thrown on error |
bindResultColumnByPosition | void bindResultColumnByPosition(TableDescriptor tableDescriptor, int columnId) throws StandardException(Code) | | Bind this result column by ordinal position and set the VirtualColumnId.
This is useful for INSERT statements like "insert into t values (1, 2, 3)",
where the user did not specify a column list.
If a columnDescriptor is not found for a given position, then
the user has specified more values than the # of columns in
the table and an exception is thrown.
NOTE: We must set the VirtualColumnId here because INSERT does not
construct the ResultColumnList in the usual way.
Parameters: tableDescriptor - The descriptor for the table beinginserted into Parameters: columnId - The ordinal position of the columnin the table, starting at 1. exception: StandardException - Thrown on error |
bindResultColumnToExpression | public void bindResultColumnToExpression() throws StandardException(Code) | | Bind the result column to the expression that lives under it.
All this does is copy the datatype information to this node.
This is useful for SELECT statements, where the result type
of each column is the type of the column's expression.
exception: StandardException - Thrown on error |
checkStorableExpression | public void checkStorableExpression(ResultColumn toStore) throws StandardException(Code) | | This verifies that the expression is storable into the result column.
It checks versus the given ResultColumn.
This method should not be called until the result column and
expression both have a valid type, i.e. after they are bound
appropriately. Its use is for statements like insert, that need to
verify if a given value can be stored into a column.
exception: StandardException - thrown if types not suitable. |
checkStorableExpression | public void checkStorableExpression() throws StandardException(Code) | | This verifies that the expression is storable into the result column.
It checks versus the expression under this ResultColumn.
This method should not be called until the result column and
expression both have a valid type, i.e. after they are bound
appropriately. Its use is for statements like update, that need to
verify if a given value can be stored into a column.
exception: StandardException - thrown if types not suitable. |
clearTableName | public void clearTableName()(Code) | | Clear the table name for the underlying ColumnReference.
See UpdateNode.scrubResultColumns() for full explaination.
|
foundInList | public boolean foundInList(String[] list)(Code) | | Is this column in this array of strings?
Parameters: list - the array of column names to compare true/false |
generateExpression | public void generateExpression(ExpressionClassBuilder ecb, MethodBuilder mb) throws StandardException(Code) | | Do code generation for a result column. This consists of doing the code
generation for the underlying expression.
Parameters: ecb - The ExpressionClassBuilder for the class we're generating Parameters: mb - The method the expression will go into exception: StandardException - Thrown on error |
getBaseColumnNode | public BaseColumnNode getBaseColumnNode()(Code) | | Get the source BaseColumnNode for this result column. The
BaseColumnNode cannot be found unless the ResultColumn is bound
and is a simple reference to a column in a BaseFromTable.
a BaseColumnNode,or null if a BaseColumnNode cannot be found |
getColumnPosition | public int getColumnPosition()(Code) | | |
getExpression | public ValueNode getExpression()(Code) | | Get the expression in this ResultColumn.
ValueNode this.expression |
getMaximumColumnSize | public int getMaximumColumnSize()(Code) | | Get the maximum size of the column
the max size |
getName | public String getName()(Code) | | The following methods implement the ResultColumnDescriptor
interface. See the Language Module Interface for details.
|
getOrderableVariantType | protected int getOrderableVariantType() throws StandardException(Code) | | Return the variant type for the underlying expression.
The variant type can be:
VARIANT - variant within a scan
(method calls and non-static field access)
SCAN_INVARIANT - invariant within a scan
(column references from outer tables)
QUERY_INVARIANT - invariant within the life of a query
CONSTANT - constant
The variant type for the underlying expression. exception: StandardException - thrown on error |
getResultSetNumber | public int getResultSetNumber()(Code) | | Get the resultSetNumber for this ResultColumn.
int The resultSetNumber. |
getTableColumnDescriptor | ColumnDescriptor getTableColumnDescriptor()(Code) | | If this ResultColumn is bound to a column in a table
get the column descriptor for the column in the table.
Otherwise return null.
|
getTableNumber | public int getTableNumber() throws StandardException(Code) | | Search the tree beneath this ResultColumn until we find
the number of the table to which this RC points, and
return that table number. If we can't determine which
table this RC is for, then return -1.
There are two places we can find the table number: 1) if
our expression is a ColumnReference, then we can get the
target table number from the ColumnReference and that's
it; 2) if expression is a VirtualColumnNode, then if
the VirtualColumnNode points to a FromBaseTable, we can
get that FBT's table number; otherwise, we walk the
VirtualColumnNode-ResultColumn chain and do a recursive
search.
The number of the table to which this ResultColumn points, or -1 if we can't determine that from where we are. |
getTypeId | public TypeId getTypeId() throws StandardException(Code) | | Get the TypeId from this Node.
The TypeId from this Node. Thismay be null if the node isn't bound yet. |
getTypeServices | public DataTypeDescriptor getTypeServices() throws StandardException(Code) | | Get the DataTypeServices from this Node.
The DataTypeServices from this Node. Thismay be null if the node isn't bound yet. |
getVirtualColumnId | public int getVirtualColumnId()(Code) | | Get the virtualColumnId for this ResultColumn
virtualColumnId for this ResultColumn |
guaranteeColumnName | public void guaranteeColumnName() throws StandardException(Code) | | Generate a unique (across the entire statement) column name for unnamed
ResultColumns
exception: StandardException - Thrown on error |
init | public void init(Object arg1, Object arg2) throws StandardException(Code) | | Different types of initializer parameters indicate different
types of initialization. Parameters may be:
- arg1 The name of the column, if any.
- arg2 The expression this result column represents
- OR -
- arg1 a column reference node
- arg2 The expression this result column represents
- OR -
- arg1 The column descriptor.
- arg2 The expression this result column represents
- OR -
- dtd The type of the column
- expression The expression this result column represents
|
isAutoincrement | public boolean isAutoincrement()(Code) | | |
isAutoincrementGenerated | public boolean isAutoincrementGenerated()(Code) | | Returns true if this result column is a placeholder for a generated
autoincrement value.
|
isDefaultColumn | public boolean isDefaultColumn()(Code) | | Returns TRUE if the ResultColumn is standing in for a DEFAULT keyword in
an insert/update statement.
|
isGenerated | public boolean isGenerated()(Code) | | Is this a generated column?
Boolean - whether or not this column is a generated column. |
isGeneratedForUnmatchedColumnInInsert | public boolean isGeneratedForUnmatchedColumnInInsert()(Code) | | Is this columm generated for an unmatched column in an insert?
Boolean - whether or not this columm was generated for an unmatched column in an insert. |
isGroupingColumn | public boolean isGroupingColumn()(Code) | | |
isNameGenerated | public boolean isNameGenerated()(Code) | | Is the name for this ResultColumn generated?
|
isRedundant | public boolean isRedundant()(Code) | | Is this a redundant ResultColumn?
Boolean - whether or not this RC is redundant. |
isReferenced | public boolean isReferenced()(Code) | | Is this a referenced column?
Boolean - whether or not this column is a referenced column. |
markAllRCsInChainReferenced | void markAllRCsInChainReferenced()(Code) | | Mark this RC and all RCs in the underlying
RC/VCN chain as referenced.
|
markAsGroupingColumn | public void markAsGroupingColumn()(Code) | | Mark this ResultColumn as a grouping column in the SELECT list
|
markGenerated | public void markGenerated()(Code) | | Mark this a columm as a generated column
|
markGeneratedForUnmatchedColumnInInsert | public void markGeneratedForUnmatchedColumnInInsert()(Code) | | Mark this a columm as generated for an unmatched column in an insert
|
markUpdatableByCursor | void markUpdatableByCursor()(Code) | | Mark this column as being updatable, so we can make sure it is in the
"for update" list of a positioned update.
|
markUpdated | void markUpdated()(Code) | | Mark this column as being updated by an update statemment.
|
preprocess | public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException(Code) | | Preprocess an expression tree. We do a number of transformations
here (including subqueries, IN lists, LIKE and BETWEEN) plus
subquery flattening.
NOTE: This is done before the outer ResultSetNode is preprocessed.
Parameters: numTables - Number of tables in the DML Statement Parameters: outerFromList - FromList from outer query block Parameters: outerSubqueryList - SubqueryList from outer query block Parameters: outerPredicateList - PredicateList from outer query block The modified expression exception: StandardException - Thrown on error |
printSubNodes | public void printSubNodes(int depth)(Code) | | Prints the sub-nodes of this object. See QueryTreeNode.java for
how tree printing is supposed to work.
Parameters: depth - The depth of this node in the tree |
pullVirtualIsReferenced | void pullVirtualIsReferenced()(Code) | | Mark this column as a referenced column if it is already marked as referenced or if any result column in
its chain of virtual columns is marked as referenced.
|
rejectParameter | void rejectParameter() throws StandardException(Code) | | Look for and reject ?/-?/+? parameter under this ResultColumn. This is
called for SELECT statements.
exception: StandardException - Thrown if a ?/-?/+? parameter was founddirectly under this ResultColumn. |
resetAutoincrementGenerated | public void resetAutoincrementGenerated()(Code) | | |
setAutoincrement | public void setAutoincrement()(Code) | | |
setAutoincrementGenerated | public void setAutoincrementGenerated()(Code) | | |
setClause | public void setClause(int clause)(Code) | | Set the clause that this node appears in.
Parameters: clause - The clause that this node appears in. |
setColumnDescriptor | void setColumnDescriptor(TableDescriptor tableDescriptor, ColumnDescriptor columnDescriptor) throws StandardException(Code) | | Set the column descriptor for this result column. It also gets
the data type services from the column descriptor and stores it in
this result column: this is redundant, but we have to store the result
type here for SELECT statements, and it is more orthogonal if the type
can be found here regardless of what type of statement it is.
Parameters: tableDescriptor - The TableDescriptor for the tablebeing updated or inserted into.This parameter is used only forerror reporting. Parameters: columnDescriptor - The ColumnDescriptor to set inthis ResultColumn. exception: StandardException - tableNameMismatch |
setDefaultColumn | public void setDefaultColumn(boolean value)(Code) | | |
setExpression | public void setExpression(ValueNode expression)(Code) | | Set the expression in this ResultColumn. This is useful in those
cases where you don't know the expression in advance, like for
INSERT statements with column lists, where the column list and
SELECT or VALUES clause are parsed separately, and then have to
be hooked up.
Parameters: expression - The expression to be set in this ResultColumn |
setName | public void setName(String name)(Code) | | Set the name in this ResultColumn. This is useful when you don't
know the name at the time you create the ResultColumn, for example,
in an insert-select statement, where you want the names of the
result columns to match the table being inserted into, not the
table they came from.
Parameters: name - The name to set in this ResultColumn |
setNameGenerated | public void setNameGenerated(boolean value)(Code) | | Set that this result column name is generated.
|
setNullability | public void setNullability(boolean nullability)(Code) | | Set the nullability of this ResultColumn.
|
setRedundant | public void setRedundant()(Code) | | Mark this ResultColumn as redundant.
|
setReferenced | public void setReferenced()(Code) | | Mark this column as a referenced column.
|
setResultSetNumber | public void setResultSetNumber(int resultSetNumber)(Code) | | Set the resultSetNumber for this ResultColumn. This is the
resultSetNumber for the ResultSet that we belong to. This
is useful for generate() and necessary since we do not have a
back pointer to the RSN.
Parameters: resultSetNumber - The resultSetNumber. |
setUnreferenced | public void setUnreferenced()(Code) | | Mark this column as an unreferenced column.
|
setVirtualColumnId | public void setVirtualColumnId(int id)(Code) | | Set the virtualColumnId for this ResultColumn
Parameters: id - The virtualColumnId for this ResultColumn |
toString | public String toString()(Code) | | Convert this object to a String. See comments in QueryTreeNode.java
for how this should be done for tree printing.
This object as a String |
updatableByCursor | public boolean updatableByCursor()(Code) | | Tell whether this column is updatable by a positioned update.
true means this column is updatable |
updated | boolean updated()(Code) | | Tell whether this column is being updated.
true means this column is being updated. |
Methods inherited from org.apache.derby.impl.sql.compile.ValueNode | public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector) throws StandardException(Code)(Java Doc) public ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, Vector aggregateVector, boolean forQueryRewrite) throws StandardException(Code)(Java Doc) public boolean categorize(JBitSet referencedTabs, boolean simplePredsOnly) throws StandardException(Code)(Java Doc) public ValueNode changeToCNF(boolean underTopAndNode) throws StandardException(Code)(Java Doc) public ValueNode checkIsBoolean() throws StandardException(Code)(Java Doc) public void checkReliability(String fragmentType, int fragmentBitMask) throws StandardException(Code)(Java Doc) public void checkReliability(int fragmentBitMask, String fragmentType) throws StandardException(Code)(Java Doc) void checkTopPredicatesForEqualsConditions(int tableNumber, boolean[] eqOuterCols, int[] tableNumbers, JBitSet[] tableColMap, boolean resultColTable) throws StandardException(Code)(Java Doc) public boolean constantExpression(PredicateList whereClause)(Code)(Java Doc) public void copyFields(ValueNode oldVN) throws StandardException(Code)(Java Doc) ValueNode eliminateNots(boolean underNotNode) throws StandardException(Code)(Java Doc) public ValueNode genEqualsFalseTree() throws StandardException(Code)(Java Doc) public ValueNode genIsNullTree() throws StandardException(Code)(Java Doc) public ValueNode genSQLJavaSQLTree() throws StandardException(Code)(Java Doc) final protected void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException(Code)(Java Doc) public void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException(Code)(Java Doc) public void generateFilter(ExpressionClassBuilder ecb, MethodBuilder mb) throws StandardException(Code)(Java Doc) public int getClause()(Code)(Java Doc) public ValueNode getClone() throws StandardException(Code)(Java Doc) public String getColumnName()(Code)(Java Doc) Object getConstantValueAsObject() throws StandardException(Code)(Java Doc) final protected DataValueFactory getDataValueFactory()(Code)(Java Doc) protected int getOrderableVariantType() throws StandardException(Code)(Java Doc) public String getSchemaName() throws StandardException(Code)(Java Doc) public ResultColumn getSourceResultColumn()(Code)(Java Doc) public String getTableName()(Code)(Java Doc) JBitSet getTablesReferenced() throws StandardException(Code)(Java Doc) boolean getTransformed()(Code)(Java Doc) public TypeCompiler getTypeCompiler() throws StandardException(Code)(Java Doc) public TypeId getTypeId() throws StandardException(Code)(Java Doc) public DataTypeDescriptor getTypeServices() throws StandardException(Code)(Java Doc) public void init(Object typeId, Object precision, Object scale, Object isNullable, Object maximumWidth) throws StandardException(Code)(Java Doc) public boolean isBinaryEqualsOperatorNode()(Code)(Java Doc) boolean isBooleanFalse()(Code)(Java Doc) boolean isBooleanTrue()(Code)(Java Doc) public boolean isCloneable()(Code)(Java Doc) public boolean isConstantExpression()(Code)(Java Doc) abstract protected boolean isEquivalent(ValueNode other) throws StandardException(Code)(Java Doc) public boolean isParameterNode()(Code)(Java Doc) public boolean isRelationalOperator()(Code)(Java Doc) final protected boolean isSameNodeType(ValueNode other)(Code)(Java Doc) public boolean optimizableEqualityNode(Optimizable optTable, int columnNumber, boolean isNullOkay) throws StandardException(Code)(Java Doc) public ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException(Code)(Java Doc) public ValueNode putAndsOnTop() throws StandardException(Code)(Java Doc) public ValueNode remapColumnReferencesToExpressions() throws StandardException(Code)(Java Doc) public boolean requiresTypeFromContext()(Code)(Java Doc) public double selectivity(Optimizable optTable) throws StandardException(Code)(Java Doc) public void setClause(int clause)(Code)(Java Doc) void setTransformed()(Code)(Java Doc) public void setType(DataTypeDescriptor dataTypeServices) throws StandardException(Code)(Java Doc) public String toString()(Code)(Java Doc) public boolean updatableByCursor()(Code)(Java Doc) public boolean verifyChangeToCNF()(Code)(Java Doc) boolean verifyEliminateNots()(Code)(Java Doc) public boolean verifyPutAndsOnTop()(Code)(Java Doc)
|
Methods inherited from org.apache.derby.impl.sql.compile.QueryTreeNode | public Visitable accept(Visitor v) throws StandardException(Code)(Java Doc) public QueryTreeNode bind() throws StandardException(Code)(Java Doc) public DataValueDescriptor convertDefaultNode(DataTypeDescriptor typeDescriptor) throws StandardException(Code)(Java Doc) protected static void debugFlush()(Code)(Java Doc) public static void debugPrint(String outputString)(Code)(Java Doc) public void disablePrivilegeCollection()(Code)(Java Doc) public String executeSchemaName()(Code)(Java Doc) public String executeStatementName()(Code)(Java Doc) public static String formatNodeString(String nodeString, int depth)(Code)(Java Doc) public boolean foundString(String[] list, String search)(Code)(Java Doc) public GeneratedClass generate(ByteArray ignored) throws StandardException(Code)(Java Doc) protected void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException(Code)(Java Doc) void generateAuthorizeCheck(ActivationClassBuilder acb, MethodBuilder mb, int sqlOperation)(Code)(Java Doc) public int getBeginOffset()(Code)(Java Doc) final protected ClassFactory getClassFactory()(Code)(Java Doc) final protected CompilerContext getCompilerContext()(Code)(Java Doc) final public ContextManager getContextManager()(Code)(Java Doc) public Object getCursorInfo() throws StandardException(Code)(Java Doc) final public DataDictionary getDataDictionary()(Code)(Java Doc) final public DependencyManager getDependencyManager()(Code)(Java Doc) public int getEndOffset()(Code)(Java Doc) final public ExecutionFactory getExecutionFactory()(Code)(Java Doc) final public GenericConstantActionFactory getGenericConstantActionFactory()(Code)(Java Doc) protected int getIntProperty(String value, String key) throws StandardException(Code)(Java Doc) final protected LanguageConnectionContext getLanguageConnectionContext()(Code)(Java Doc) final public NodeFactory getNodeFactory()(Code)(Java Doc) protected int getNodeType()(Code)(Java Doc) public ConstantNode getNullNode(TypeId typeId, ContextManager cm) throws StandardException(Code)(Java Doc) public DataTypeDescriptor[] getParameterTypes() throws StandardException(Code)(Java Doc) public long getRowEstimate()(Code)(Java Doc) public String getSPSName()(Code)(Java Doc) final SchemaDescriptor getSchemaDescriptor(String schemaName) throws StandardException(Code)(Java Doc) final SchemaDescriptor getSchemaDescriptor(String schemaName, boolean raiseError) throws StandardException(Code)(Java Doc) protected int getStatementType()(Code)(Java Doc) final protected TableDescriptor getTableDescriptor(String tableName, SchemaDescriptor schema) throws StandardException(Code)(Java Doc) final protected TypeCompiler getTypeCompiler(TypeId typeId)(Code)(Java Doc) public void init(Object arg1) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11, Object arg12) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13) throws StandardException(Code)(Java Doc) public void init(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10, Object arg11, Object arg12, Object arg13, Object arg14) throws StandardException(Code)(Java Doc) public boolean isAtomic() throws StandardException(Code)(Java Doc) protected boolean isInstanceOf(int nodeType)(Code)(Java Doc) public boolean isPrivilegeCollectionRequired()(Code)(Java Doc) final boolean isSessionSchema(SchemaDescriptor sd)(Code)(Java Doc) final boolean isSessionSchema(String schemaName)(Code)(Java Doc) public ConstantAction makeConstantAction() throws StandardException(Code)(Java Doc) public ResultDescription makeResultDescription() throws StandardException(Code)(Java Doc) public TableName makeTableName(String schemaName, String flatName) throws StandardException(Code)(Java Doc) public boolean needsSavepoint()(Code)(Java Doc) protected String nodeHeader()(Code)(Java Doc) public QueryTreeNode optimize() throws StandardException(Code)(Java Doc) public static QueryTreeNode parseQueryText(CompilerContext compilerContext, String queryText, Object[] paramDefaults, LanguageConnectionContext lcc) throws StandardException(Code)(Java Doc) public void printLabel(int depth, String label)(Code)(Java Doc) public void printSubNodes(int depth)(Code)(Java Doc) public boolean referencesSessionSchema() throws StandardException(Code)(Java Doc) public TableName resolveTableToSynonym(TableName tabName) throws StandardException(Code)(Java Doc) public void setBeginOffset(int beginOffset)(Code)(Java Doc) public void setContextManager(ContextManager cm)(Code)(Java Doc) public void setEndOffset(int endOffset)(Code)(Java Doc) public void setNodeType(int nodeType)(Code)(Java Doc) public void setRefActionInfo(long fkIndexConglomId, int[] fkColArray, String parentResultSetId, boolean dependentScan)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void treePrint()(Code)(Java Doc) public void treePrint(int depth)(Code)(Java Doc) String verifyClassExist(String javaClassName, boolean convertCase) throws StandardException(Code)(Java Doc)
|
|
|