Package | Description |
---|---|
org.teiid.language | |
org.teiid.language.visitor |
Modifier and Type | Interface and Description |
---|---|
interface |
BatchedCommand
Deprecated.
|
interface |
BulkCommand
A command the can optionally provide bulk values for
Parameter s |
interface |
Command
Represents a command in the language objects.
|
interface |
Expression
Represents an expression in the language.
|
interface |
InsertValueSource |
interface |
TableReference
Represents an item in the FROM clause
|
Modifier and Type | Class and Description |
---|---|
class |
AggregateFunction
Represents an aggregate function.
|
class |
AndOr
Represents a logical criteria such as AND, OR, or NOT.
|
class |
Argument |
class |
Array |
class |
BaseInCondition |
class |
BaseLanguageObject |
class |
BatchedUpdates
Represents a batch of INSERT, UPDATE and DELETE commands to be executed together.
|
class |
Call
Represents a procedural execution (such as a stored procedure).
|
class |
ColumnReference
Represents an element in the language.
|
class |
Comparison
Represents a comparison between two expressions connected with
one of the following operators: =, <>, <, <=, >, >=.
|
class |
Condition
Represents criteria, which is also a boolean expression
|
class |
Delete
Represents a DELETE command.
|
class |
DerivedColumn |
class |
DerivedTable
Represents a derived table or inline view in the from clause.
|
class |
Exists
Represents an EXISTS criteria that checks whether any results would be
returned from a subquery.
|
class |
ExpressionValueSource |
class |
Function
Represents a function.
|
class |
GroupBy
Represents a GROUP BY clause in a query.
|
class |
In |
class |
Insert |
class |
IsDistinct
Represents a comparison between two expressions with null equality
|
class |
IsNull
Represents an IS NULL predicate.
|
class |
Join |
class |
Like |
class |
Limit
Represents a LIMIT clause with row offset and row limit values to bound the resulting rows
|
class |
Literal
Represents a literal value that is used in
an expression.
|
class |
NamedProcedureCall
Represents a procedure call that returns a table.
|
class |
NamedTable
Represents a table in the language objects.
|
class |
Not |
class |
OrderBy
Represents an ORDER BY clause in a command.
|
class |
Parameter |
class |
QueryExpression |
class |
ScalarSubquery
Represents a scalar subquery.
|
class |
SearchedCase
Represents a searched CASE expression:
CASE WHEN criteria THEN expression ... |
class |
SearchedWhenClause |
class |
Select
Represents a simple SELECT query.
|
class |
SetClause |
class |
SetQuery |
class |
SortSpecification |
class |
SubqueryComparison
Represents a quantified comparison criteria.
|
class |
SubqueryIn
Represents an IN criteria that uses a subquery on the right side rather than a
list of values.
|
class |
Update
Represents an UPDATE command in the language objects.
|
class |
WindowFrame
Defines with window frame for a window function
|
class |
WindowFunction |
class |
WindowSpecification |
class |
With |
class |
WithItem |
Modifier and Type | Method and Description |
---|---|
void |
SQLStringVisitor.append(LanguageObject obj)
Appends the string form of the LanguageObject to the current buffer.
|
protected void |
SQLStringVisitor.append(LanguageObject[] items)
Simple utility to append an array of language objects to the current buffer
by creating a comma-separated list.
|
static Collection<ColumnReference> |
CollectorVisitor.collectElements(LanguageObject object)
This is a utility method for a common use of this visitor, which is to collect
all elements in an object tree.
|
static Collection<NamedTable> |
CollectorVisitor.collectGroups(LanguageObject object)
This is a utility method for a common use of this visitor, which is to collect
all groups in an object tree.
|
static Set<NamedTable> |
CollectorVisitor.collectGroupsUsedByElements(LanguageObject object)
This is a utility method for a common use of this visitor, which is to collect
all groups used by all elements in an object tree.
|
static <T> Collection<T> |
CollectorVisitor.collectObjects(Class<T> type,
LanguageObject object)
This is a utility method to instantiate and run the visitor in conjunction
with a HierarchyVisitor to collect all objects of the specified type
of the specified tree in the language object tree.
|
static String |
SQLStringVisitor.getSQLString(LanguageObject obj)
Gets the SQL string representation for a given LanguageObject.
|
static void |
DelegatingHierarchyVisitor.postOrderVisit(LanguageObjectVisitor behaviorVisitor,
LanguageObject object)
This utility method can be used to execute the behaviorVisitor in a post-order walk
of the language objects.
|
static void |
DelegatingHierarchyVisitor.preOrderVisit(LanguageObjectVisitor behaviorVisitor,
LanguageObject object)
This utility method can be used to execute the behaviorVisitor in a pre-order walk
of the language objects.
|
void |
DelegatingHierarchyVisitor.visitNode(LanguageObject obj) |
void |
CollectorVisitor.visitNode(LanguageObject obj) |
void |
AbstractLanguageVisitor.visitNode(LanguageObject obj)
Visit the LanguageObject instance to perform the Visitor's operation on
that instance.
|
void |
AbstractLanguageVisitor.visitNodes(LanguageObject[] nodes)
Visits an array of LanguageObjects in order.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SQLStringVisitor.append(List<? extends LanguageObject> items)
Simple utility to append a list of language objects to the current buffer
by creating a comma-separated list.
|
void |
AbstractLanguageVisitor.visitNodes(Collection<? extends LanguageObject> nodes)
Visits a Collection of LanguageObjects in iteration order.
|
Copyright © 2020. All rights reserved.