Package | Description |
---|---|
com.akiban.sql.compiler | |
com.akiban.sql.parser |
Modifier and Type | Method and Description |
---|---|
Visitable |
TypeComputer.visit(Visitable node) |
Visitable |
BooleanNormalizer.visit(Visitable node) |
Modifier and Type | Method and Description |
---|---|
boolean |
TypeComputer.skipChildren(Visitable node) |
boolean |
BooleanNormalizer.skipChildren(Visitable node) |
Visitable |
TypeComputer.visit(Visitable node) |
Visitable |
BooleanNormalizer.visit(Visitable node) |
boolean |
TypeComputer.visitChildrenFirst(Visitable node) |
boolean |
BooleanNormalizer.visitChildrenFirst(Visitable node) |
Modifier and Type | Class and Description |
---|---|
class |
AggregateNode
An Aggregate Node is a node that reprsents a set function/aggregate.
|
class |
AggregateWindowFunctionNode
Represents aggregate function calls on a window
|
class |
AllResultColumn
An AllResultColumn represents a "*" result column in a SELECT
statement.
|
class |
AlterAddIndexNode |
class |
AlterDropIndexNode |
class |
AlterServerNode |
class |
AlterTableNode
A AlterTableNode represents a DDL statement that alters a table.
|
class |
AlterTableRenameNode |
class |
AndNode |
class |
BaseColumnNode
A BaseColumnNode represents a column in a base table.
|
class |
BetweenOperatorNode
A BetweenOperatorNode represents a BETWEEN clause.
|
class |
BinaryArithmeticOperatorNode
This node represents a binary arithmetic operator, like + or *.
|
class |
BinaryBitOperatorNode
This node represents a binary arithmetic operator, like + or *.
|
class |
BinaryComparisonOperatorNode
This node is the superclass for all binary comparison operators, such as =,
<>, <, etc.
|
class |
BinaryListOperatorNode
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.
|
class |
BinaryLogicalOperatorNode |
class |
BinaryOperatorNode
A BinaryOperatorNode represents a built-in binary operator as defined by
the ANSI/ISO SQL standard.
|
class |
BinaryRelationalOperatorNode
This class represents the 6 binary operators: LessThan, LessThanEquals,
Equals, NotEquals, GreaterThan and GreaterThanEquals.
|
class |
BitConstantNode |
class |
BooleanConstantNode |
class |
CallStatementNode
An CallStatementNode represents a CALL
|
class |
CastNode
An CastNode represents a cast expressionr.
|
class |
CharConstantNode |
class |
CloseStatementNode
CLOSE an open cursor.
|
class |
CoalesceFunctionNode
This node represents coalesce/value function which returns the first argument that is not null.
|
class |
ColumnDefinitionNode
A ColumnDefinitionNode represents a column definition in a DDL statement.
|
class |
ColumnReference
A ColumnReference represents a column in the query tree.
|
class |
ConcatenationOperatorNode
This node represents a concatenation operator
|
class |
ConditionalNode
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".
|
class |
ConstantNode
ConstantNode holds literal constants as well as nulls.
|
class |
ConstraintDefinitionNode
A ConstraintDefinitionNode is a class for all nodes that can represent
constraint definitions.
|
class |
CopyStatementNode
An CopyStatementNode represents the COPY command.
|
class |
CreateAliasNode
A CreateAliasNode represents a CREATE ALIAS statement.
|
class |
CreateIndexNode
A CreateIndexNode is the root of a QueryTree that represents a CREATE INDEX
statement.
|
class |
CreateRoleNode
A CreateRoleNode is the root of a QueryTree that
represents a CREATE ROLE statement.
|
class |
CreateSchemaNode
A CreateSchemaNode is the root of a QueryTree that
represents a CREATE SCHEMA statement.
|
class |
CreateSequenceNode
A CreateSequenceNode is the root of a QueryTree that
represents a CREATE SEQUENCE statement.
|
class |
CreateTableNode
A CreateTableNode is the root of a QueryTree that represents a CREATE TABLE or DECLARE GLOBAL TEMPORARY TABLE
statement.
|
class |
CreateTriggerNode
A CreateTriggerNode is the root of a QueryTree
that represents a CREATE TRIGGER
statement.
|
class |
CreateViewNode
A CreateViewNode is the root of a QueryTree that represents a CREATE VIEW
statement.
|
class |
CurrentDatetimeOperatorNode
The CurrentDatetimeOperator operator is for the builtin CURRENT_DATE,
CURRENT_TIME, and CURRENT_TIMESTAMP operations.
|
class |
CurrentOfNode
The CurrentOf operator is used by positioned DELETE
and UPDATE to get the current row and location
for the target cursor.
|
class |
CurrentRowLocationNode
The CurrentRowLocation operator is used by DELETE and UPDATE to get the
RowLocation of the current row for the target table.
|
class |
CurrentSequenceNode
A class that represents a value obtained from a Sequence using 'CURRENT VALUE'
|
class |
CursorNode
A CursorNode represents a result set that can be returned to a client.
|
class |
DDLStatementNode
A DDLStatementNode represents any type of DDL statement: CREATE TABLE,
CREATE INDEX, ALTER TABLE, etc.
|
class |
DeallocateStatementNode
DEALLOCATE a prepared statement.
|
class |
DeclareStatementNode
DECLARE a CURSOR on some statement.
|
class |
DefaultNode
DefaultNode represents a column/parameter default.
|
class |
DeleteNode
A DeleteNode represents a DELETE statement.
|
class |
DistinctNode
A DistinctNode represents a result set for a disinct operation
on a select.
|
class |
DMLModStatementNode
A DMLStatement for a table modification: to wit, INSERT
UPDATE or DELETE.
|
class |
DMLStatementNode
A DMLStatementNode represents any type of DML statement: a cursor declaration,
an INSERT statement, and UPDATE statement, or a DELETE statement.
|
class |
DropAliasNode
A DropAliasNode represents a DROP ALIAS statement.
|
class |
DropGroupNode |
class |
DropIndexNode
A DropIndexNode is the root of a QueryTree that represents a DROP INDEX
statement.
|
class |
DropRoleNode
A DropRoleNode is the root of a QueryTree that represents
a DROP ROLE statement.
|
class |
DropSchemaNode
A DropSchemaNode is the root of a QueryTree that represents
a DROP SCHEMA statement.
|
class |
DropSequenceNode
A DropSequenceNode represents a DROP SEQUENCE statement.
|
class |
DropTableNode
A DropTableNode is the root of a QueryTree that represents a DROP TABLE
statement.
|
class |
DropTriggerNode
A DropTriggerNode is the root of a QueryTree that represents a DROP TRIGGER
statement.
|
class |
DropViewNode
A DropViewNode is the root of a QueryTree that represents a DROP VIEW
statement.
|
class |
ExecuteStatementNode
EXECUTE a previously prepare statement.
|
class |
ExplainStatementNode
An ExplainStatementNode represents the EXPLAIN command.
|
class |
ExplicitCollateNode
This node represents a COLLATE clause attached to an expression.
|
class |
ExtractOperatorNode
This node represents a unary extract operator, used to extract
a field from a date/time.
|
class |
FetchStatementNode
FETCH rows from declared cursor.
|
class |
FKConstraintDefinitionNode
A FKConstraintDefintionNode represents table constraint definitions.
|
class |
FromBaseTable
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.
|
class |
FromList
A FromList represents the list of tables in a FROM clause in a DML
statement.
|
class |
FromSubquery
A FromSubquery represents a subquery in the FROM list of a DML statement.
|
class |
FromTable
A FromTable represents a table in the FROM clause of a DML statement.
|
class |
FromVTI
A FromVTI represents a VTI in the FROM list of a DML statement.
|
class |
GenerationClauseNode
This node describes a Generation Clause in a column definition.
|
class |
GetCurrentConnectionNode
This node represents a unary getCurrentConnection operator
|
class |
GrantNode
This class represents a GRANT statement.
|
class |
GrantRoleNode
This class represents a GRANT role statement.
|
class |
GroupByColumn
A GroupByColumn is a column in the GROUP BY clause.
|
class |
GroupByList
A GroupByList represents the list of expressions in a GROUP BY clause in
a SELECT statement.
|
class |
GroupConcatNode |
class |
HalfOuterJoinNode
An HalfOuterJoinNode represents a left or a right outer join result set.
|
class |
IndexColumn
An IndexColumn is the element of an index definition.
|
class |
IndexColumnList
List of IndexColumns.
|
class |
IndexConstraintDefinitionNode |
class |
IndexHintList
MySQL's index hints.
|
class |
IndexHintNode
MySQL's index hint.
|
class |
InListOperatorNode
An InListOperatorNode represents an IN list.
|
class |
InsertNode
An InsertNode is the top node in a query tree for an
insert statement.
|
class |
IntersectOrExceptNode
A IntersectOrExceptNode represents an INTERSECT or EXCEPT DML statement.
|
class |
IsNode |
class |
IsNullNode
This node represents either a unary
IS NULL or IS NOT NULL comparison operator
|
class |
JavaToSQLValueNode
This node type converts a value from the Java domain to the SQL domain.
|
class |
JavaValueNode
This abstract node class represents a data value in the Java domain.
|
class |
JoinNode
A JoinNode represents a join result set for either of the basic DML
operations: SELECT and INSERT.
|
class |
LeftRightFuncOperatorNode |
class |
LengthOperatorNode
This node represents a unary XXX_length operator
|
class |
LikeEscapeOperatorNode
This 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.
|
class |
LockTableNode
A LockTableNode is the root of a QueryTree that represents a LOCK TABLE command:
LOCK TABLE
|
class |
MethodCallNode
A MethodCallNode represents a Java method call.
|
class |
MiscellaneousStatementNode
A MiscellaneousStatement represents any type of statement that doesn't
fit into the well defined categores:
SET (non-transaction).
|
class |
ModifyColumnNode
A ModifyColumnNode represents a modify column in an ALTER TABLE statement.
|
class |
NewInvocationNode
A NewInvocationNode represents a new object() invocation.
|
class |
NextSequenceNode
A class that represents a value obtained from a Sequence using 'NEXT VALUE'
|
class |
NonStaticMethodCallNode
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.
|
class |
NOPStatementNode
A NOPStatement node is for statements that don't do anything.
|
class |
NotNode
A NotNode represents a NOT operator.
|
class |
NumericConstantNode |
class |
OctetLengthOperatorNode
This node represents a unary DB2 compatible length operator
|
class |
OrderByColumn
An OrderByColumn is a column in the ORDER BY clause.
|
class |
OrderByList
An OrderByList is an ordered list of columns in the ORDER BY clause.
|
class |
OrderedColumn
An ordered column has position.
|
class |
OrderedColumnList<N extends OrderedColumn>
List of OrderedColumns
|
class |
OrNode |
class |
ParameterNode
This node type represents a ? parameter.
|
class |
PrepareStatementNode
PREPARE a statement for later execution.
|
class |
PrivilegeNode
This node represents a set of privileges that are granted or revoked on one object.
|
class |
QueryTreeNode
QueryTreeNode is the root class for all query tree nodes.
|
class |
QueryTreeNodeList<N extends QueryTreeNode>
QueryTreeNodeList is the root class for all lists of query tree nodes.
|
class |
RenameNode
A RenameNode is the root of a QueryTree that represents a
RENAME TABLE/COLUMN/INDEX statement.
|
class |
ResultColumn
A ResultColumn represents a result column in a SELECT, INSERT, or UPDATE
statement.
|
class |
ResultColumnList
A ResultColumnList is the target list of a SELECT, INSERT, or UPDATE.
|
class |
ResultSetNode
A ResultSetNode represents a result set, that is, a set of rows.
|
class |
RevokeNode
This class represents a REVOKE statement.
|
class |
RevokeRoleNode
This class represents a REVOKE role statement.
|
class |
RowConstructorNode |
class |
RowCountNode
The result set generated by this node (RowCountResultSet) implements the
filtering of rows needed for the
|
class |
RowNumberFunctionNode
Class that represents a call to the ROW_NUMBER() window function.
|
class |
RowResultSetNode
A RowResultSetNode represents the result set for a single row VALUES clause.
|
class |
RowsResultSetNode
A RowsResultSetNode represents the result set for a multi row VALUES clause.
|
class |
SavepointNode
A SavepointNode is the root of a QueryTree that represents a Savepoint (ROLLBACK savepoint, RELASE savepoint and SAVEPOINT)
statement.
|
class |
SelectNode
A SelectNode represents the result set for any of the basic DML
operations: SELECT, INSERT, UPDATE, and DELETE.
|
class |
SetConfigurationNode
A SET statement for a non-standard configuration variable.
|
class |
SetOperatorNode
A SetOperatorNode represents a UNION, INTERSECT, or EXCEPT in a DML statement.
|
class |
SetRoleNode
A SetRoleNode is the root of a QueryTree that represents a SET ROLE
statement.
|
class |
SetSchemaNode
A SetSchemaNode is the root of a QueryTree that
represents a SET SCHEMA statement.
|
class |
SetTransactionAccessNode
A SetTransactionAccessNode is the root of a QueryTree that represents a SET
TRANSACTION READ ONLY / WRITE command
|
class |
SetTransactionIsolationNode
A SetTransactionIsolationNode is the root of a QueryTree that represents a SET
TRANSACTION ISOLATION command
|
class |
SimpleStringOperatorNode
This node represents a unary upper or lower operator
|
class |
SpecialFunctionNode
SpecialFunctionNode handles system SQL functions.
|
class |
SQLBooleanConstantNode |
class |
SQLToJavaValueNode
This node type converts a value in the SQL domain to a value in the Java
domain.
|
class |
StatementNode
A StatementNode represents a single statement in the language.
|
class |
StaticClassFieldReferenceNode
A StaticClassFieldReferenceNode represents a Java static field reference from
a Class (as opposed to an Object).
|
class |
StaticMethodCallNode
A StaticMethodCallNode represents a static method call from a Class
(as opposed to from an Object).
|
class |
SubqueryList
A SubqueryList represents a list of subquerys within a specific clause
(select, where or having) in a DML statement.
|
class |
SubqueryNode
A SubqueryNode represents a subquery.
|
class |
TableElementList
A TableElementList represents the list of columns and other table elements
such as constraints in a CREATE TABLE or ALTER TABLE statement.
|
class |
TableElementNode
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.
|
class |
TableName
A TableName represents a qualified name, externally represented as a schema name
and an object name separated by a dot.
|
class |
TablePrivilegesNode
This class represents a set of privileges on one table.
|
class |
TernaryOperatorNode
A TernaryOperatorNode represents a built-in ternary operators.
|
class |
TestConstraintNode
A TestConstraintNode is used to determine when a constraint
has been violated.
|
class |
TimestampOperatorNode
The TimestampOperatorNode class implements the timestamp( date, time) function.
|
class |
TransactionControlNode
BEGIN / COMMIT / ROLLBACK.
|
class |
TrimOperatorNode |
class |
UnaryArithmeticOperatorNode
This node represents a unary arithmetic operator
|
class |
UnaryBitOperatorNode
This node represents a unary bit operator
As of now, there is only one such operator: BITNOT.
|
class |
UnaryComparisonOperatorNode
This node is the superclass for all unary comparison operators, such as is null
and is not null.
|
class |
UnaryDateTimestampOperatorNode
This class implements the timestamp(x) and date(x) functions.
|
class |
UnaryLogicalOperatorNode |
class |
UnaryOperatorNode
A UnaryOperatorNode represents a built-in unary operator as defined by
the ANSI/ISO SQL standard.
|
class |
UnionNode
A UnionNode represents a UNION in a DML statement.
|
class |
UntypedNullConstantNode
An UntypedNullConstantNode represents a SQL NULL before it has
been bound.
|
class |
UpdateNode
An UpdateNode represents an UPDATE statement.
|
class |
UserTypeConstantNode
User type constants.
|
class |
ValueNode
A ValueNode is an abstract class for all nodes that can represent data
values, that is, constants, columns, and expressions.
|
class |
ValueNodeList
A ValueNodeList represents a list of ValueNodes within a specific predicate
(eg, IN list, NOT IN list or BETWEEN) in a DML statement.
|
class |
VarbitConstantNode |
class |
VirtualColumnNode
A VirtualColumnNode represents a virtual column reference to a column in
a row returned by an underlying ResultSetNode.
|
class |
WindowDefinitionNode
This class represents an OLAP window definition.
|
class |
WindowFunctionNode
Superclass of any window function call.
|
class |
WindowList
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.
|
class |
WindowNode
Superclass of window definition and window reference.
|
class |
WindowReferenceNode
Represents a reference to an explicitly defined window
|
class |
XMLBinaryOperatorNode
A BinaryOperatorNode represents a built-in binary operator as defined by
the ANSI/ISO SQL standard.
|
class |
XMLConstantNode |
class |
XMLUnaryOperatorNode
A UnaryOperatorNode represents a built-in unary operator as defined by
the ANSI/ISO SQL standard.
|
Modifier and Type | Method and Description |
---|---|
Visitable |
QueryTreeNode.accept(Visitor v)
Accept a visitor, and call
v.visit() on child nodes as
necessary. |
Visitable |
Visitable.accept(Visitor v)
Accept a visitor, and call v.visit()
on child nodes as necessary.
|
Visitable |
HasNodeVisitor.visit(Visitable node)
If we have found the target node, we are done.
|
Visitable |
Visitor.visit(Visitable node)
This is the default visit operation on a
QueryTreeNode.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HasNodeVisitor.skipChildren(Visitable node)
Don't visit childen under the skipOverClass
node, if it isn't null.
|
boolean |
Visitor.skipChildren(Visitable node)
Method that is called to indicate whether
we should skip all nodes below this node
for traversal.
|
Visitable |
HasNodeVisitor.visit(Visitable node)
If we have found the target node, we are done.
|
Visitable |
Visitor.visit(Visitable node)
This is the default visit operation on a
QueryTreeNode.
|
boolean |
HasNodeVisitor.visitChildrenFirst(Visitable node)
Visit parent before children.
|
boolean |
Visitor.visitChildrenFirst(Visitable node)
Method that is called to see if
visit() should be called on
the children of node before it is called on node itself. |
Copyright © 2013. All Rights Reserved.