Package org.apache.derby.impl.sql.compile
package org.apache.derby.impl.sql.compile
-
ClassDescriptionActivationClassBuilder provides an interface to satisfy generation's common tasks in building an activation class, as well as a repository for the JavaFactory used to generate the basic language constructs for the methods in the class.An AggregateDefinition defines an aggregate.An Aggregate Node is a node that represents a set function/aggregate.Represents aggregate function calls on a windowAn AllResultColumn represents a "*" result column in a SELECT statement.A AlterTableNode represents a DDL statement that alters a table.Used for deferrable CHECK constraint.A BaseColumnNode represents a column in a base table.Walk through a subtree and build a list of the assigned numbers for all tables that exist in that subtree.This is the base implementation of TypeCompilerA BetweenOperatorNode represents a BETWEEN clause.This node represents a binary arithmetic operator, like + or *.This node is the superclass for all binary comparison operators, such as =, <>, <, etc.A BinaryListOperatorNode represents a built-in "binary" operator with a single operand on the left of the operator and a list of operands on the right.A BinaryOperatorNode represents a built-in binary operator as defined by the ANSI/ISO SQL standard.This class represents the 6 binary operators: LessThan, LessThanEquals, Equals, NotEquals, GreaterThan and GreaterThanEquals.This class implements TypeCompiler for the SQL BIT datatype.This class implements TypeCompiler for the SQL BOOLEAN datatype.A wrapper class for a
ValueNode
that is referenced multiple places in the abstract syntax tree, but should only be evaluated once.An CallStatementNode represents a CALLstatement. An CastNode represents a cast expression.This interface describes a character stream that maintains line and column number positions of the characters.This class implements TypeCompiler for the SQL char datatypes.This class implements TypeCompiler for the SQL LOB types.This node represents coalesce/value function which returns the first argument that is not null.CollectNodesVisitor<T extends Visitable>Collect all nodes of the designated type to be returned in a list.A ColumnDefinitionNode represents a column definition in a DDL statement.A ColumnReference represents a column in the query tree.Helper class to keep track of remap data when a ColumnReference is remapped multiple times.CompilerContextImpl, implementation of CompilerContext.This node represents a concatenation comparison operator varying.A ConditionalNode represents an if/then/else operator with a single boolean expression on the "left" of the operator and a list of expressions on the "right".This visitor replaces aValueNode
with a node representing a constant value, if theValueNode
is known to always evaluate to the same value.ConstantNode holds literal constants as well as nulls.A ConstraintDefintionNode is a class for all nodes that can represent constraint definitions.Definition for the COUNT()/COUNT(*) aggregates.A CreateAliasNode represents a CREATE ALIAS statement.A CreateIndexNode is the root of a QueryTree that represents a CREATE INDEX statement.A CreateRoleNode is the root of a QueryTree that represents a CREATE ROLE statement.A CreateSchemaNode is the root of a QueryTree that represents a CREATE SCHEMA statement.A CreateSequenceNode is the root of a QueryTree that represents a CREATE SEQUENCE statement.A CreateTableNode is the root of a QueryTree that represents a CREATE TABLE or DECLARE GLOBAL TEMPORARY TABLE statement.A CreateTriggerNode is the root of a QueryTree that represents a CREATE TRIGGER statement.A CreateViewNode is the root of a QueryTree that represents a CREATE VIEW statement.The CurrentDatetimeOperator operator is for the builtin CURRENT_DATE, CURRENT_TIME, and CURRENT_TIMESTAMP operations.The CurrentOf operator is used by positioned DELETE and UPDATE to get the current row and location for the target cursor.The CurrentRowLocation operator is used by DELETE and UPDATE to get the RowLocation of the current row for the target table.A CursorNode represents a result set that can be returned to a client.This node represents a unary DB2 compatible length operatorA DDLStatementNode represents any type of DDL statement: CREATE TABLE, CREATE INDEX, ALTER TABLE, etc.DefaultNode represents a column/parameter default.This is the default optimizer tracing logic for use when a custom tracer wasn't specified.This class implements the default policy for defering modifications to virtual tables.A DeleteNode represents a DELETE statement.A DistinctNode represents a result set for a distinct operation on a select.A DMLModGeneratedColumnsStatementNode for a table(with identity columns) modification: to wit, INSERT, UPDATE.A DMLStatement for a table modification: to wit, INSERT UPDATE or DELETE.A DMLStatementNode represents any type of DML statement: a cursor declaration, an INSERT statement, and UPDATE statement, or a DELETE statement.A DropAliasNode represents a DROP ALIAS statement.A DropIndexNode is the root of a QueryTree that represents a DROP INDEX statement.A DropRoleNode is the root of a QueryTree that represents a DROP ROLE statement.A DropSchemaNode is the root of a QueryTree that represents a DROP SCHEMA statement.A DropSequenceNode represents a DROP SEQUENCE statement.A DropTableNode is the root of a QueryTree that represents a DROP TABLE statement.A DropTriggerNode is the root of a QueryTree that represents a DROP TRIGGER statement.A DropViewNode is the root of a QueryTree that represents a DROP VIEW statement.A ExecSPSNode is the root of a QueryTree that represents an EXECUTE STATEMENT statement.ExpressionClassBuilder provides an interface to satisfy generation's common tasks in building classes that involve expressions.This node represents a unary extract operator, used to extract a field from a date/time.A FKConstraintDefintionNode represents table constraint definitions.A FromBaseTable represents a table in the FROM list of a DML statement, as distinguished from a FromSubquery, which represents a subquery in the FROM list.A FromList represents the list of tables in a FROM clause in a DML statement.A FromSubquery represents a subquery in the FROM list of a DML statement.A FromTable represents a table in the FROM clause of a DML statement.A FromVTI represents a VTI in the FROM list of a DML statement.This node describes a Generation Clause in a column definition.This node represents a unary getCurrentConnection operator RESOLVE - parameter will always be null for now.This class represents a GRANT statement.This class represents a GRANT role statement.A GroupByColumn is a column in the GROUP BY clause.A GroupByList represents the list of expressions in a GROUP BY clause in a SELECT statement.A GroupByNode represents a result set for a grouping operation on a select.Comparator class for GROUP BY expression substitution.An HalfOuterJoinNode represents a left or a right outer join result set.Find out if we have an correlated column reference anywhere below us.A HashTableNode represents a result set where a hash table is built.Find out if we have a particular node anywhere in the tree.Find out if we have a user-defined table function anywhere in the tree.Find out if we have a value node with variant type less than what the caller desires, anywhere below us.This node type translates an index row to a base row.An InListOperatorNode represents an IN list.An InsertNode is the top node in a query tree for an insert statement.A IntersectOrExceptNode represents an INTERSECT or EXCEPT DML statement.This node represents either a unary IS NULL or IS NOT NULL comparison operatorThis node type converts a value from the Java domain to the SQL domain.This abstract node class represents a data value in the Java domain.A JoinNode represents a join result set for either of the basic DML operations: SELECT and INSERT.This node represents a unary XXX_length operatorThis node represents a like comparison operator (no escape) If the like pattern is a constant or a parameter then if possible the like is modified to include a >= and < operator.This class implements TypeCompiler for the SQL LOB types.A LockTableNode is the root of a QueryTree that represents a LOCK TABLE command: LOCK TABLEIN SHARE/EXCLUSIVE MODE Node representing a WHEN MATCHED or WHEN NOT MATCHED clause in a MERGE statement.A MaterializeResultSetNode represents a materialization result set for any child result set that needs one.A MaterializeSubqueryNode is used to replace the nodes for a subquery, to facilitate code generation for materialization if possible.Defintion for the MAX()/MIN() aggregates.A MergeNode represents a MERGE statement.A MethodCallNode represents a Java method call.A MiscellaneousStatement represents any type of statement that doesn't fit into the well defined categories: SET (non-transaction).A ModifyColumnNode represents a modify column in an ALTER TABLE statement.A NewInvocationNode represents a new object() invocation.A class that represents a value obtained from a Sequence using 'NEXT VALUE'A NonStaticMethodCallNode is really a node to represent a (static or non-static) method call from an object (as opposed to a static method call from a class.A NOPStatement node is for statements that don't do anything.A NormalizeResultSetNode represents a normalization result set for any child result set that needs one.A NotNode represents a NOT operator.This class implements TypeId for the SQL numeric datatype.OffsetOrderVisitor<T extends QueryTreeNode>Get all nodes of a certain type in a query tree, and return them in the order in which they appear in the original SQL text.Abstract base-class for the various operator nodes: UnaryOperatorNode, BinaryOperatorNode and TernarnyOperatorNode.This is simply the factory for creating an optimizer.Optimizer uses OptimizableList to keep track of the best join order as it builds it.OptionalTool for tracing the Optimizer.OptionalTool for viewing the output created when you xml-trace the optimizer.An OrderByColumn is a column in the ORDER BY clause.An OrderByList is an ordered list of columns in the ORDER BY clause.An OrderByNode represents a result set for a sort operation for an order by list.An ordered column has position.OrderedColumnList<E extends OrderedColumn>List of OrderedColumnsThis node type represents a ?This exception is thrown when parse errors are encountered.A Predicate represents a top level predicate.A PredicateList represents the list of top level predicates.Inner class which helps statistics routines do their work.Another inner class which is basically a List of Predicate Wrappers.This node represents a set of privileges that are granted or revoked on one object.A ProjectRestrictNode represents a result set for any of the basic DML operations: SELECT, INSERT, UPDATE, and DELETE.QueryTreeNode is the root class for all query tree nodes.QueryTreeNodeVector<E extends QueryTreeNode>QueryTreeNodeVector is the root class for all lists of query tree nodes.Build a JBitSet of all of the referenced tables in the tree.This class implements TypeCompiler for the SQL REF datatype.This interface is an abstraction of a relational operator.Remap/unremap the CRs to the underlying expression.A RenameNode is the root of a QueryTree that represents a RENAME TABLE/COLUMN/INDEX statement.Replace all aggregates with result columns.Replace all occurrences of a specific node with another node.Replace all window function calls with result columns.A ResultColumn represents a result column in a SELECT, INSERT, or UPDATE statement.A ResultColumnList is the target list of a SELECT, INSERT, or UPDATE.A ResultSetNode represents a result set, that is, a set of rows.For ease of pushing order by, offset and fetch first/next clauses into nodes.This class represents a REVOKE statement.This class represents a REVOKE role statement.This node represents a routine signature.The result set generated by this node (RowCountResultSet) implements the filtering of rows needed for theand the . Class that represents a call to the ROW_NUMBER() window function.A RowResultSetNode represents the result set for a VALUES clause.A SavepointNode is the root of a QueryTree that represents a Savepoint (ROLLBACK savepoint, RELASE savepoint and SAVEPOINT) statement.A ScrollInsensitiveResultSetNode represents the insensitive scrolling cursor functionality for any child result set that needs one.A SelectNode represents the result set for any of the basic DML operations: SELECT, INSERT, UPDATE, and DELETE.A SetConstraintsNode is the root of a QueryTree that represents a SET CONSTRAINTS statement.A SetOperatorNode represents a UNION, INTERSECT, or EXCEPT in a DML statement.A SetRoleNode is the root of a QueryTree that represents a SET ROLE statement.A SetSchemaNode is the root of a QueryTree that represents a SET SCHEMA statement.A SetTransactionIsolationNode is the root of a QueryTree that represents a SET TRANSACTION ISOLATION commandThis node represents a unary upper or lower operatorA SingleChildResultSetNode represents a result set with a single child.SpecialFunctionNode handles system SQL functions.This node type converts a value in the SQL domain to a value in the Java domain.A StatementNode represents a single statement in the language.A StaticClassFieldReferenceNode represents a Java static field reference from a Class (as opposed to an Object).A StaticMethodCallNode represents a static method call from a Class (as opposed to from an Object).A SubqueryList represents a list of subqueries within a specific clause (select, where or having) in a DML statement.A SubqueryNode represents a subquery.Replaces a source expression with a target expression.Definition for the SUM()/AVG() aggregates.A TableElementList represents the list of columns and other table elements such as constraints in a CREATE TABLE or ALTER TABLE statement.A TableElementNode is an item in a TableElementList, and represents a single table element such as a column or constraint in a CREATE TABLE or ALTER TABLE statement.A TableName represents a qualified name, externally represented as a schema name and an object name separated by a dot.A TableOperatorNode represents a relational operator like UNION, INTERSECT, JOIN, etc. that takes two tables as parameters and returns a table.This class represents a set of privileges on one table.A TernaryOperatorNode represents a built-in ternary operators.A TestConstraintNode is used to determine when a constraint has been violated.The TimestampOperatorNode class implements the timestamp( date, time) function.Base class for the Token class generated by JavaCC.A TransactionStatementNode represents any type of Transaction statement: SET TRANSACTION, COMMIT, and ROLLBACK.Rudimentary structure for containing information about a REFERENCING clause for a trigger.An implementation of interface CharStream, where the stream is assumed to contain only Unicode characters.This node represents a unary arithmetic operatorThis node is the superclass for all unary comparison operators, such as is null and is not null.This class implements the timestamp( x) and date(x) functions.A UnaryOperatorNode represents a built-in unary operator as defined by the ANSI/ISO SQL standard.A UnionNode represents a UNION in a DML statement.An UntypedNullConstantNode represents a SQL NULL before it has been bound.An UpdateNode represents an UPDATE statement.Definition for user-defined aggregates.User type constants.A ValueNode is an abstract class for all nodes that can represent data values, that is, constants, columns, and expressions.A ValueNodeList represents a list of ValueNodes within a specific predicate e.g.If a RCL (SELECT list) contains an aggregate, then we must verify that the RCL (SELECT list) is valid.A VirtualColumnNode represents a virtual column reference to a column in a row returned by an underlying ResultSetNode.This class applies a VTI modification deferral policy to a statement to see whether it should be deferred.This class represents an OLAP window definition.Superclass of any window function call.A WindowList represents the list of windows (definitions) for a table expression, either defined explicitly in a WINDOW clause, or inline in the SELECT list or ORDER BY clause.Superclass of window definition and window reference.Represents a reference to an explicitly defined windowA WindowResultSetNode represents a result set for a window partitioning on a select.Optimizer tracer which produces output in an xml format.This class implements TypeCompiler for the XML type.