Modifier and Type | Method and Description |
---|---|
LanguageObject |
UnresolvedSymbolDescription.getObject() |
Modifier and Type | Method and Description |
---|---|
protected void |
AuthorizationValidationVisitor.validateEntitlements(Collection<? extends LanguageObject> symbols,
DataPolicy.PermissionType actionCode,
DataPolicy.Context auditContext)
Check that the user is entitled to access all data elements in the command.
|
Modifier and Type | Method and Description |
---|---|
static void |
AnalysisRecord.addLanaguageObjects(PlanNode node,
String key,
Collection<? extends LanguageObject> objects) |
Modifier and Type | Class and Description |
---|---|
static class |
SourceTriggerActionPlanner.SourceEventCommand
Represents a source event as a Command - is localized here
as it's not directly callable by a user
|
Modifier and Type | Method and Description |
---|---|
static boolean |
CriteriaCapabilityValidatorVisitor.canPushLanguageObject(LanguageObject obj,
Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord) |
static boolean |
CriteriaCapabilityValidatorVisitor.canPushLanguageObject(LanguageObject obj,
Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CriteriaCapabilityValidatorVisitor.ValidatorOptions parameterObject) |
Modifier and Type | Method and Description |
---|---|
LanguageObject |
SQLParser.assignStatementOperand(ParseInfo info) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends LanguageObject> |
TextTableNode.getObjects() |
Collection<? extends LanguageObject> |
WindowFunctionProjectNode.getObjects() |
abstract Collection<? extends LanguageObject> |
SubqueryAwareRelationalNode.getObjects() |
Collection<? extends LanguageObject> |
SelectNode.getObjects() |
Collection<? extends LanguageObject> |
ProjectNode.getObjects() |
Collection<? extends LanguageObject> |
PlanExecutionNode.getObjects() |
Collection<? extends LanguageObject> |
ObjectTableNode.getObjects() |
Collection<? extends LanguageObject> |
JoinNode.getObjects() |
Collection<? extends LanguageObject> |
GroupingNode.getObjects() |
Collection<? extends LanguageObject> |
BatchedUpdateNode.getObjects() |
Collection<? extends LanguageObject> |
ArrayTableNode.getObjects() |
Modifier and Type | Method and Description |
---|---|
protected void |
SimpleQueryResolver.QueryResolverVisitor.postVisitVisitor(LanguageObject obj) |
Modifier and Type | Method and Description |
---|---|
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
Collection<GroupSymbol> groups,
GroupContext externalContext,
QueryMetadataInterface metadata) |
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
Collection<GroupSymbol> groups,
QueryMetadataInterface metadata) |
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
QueryMetadataInterface metadata) |
static void |
ResolverUtil.setDesiredType(Expression expression,
Class<?> targetType,
LanguageObject surroundingExpression)
Utility to set the type of an expression if it is a Reference and has a null type.
|
static void |
ResolverUtil.setDesiredType(List<DerivedColumn> passing,
LanguageObject obj) |
static void |
ResolverUtil.setDesiredType(List<DerivedColumn> passing,
LanguageObject obj,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
static <S extends LanguageObject,T extends S> |
LanguageObject.Util.deepClone(Collection<T> collection,
Class<S> type) |
static <T extends LanguageObject> |
LanguageObject.Util.deepClone(T[] collection) |
Modifier and Type | Method and Description |
---|---|
static <T extends LanguageObject> |
LanguageObject.Util.deepClone(T[] collection) |
Modifier and Type | Method and Description |
---|---|
static <T extends LanguageObject> |
LanguageObject.Util.deepClone(T[] collection) |
Modifier and Type | Interface and Description |
---|---|
interface |
SubqueryContainer<T extends Command>
This interface defines a common interface for all SQL objects
that contain subqueries.
|
static interface |
SubqueryContainer.Evaluatable<T extends Command> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCompareCriteria
The common functionality of a
CompareCriteria and a
SubqueryCompareCriteria . |
class |
AbstractSetCriteria
This is an abstract class to define some common functionality in the two varieties of
IN criteria:
SetCriteria (where values are specified) and SubquerySetCriteria
(where a subquery is defined and will supply the values for the IN set). |
class |
Alter<T extends Command> |
class |
AlterProcedure |
class |
AlterTrigger |
class |
AlterView |
class |
ArrayTable
Represents the ArrayTable table function.
|
class |
AtomicCriteria
This abstract class represents an atomic logical criteria.
|
class |
BatchedUpdateCommand
Represents a batch of INSERT, UPDATE, DELETE, and SELECT INTO commands
|
class |
BetweenCriteria
Represents criteria such as: "
|
class |
Command
A Command is an interface for all the language objects that are at the root
of a language object tree representing a SQL statement.
|
class |
CompareCriteria
A criteria which represents a simple operator relationship between two expressions.
|
class |
CompoundCriteria
This class represents a compound criteria for logical expressions.
|
class |
Create |
class |
Criteria
This class represents the criteria clause for a query, which defines
constraints on the data values to be retrieved for each parameter in the
select clause.
|
class |
Delete
This class represents a SQL Delete statement of the form:
"DELETE FROM
|
class |
DependentSetCriteria
The DependentSetCriteria is missing the value set until it is filled during
processing.
|
class |
Drop |
class |
DynamicCommand |
class |
ExistsCriteria
This predicate criteria implements the "exists" predicate, which has
a subquery in it.
|
class |
ExpressionCriteria |
class |
From
Represents a FROM clause in a SELECT query.
|
class |
FromClause
A FromClause is an interface for subparts held in a FROM clause.
|
class |
GroupBy
This class represents the GROUP BY clause of a query, which defines the expressions
that should be used for grouping the results of the query.
|
class |
ImmutableCompareCriteria |
class |
Insert
Represents a SQL Insert statement of the form:
"INSERT INTO
|
class |
Into
Rpresent INTO clause in SELECT ...
|
class |
IsDistinctCriteria
Represents criteria such as: "
|
class |
IsNullCriteria
Represents criteria such as: "
|
class |
JoinPredicate
Represents a subpart of the FROM clause specifying a join within the FROM.
|
class |
JoinType
This class represents a join type.
|
class |
Limit |
class |
LogicalCriteria
This class represents a criteria that works by logically combining other
criteria.
|
class |
MatchCriteria
This class represents a criteria involving a string expression to be matched
against a string expression match value.
|
class |
NotCriteria
A logical criteria that takes the logical NOT of the contained criteria.
|
class |
ObjectTable |
class |
Option
Represents MetaMatrix extension options to normal SQL.
|
class |
OrderBy
Represents the ORDER BY clause of a query.
|
class |
OrderByItem |
class |
PredicateCriteria
This abstract class represents a predicate criteria, which involves some
statement involving expressions and can be evaluated in the context of
a single row of data to be either true or false.
|
class |
ProcedureContainer |
class |
Query
A representation of a data query.
|
class |
QueryCommand
This is a common super class for the two types of query commands: Query and SetQuery.
|
class |
Select
This class represents the SELECT clause of a query, which defines what elements
or expressions are returned from the query.
|
class |
SetClause |
class |
SetClauseList |
class |
SetCriteria
A criteria which is true is the expression's value is a member in a list
of values.
|
class |
SetQuery
This object acts as a Set operator on multiple Queries - UNION,
INTERSECT, and EXCEPT can be implemented with this Class
|
class |
StoredProcedure
Represents a StoredProcedure statement of the form:
|
class |
SubqueryCompareCriteria
This class implements a quantified comparison predicate.
|
class |
SubqueryFromClause
A FROM subpart that represents a subquery.
|
class |
SubquerySetCriteria
A criteria which is true is the expression's value is a member in a list
of values returned from a subquery.
|
class |
TableFunctionReference |
class |
TextTable
Represents the TEXTTABLE table function.
|
class |
UnaryFromClause
A FROM subpart that represents a single group.
|
class |
Update
Represents a SQL Update statement of the form:
"UPDATE
|
class |
WithQueryCommand |
class |
XMLTable |
Modifier and Type | Method and Description |
---|---|
LanguageObject |
IsDistinctCriteria.getLeftRowValue() |
LanguageObject |
IsDistinctCriteria.getRightRowValue() |
Modifier and Type | Method and Description |
---|---|
void |
IsDistinctCriteria.setLeftRowValue(LanguageObject leftRowValue) |
void |
IsDistinctCriteria.setRightRowValue(LanguageObject rightRowValue) |
Modifier and Type | Method and Description |
---|---|
static void |
PreOrderNavigator.doVisit(LanguageObject object,
LanguageVisitor visitor) |
static void |
PostOrderNavigator.doVisit(LanguageObject object,
LanguageVisitor visitor) |
static void |
DeepPreOrderNavigator.doVisit(LanguageObject object,
LanguageVisitor visitor) |
static void |
DeepPostOrderNavigator.doVisit(LanguageObject object,
LanguageVisitor visitor) |
static void |
PreOrPostOrderNavigator.doVisit(LanguageObject object,
LanguageVisitor visitor,
boolean order) |
static void |
PreOrPostOrderNavigator.doVisit(LanguageObject object,
LanguageVisitor visitor,
boolean order,
boolean deep) |
protected void |
PreOrPostOrderNavigator.postVisitVisitor(LanguageObject obj) |
protected void |
PreOrPostOrderNavigator.preVisitVisitor(LanguageObject obj) |
protected void |
AbstractNavigator.visitNode(LanguageObject obj) |
protected void |
AbstractNavigator.visitVisitor(LanguageObject obj) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractNavigator.visitNodes(Collection<? extends LanguageObject> nodes) |
Modifier and Type | Class and Description |
---|---|
class |
AssignmentStatement
This class represents an assignment statement in the storedprocedure language.
|
class |
Block
This class represents a group of
Statement objects. |
class |
BranchingStatement
This class represents a break statement in the storedprocedure language.
|
class |
CommandStatement
This class represents a variable assignment statement in the storedprocedure language.
|
class |
CreateProcedureCommand
This class represents a update procedure in the storedprocedure language.
|
class |
DeclareStatement
This class represents a statement used to declare variables in the
storedprocedure language.
|
class |
ExceptionExpression |
class |
IfStatement
This class represents an if-else statement in the storedprocedure language.
|
class |
LoopStatement
This class represents a loop statement in the storedprocedure language
to cursor through a result set.
|
class |
RaiseStatement
This class represents a error assignment statement in the storedprocedure language.
|
class |
ReturnStatement
This class represents a return statement
|
class |
Statement
This class represents the a statement in the stored procedure language.
|
class |
TriggerAction |
class |
WhileStatement
This class represents a while statement in the storedprocedure language.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DerivedExpression |
interface |
Expression
This is the interface for an expression in a SQL string.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCaseExpression |
class |
AggregateSymbol
An aggregate symbol represents an aggregate function.
|
class |
AliasSymbol
An AliasSymbol wraps a SingleElementSymbol and changes it's name.
|
class |
Array |
class |
CaseExpression |
class |
Constant
This class represents a literal value in a SQL string.
|
class |
DerivedColumn |
class |
ElementSymbol
This is a subclass of Symbol representing a single element.
|
class |
ExpressionSymbol |
class |
Function
Represents a function in a sql statement.
|
class |
GroupSymbol
This is the server's representation of a metadata group symbol.
|
class |
JSONObject |
class |
MultipleElementSymbol
This is a subclass of Symbol representing multiple output columns.
|
class |
QueryString
Represents query string name value pairs
|
class |
Reference
This class represents a reference (positional from the user query, or
to an element from another scope).
|
class |
ScalarSubquery
This is an Expression implementation that can be used in a SELECT clause.
|
class |
SearchedCaseExpression |
class |
Symbol
This is the server's representation of a metadata symbol.
|
class |
TextLine
Represents the only allowable expression for the textagg aggregate.
|
class |
WindowFrame
Defines with window frame for a window function
|
class |
WindowFunction |
class |
WindowSpecification |
class |
XMLAttributes
Represents XMLATTRIBUTES name value pairs
|
class |
XMLCast |
class |
XMLElement
Represents XMLElement
|
class |
XMLExists |
class |
XMLForest |
class |
XMLNamespaces |
class |
XMLParse |
class |
XMLQuery |
class |
XMLSerialize |
Modifier and Type | Method and Description |
---|---|
static void |
CorrelatedReferenceCollectorVisitor.collectReferences(LanguageObject obj,
Collection<GroupSymbol> groupSymbols,
List<Reference> correlatedReferences,
QueryMetadataInterface metadata)
Helper to use this visitor.
|
static Collection<ElementSymbol> |
ElementCollectorVisitor.getAggregates(LanguageObject obj,
boolean removeDuplicates) |
static Collection<AggregateSymbol> |
AggregateSymbolCollectorVisitor.getAggregates(LanguageObject obj,
boolean removeDuplicates) |
static void |
AggregateSymbolCollectorVisitor.getAggregates(LanguageObject obj,
Collection<? super AggregateSymbol> aggregates,
Collection<? super ElementSymbol> otherElements,
Collection<? super Expression> groupingColsUsed,
Collection<? super WindowFunction> windowFunctions,
Collection<? extends Expression> groupingCols) |
static Collection<ElementSymbol> |
ElementCollectorVisitor.getElements(LanguageObject obj,
boolean removeDuplicates)
Helper to quickly get the elements from obj in a collection.
|
static Collection<ElementSymbol> |
ElementCollectorVisitor.getElements(LanguageObject obj,
boolean removeDuplicates,
boolean useDeepIteration)
Helper to quickly get the elements from obj in a collection.
|
static Collection<ElementSymbol> |
ElementCollectorVisitor.getElements(LanguageObject obj,
boolean removeDuplicates,
boolean useDeepIteration,
boolean aggsOnly) |
static void |
ElementCollectorVisitor.getElements(LanguageObject obj,
Collection<? super ElementSymbol> elements)
Helper to quickly get the elements from obj in the elements collection
|
static Collection<Function> |
FunctionCollectorVisitor.getFunctions(LanguageObject obj,
boolean removeDuplicates)
Helper to quickly get the elements from obj in a collection.
|
static Collection<Function> |
FunctionCollectorVisitor.getFunctions(LanguageObject obj,
boolean removeDuplicates,
boolean deep) |
static void |
FunctionCollectorVisitor.getFunctions(LanguageObject obj,
Collection<Function> functions)
Helper to quickly get the elements from obj in the elements collection
|
static void |
FunctionCollectorVisitor.getFunctions(LanguageObject obj,
Collection<Function> functions,
boolean deep)
Helper to quickly get the elements from obj in the elements collection
|
static Set<GroupSymbol> |
GroupsUsedByElementsVisitor.getGroups(LanguageObject obj)
Helper to quickly get the groups from obj in a collection.
|
static Collection<GroupSymbol> |
GroupCollectorVisitor.getGroups(LanguageObject obj,
boolean removeDuplicates)
Helper to quickly get the groups from obj in a collection.
|
static void |
GroupsUsedByElementsVisitor.getGroups(LanguageObject obj,
Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the elements collection
|
static void |
GroupCollectorVisitor.getGroups(LanguageObject obj,
Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the groups collection
|
static Collection<GroupSymbol> |
GroupCollectorVisitor.getGroupsIgnoreInlineViews(LanguageObject obj,
boolean removeDuplicates)
Helper to quickly get the groups from obj in a collection.
|
static void |
GroupCollectorVisitor.getGroupsIgnoreInlineViewsAndEvaluatableSubqueries(LanguageObject obj,
Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the groups collection
|
static Collection<Criteria> |
PredicateCollectorVisitor.getPredicates(LanguageObject obj)
Helper to quickly get the predicates from obj
|
static List<Reference> |
ReferenceCollectorVisitor.getReferences(LanguageObject obj)
Helper to quickly get the references from obj in a collection.
|
static String |
SQLStringVisitor.getSQLString(LanguageObject obj)
Helper to quickly get the parser string for an object using the visitor.
|
static List<SubqueryContainer<?>> |
ValueIteratorProviderCollectorVisitor.getValueIteratorProviders(LanguageObject obj)
Helper to quickly get the ValueIteratorProvider instances from obj
|
static void |
ValueIteratorProviderCollectorVisitor.getValueIteratorProviders(LanguageObject obj,
List<SubqueryContainer<?>> valueIteratorProviders) |
static boolean |
EvaluatableVisitor.isEvaluatable(LanguageObject obj,
EvaluatableVisitor.EvaluationLevel target) |
static boolean |
EvaluatableVisitor.isFullyEvaluatable(LanguageObject obj,
boolean duringPlanning)
Should be called to check if the object can fully evaluated
|
static boolean |
FunctionCollectorVisitor.isNonDeterministic(LanguageObject ex)
Checks to see if the object is non-deterministic
iff all function are non-deterministic, and all correlated subqueries are deterministic
|
static void |
ExpressionMappingVisitor.mapExpressions(LanguageObject obj,
Map<? extends Expression,? extends Expression> exprMap)
The object is modified in place, so is not returned.
|
static void |
ExpressionMappingVisitor.mapExpressions(LanguageObject obj,
Map<? extends Expression,? extends Expression> exprMap,
boolean deep)
The object is modified in place, so is not returned.
|
static void |
StaticSymbolMappingVisitor.mapSymbols(LanguageObject obj,
Map symbolMap) |
static boolean |
EvaluatableVisitor.needsProcessingEvaluation(LanguageObject obj) |
protected void |
SQLStringVisitor.visitNode(LanguageObject obj) |
protected void |
AggregateSymbolCollectorVisitor.AggregateStopNavigator.visitNode(LanguageObject obj) |
static boolean |
EvaluatableVisitor.willBecomeConstant(LanguageObject obj)
Will return true if the expression can be deterministically evaluated at runtime, but it may not be
evaluatable during planning
|
static boolean |
EvaluatableVisitor.willBecomeConstant(LanguageObject obj,
boolean pushdown) |
Modifier and Type | Method and Description |
---|---|
static void |
ElementCollectorVisitor.getElements(Collection<? extends LanguageObject> objs,
Collection<ElementSymbol> elements) |
static Set<GroupSymbol> |
GroupsUsedByElementsVisitor.getGroups(Collection<? extends LanguageObject> objects) |
static void |
GroupsUsedByElementsVisitor.getGroups(Collection<? extends LanguageObject> objects,
Set<GroupSymbol> groups) |
static List<SubqueryContainer<?>> |
ValueIteratorProviderCollectorVisitor.getValueIteratorProviders(Collection<? extends LanguageObject> languageObjects) |
Modifier and Type | Field and Description |
---|---|
protected Stack<LanguageObject> |
AbstractValidationVisitor.stack |
Modifier and Type | Method and Description |
---|---|
LanguageObject |
AbstractValidationVisitor.getExceptionObject() |
Modifier and Type | Method and Description |
---|---|
Collection<LanguageObject> |
ValidatorFailure.getInvalidObjects()
Get the objects that failed validation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractValidationVisitor.handleException(TeiidException e,
LanguageObject obj) |
void |
ValidatorReport.handleValidationError(String message,
LanguageObject invalidObj) |
protected void |
AbstractValidationVisitor.handleValidationError(String message,
LanguageObject invalidObj) |
static ValidatorReport |
Validator.validate(LanguageObject object,
QueryMetadataInterface metadata) |
static ValidatorReport |
Validator.validate(LanguageObject object,
QueryMetadataInterface metadata,
AbstractValidationVisitor visitor) |
void |
ValidationVisitor.validateXMLContentTypes(Expression expression,
LanguageObject parent) |
Modifier and Type | Method and Description |
---|---|
void |
ValidatorReport.collectInvalidObjects(Collection<LanguageObject> invalidObjects) |
void |
ValidatorReport.handleValidationError(String message,
Collection<? extends LanguageObject> invalidObjs) |
Constructor and Description |
---|
ValidatorFailure(String description,
LanguageObject object) |
Constructor and Description |
---|
ValidatorFailure(String description,
Collection<? extends LanguageObject> objects) |
Copyright © 2019. All rights reserved.