Uses of Interface
org.teiid.query.sql.LanguageObject
-
-
Uses of LanguageObject in org.teiid.api.exception.query
Methods in org.teiid.api.exception.query that return LanguageObject Modifier and Type Method Description LanguageObject
UnresolvedSymbolDescription. getObject()
-
Uses of LanguageObject in org.teiid.dqp.internal.process
Method parameters in org.teiid.dqp.internal.process with type arguments of type LanguageObject Modifier and Type Method Description Set<AbstractMetadataRecord>
AuthorizationValidationVisitor. getInaccessibleResources(DataPolicy.PermissionType action, Map<AbstractMetadataRecord,? extends LanguageObject> resources, DataPolicy.Context context)
Out of the resources specified, return the subset for which the specified not have authorization to access.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. -
Uses of LanguageObject in org.teiid.query.analysis
Method parameters in org.teiid.query.analysis with type arguments of type LanguageObject Modifier and Type Method Description static void
AnalysisRecord. addLanaguageObjects(PlanNode node, String key, Collection<? extends LanguageObject> objects)
-
Uses of LanguageObject in org.teiid.query.optimizer
Classes in org.teiid.query.optimizer that implement LanguageObject Modifier and Type Class Description static class
SourceTriggerActionPlanner.SourceEventCommand
Represents a source event as a Command - is localized here as it's not directly callable by a user -
Uses of LanguageObject in org.teiid.query.optimizer.relational.rules
Methods in org.teiid.query.optimizer.relational.rules with parameters of type LanguageObject Modifier and Type Method 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)
-
Uses of LanguageObject in org.teiid.query.parser
Methods in org.teiid.query.parser that return LanguageObject Modifier and Type Method Description LanguageObject
SQLParser. assignStatementOperand(ParseInfo info)
-
Uses of LanguageObject in org.teiid.query.processor.relational
Methods in org.teiid.query.processor.relational that return types with arguments of type LanguageObject Modifier and Type Method Description Collection<? extends LanguageObject>
ArrayTableNode. getObjects()
Collection<? extends LanguageObject>
BatchedUpdateNode. getObjects()
Collection<? extends LanguageObject>
GroupingNode. getObjects()
Collection<? extends LanguageObject>
JoinNode. getObjects()
Collection<? extends LanguageObject>
ObjectTableNode. getObjects()
Collection<? extends LanguageObject>
PlanExecutionNode. getObjects()
Collection<? extends LanguageObject>
ProjectNode. getObjects()
Collection<? extends LanguageObject>
SelectNode. getObjects()
abstract Collection<? extends LanguageObject>
SubqueryAwareRelationalNode. getObjects()
Collection<? extends LanguageObject>
TextTableNode. getObjects()
Collection<? extends LanguageObject>
WindowFunctionProjectNode. getObjects()
-
Uses of LanguageObject in org.teiid.query.resolver.command
Methods in org.teiid.query.resolver.command with parameters of type LanguageObject Modifier and Type Method Description protected void
SimpleQueryResolver.QueryResolverVisitor. postVisitVisitor(LanguageObject obj)
-
Uses of LanguageObject in org.teiid.query.resolver.util
Methods in org.teiid.query.resolver.util with parameters of type LanguageObject Modifier and Type Method Description static void
ResolverVisitor. resolveLanguageObject(LanguageObject obj, Collection<GroupSymbol> groups, QueryMetadataInterface metadata)
static void
ResolverVisitor. resolveLanguageObject(LanguageObject obj, Collection<GroupSymbol> groups, GroupContext externalContext, QueryMetadataInterface metadata)
static void
ResolverVisitor. resolveLanguageObject(LanguageObject obj, QueryMetadataInterface metadata)
static void
ResolverUtil. setDesiredType(List<DerivedColumn> passing, LanguageObject obj)
static void
ResolverUtil. setDesiredType(List<DerivedColumn> passing, LanguageObject obj, Class<?> type)
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. -
Uses of LanguageObject in org.teiid.query.sql
Methods in org.teiid.query.sql with type parameters of type LanguageObject Modifier and Type Method Description static <S extends LanguageObject,T extends S>
ArrayList<S>LanguageObject.Util. deepClone(Collection<T> collection, Class<S> type)
static <T extends LanguageObject>
T[]LanguageObject.Util. deepClone(T[] collection)
Methods in org.teiid.query.sql that return LanguageObject Modifier and Type Method Description static <T extends LanguageObject>
T[]LanguageObject.Util. deepClone(T[] collection)
Methods in org.teiid.query.sql with parameters of type LanguageObject Modifier and Type Method Description static <T extends LanguageObject>
T[]LanguageObject.Util. deepClone(T[] collection)
-
Uses of LanguageObject in org.teiid.query.sql.lang
Subinterfaces of LanguageObject in org.teiid.query.sql.lang Modifier and Type Interface 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>
Classes in org.teiid.query.sql.lang that implement LanguageObject Modifier and Type Class Description class
AbstractCompareCriteria
The common functionality of aCompareCriteria
and aSubqueryCompareCriteria
.class
AbstractSetCriteria
This is an abstract class to define some common functionality in the two varieties of IN criteria:SetCriteria
(where values are specified) andSubquerySetCriteria
(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 commandsclass
BetweenCriteria
Represents criteria such as: "<expression> [NOT] BETWEEN <lowerExpression> AND <upperExpression>".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 <group> [WHERE <criteria>]".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
ExplainCommand
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 <group> (<variables>) VALUES <values>".class
Into
Rpresent INTO clause in SELECT ...class
IsDistinctCriteria
Represents criteria such as: "<expression> IS DISTINCT FROM <expression>".class
IsNullCriteria
Represents criteria such as: "<expression> IS NULL".class
JoinPredicate
Represents a subpart of the FROM clause specifying a join within the FROM.class
JoinType
This class represents a join type.class
JsonTable
Represents the JSONTABLE table function.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 Classclass
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 <group> SET <element> = <expression>, ...class
WithQueryCommand
class
XMLTable
Methods in org.teiid.query.sql.lang that return LanguageObject Modifier and Type Method Description LanguageObject
IsDistinctCriteria. getLeftRowValue()
LanguageObject
IsDistinctCriteria. getRightRowValue()
Methods in org.teiid.query.sql.lang with parameters of type LanguageObject Modifier and Type Method Description void
IsDistinctCriteria. setLeftRowValue(LanguageObject leftRowValue)
void
IsDistinctCriteria. setRightRowValue(LanguageObject rightRowValue)
-
Uses of LanguageObject in org.teiid.query.sql.navigator
Methods in org.teiid.query.sql.navigator with parameters of type LanguageObject Modifier and Type Method Description static void
DeepPostOrderNavigator. doVisit(LanguageObject object, LanguageVisitor visitor)
static void
DeepPreOrderNavigator. doVisit(LanguageObject object, LanguageVisitor visitor)
static void
PostOrderNavigator. doVisit(LanguageObject object, LanguageVisitor visitor)
static void
PreOrderNavigator. 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)
Method parameters in org.teiid.query.sql.navigator with type arguments of type LanguageObject Modifier and Type Method Description protected void
AbstractNavigator. visitNodes(Collection<? extends LanguageObject> nodes)
-
Uses of LanguageObject in org.teiid.query.sql.proc
Classes in org.teiid.query.sql.proc that implement LanguageObject Modifier and Type Class Description class
AssignmentStatement
This class represents an assignment statement in the storedprocedure language.class
Block
This class represents a group ofStatement
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 statementclass
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. -
Uses of LanguageObject in org.teiid.query.sql.symbol
Subinterfaces of LanguageObject in org.teiid.query.sql.symbol Modifier and Type Interface Description interface
DerivedExpression
interface
Expression
This is the interface for an expression in a SQL string.interface
NamedExpression
An expression with a simple name, such as a function or aggregate functionClasses in org.teiid.query.sql.symbol that implement LanguageObject Modifier and Type Class 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 pairsclass
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 functionclass
WindowFunction
class
WindowSpecification
class
XMLAttributes
Represents XMLATTRIBUTES name value pairsclass
XMLCast
class
XMLElement
Represents XMLElementclass
XMLExists
class
XMLForest
class
XMLNamespaces
class
XMLParse
class
XMLQuery
class
XMLSerialize
-
Uses of LanguageObject in org.teiid.query.sql.visitor
Methods in org.teiid.query.sql.visitor with parameters of type LanguageObject Modifier and Type Method Description static void
CorrelatedReferenceCollectorVisitor. collectReferences(LanguageObject obj, Collection<GroupSymbol> groupSymbols, List<Reference> correlatedReferences, QueryMetadataInterface metadata)
Helper to use this visitor.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. getAggregates(LanguageObject obj, boolean removeDuplicates)
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 collectionstatic 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 collectionstatic void
FunctionCollectorVisitor. getFunctions(LanguageObject obj, Collection<Function> functions, boolean deep)
Helper to quickly get the elements from obj in the elements collectionstatic Collection<GroupSymbol>
GroupCollectorVisitor. getGroups(LanguageObject obj, boolean removeDuplicates)
Helper to quickly get the groups from obj in a collection.static void
GroupCollectorVisitor. getGroups(LanguageObject obj, Collection<GroupSymbol> groups)
Helper to quickly get the groups from obj in the groups collectionstatic Set<GroupSymbol>
GroupsUsedByElementsVisitor. getGroups(LanguageObject obj)
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 collectionstatic 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 collectionstatic Collection<Criteria>
PredicateCollectorVisitor. getPredicates(LanguageObject obj)
Helper to quickly get the predicates from objstatic 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 objstatic 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 evaluatedstatic 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 deterministicstatic 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
AggregateSymbolCollectorVisitor.AggregateStopNavigator. visitNode(LanguageObject obj)
protected void
SQLStringVisitor. 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 planningstatic boolean
EvaluatableVisitor. willBecomeConstant(LanguageObject obj, boolean pushdown)
Method parameters in org.teiid.query.sql.visitor with type arguments of type LanguageObject Modifier and Type Method 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)
-
Uses of LanguageObject in org.teiid.query.validator
Fields in org.teiid.query.validator with type parameters of type LanguageObject Modifier and Type Field Description protected Stack<LanguageObject>
AbstractValidationVisitor. stack
Methods in org.teiid.query.validator that return LanguageObject Modifier and Type Method Description LanguageObject
AbstractValidationVisitor. getExceptionObject()
Methods in org.teiid.query.validator that return types with arguments of type LanguageObject Modifier and Type Method Description Collection<LanguageObject>
ValidatorFailure. getInvalidObjects()
Get the objects that failed validation.Methods in org.teiid.query.validator with parameters of type LanguageObject Modifier and Type Method Description protected void
AbstractValidationVisitor. handleException(TeiidException e, LanguageObject obj)
protected void
AbstractValidationVisitor. handleValidationError(String message, LanguageObject invalidObj)
void
ValidatorReport. 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)
Method parameters in org.teiid.query.validator with type arguments of type LanguageObject Modifier and Type Method Description void
ValidatorReport. collectInvalidObjects(Collection<LanguageObject> invalidObjects)
void
ValidatorReport. handleValidationError(String message, Collection<? extends LanguageObject> invalidObjs)
Constructors in org.teiid.query.validator with parameters of type LanguageObject Constructor Description ValidatorFailure(String description, LanguageObject object)
Constructor parameters in org.teiid.query.validator with type arguments of type LanguageObject Constructor Description ValidatorFailure(String description, Collection<? extends LanguageObject> objects)
-
Uses of LanguageObject in org.teiid.xquery.saxon
Methods in org.teiid.xquery.saxon that return types with arguments of type LanguageObject Modifier and Type Method Description Collection<? extends LanguageObject>
SaxonXMLTableNode. getObjects()
-