|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Uses of QueryMetadataInterface in org.teiid.query.metadata |
|---|
| Classes in org.teiid.query.metadata that implement QueryMetadataInterface | |
|---|---|
class |
BasicQueryMetadata
This is an abstract implementation of the metadata interface. |
class |
BasicQueryMetadataWrapper
|
class |
TempMetadataAdapter
This is an adapter class, it contains another instance of QueryMetadataInterface as well as a TempMetadataStore. |
class |
TransformationMetadata
Teiid's implementation of the QueryMetadataInterface that reads columns, groups, models etc. |
| Fields in org.teiid.query.metadata declared as QueryMetadataInterface | |
|---|---|
protected QueryMetadataInterface |
BasicQueryMetadataWrapper.actualMetadata
|
| Methods in org.teiid.query.metadata that return QueryMetadataInterface | |
|---|---|
QueryMetadataInterface |
TempMetadataAdapter.getMetadata()
|
| Constructors in org.teiid.query.metadata with parameters of type QueryMetadataInterface | |
|---|---|
BasicQueryMetadataWrapper(QueryMetadataInterface actualMetadata)
|
|
TempMetadataAdapter(QueryMetadataInterface metadata,
TempMetadataStore tempStore)
|
|
TempMetadataAdapter(QueryMetadataInterface metadata,
TempMetadataStore tempStore,
java.util.Map materializationTables,
java.util.Map queryNodes)
|
|
| Uses of QueryMetadataInterface in org.teiid.query.optimizer |
|---|
| Methods in org.teiid.query.optimizer with parameters of type QueryMetadataInterface | |
|---|---|
static boolean |
BatchedUpdatePlanner.isEligibleForBatching(Command command,
QueryMetadataInterface metadata)
Returns whether a command can be placed in a connector batch |
ProcessorPlan |
BatchedUpdatePlanner.optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Optimizes batched updates by batching all contiguous commands that relate to the same physical model. |
ProcessorPlan |
ProcedurePlanner.optimize(Command procCommand,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Produce a ProcessorPlan for the CreateUpdateProcedureCommand on the current node of the CommandTreeNode, the procedure plan construction involves using the child processor plans. |
ProcessorPlan |
CommandPlanner.optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Allows the planner a chance to optimize the canonical plan(s) stored in the CommandTreeNode tree. |
static ProcessorPlan |
QueryOptimizer.optimizePlan(Command command,
QueryMetadataInterface metadata,
IDGenerator idGenerator,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
| Uses of QueryMetadataInterface in org.teiid.query.optimizer.relational |
|---|
| Fields in org.teiid.query.optimizer.relational declared as QueryMetadataInterface | |
|---|---|
protected QueryMetadataInterface |
PlanToProcessConverter.metadata
|
| Methods in org.teiid.query.optimizer.relational with parameters of type QueryMetadataInterface | |
|---|---|
PlanNode |
OptimizerRule.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
static java.lang.Object |
RelationalPlanner.getGlobalTempTableMetadataId(GroupSymbol table,
java.lang.String matTableName,
CommandContext context,
QueryMetadataInterface metadata,
AnalysisRecord analysisRecord)
|
void |
RelationalPlanner.initialize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
static boolean |
RelationalPlanner.isNoCacheGroup(QueryMetadataInterface metadata,
java.lang.Object metadataID,
Option option)
|
| Constructors in org.teiid.query.optimizer.relational with parameters of type QueryMetadataInterface | |
|---|---|
PlanToProcessConverter(QueryMetadataInterface metadata,
IDGenerator idGenerator,
AnalysisRecord analysisRecord,
CapabilitiesFinder capFinder)
|
|
| Uses of QueryMetadataInterface in org.teiid.query.optimizer.relational.rules |
|---|
| Methods in org.teiid.query.optimizer.relational.rules with parameters of type QueryMetadataInterface | |
|---|---|
void |
RulePushAggregates.addView(PlanNode root,
PlanNode unionSource,
boolean pushdown,
java.util.List<SingleElementSymbol> groupingExpressions,
java.util.Set<AggregateSymbol> aggregates,
java.util.List<ElementSymbol> virtualElements,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static java.util.Map<ElementSymbol,Expression> |
FrameUtil.buildSymbolMap(GroupSymbol oldGroup,
GroupSymbol newGroup,
QueryMetadataInterface metadata)
creates a symbol map of elements in oldGroup mapped to corresponding elements in newGroup if newGroup is null, then a mapping of oldGroup elements to null constants will be returned |
static boolean |
CriteriaCapabilityValidatorVisitor.canPushLanguageObject(LanguageObject obj,
java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord)
|
static float |
NewCalculateCostUtil.computeCostForDepJoin(PlanNode joinNode,
boolean leftIndependent,
JoinNode.JoinStrategyType joinStrategy,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
CommandContext context)
Computes the cost of a Dependent Join The worst possible cost will arise from a high independent ndv (many dependent sets) and a low dependent ndv (possibly many matches per set) This logic uses the same assumption as criteria in that ndv is used as a divisor of cardinality. |
static float |
NewCalculateCostUtil.computeCostForJoin(PlanNode leftChildNode,
PlanNode rightChildNode,
JoinNode.JoinStrategyType joinStrategy,
QueryMetadataInterface metadata,
CommandContext context)
Computes the cost of a Merge Join |
static void |
FrameUtil.convertFrame(PlanNode startNode,
GroupSymbol oldGroup,
java.util.Set<GroupSymbol> newGroups,
java.util.Map symbolMap,
QueryMetadataInterface metadata)
|
PlanNode |
RuleRemoveOptionalJoins.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleValidateWhereAll.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Verifies that a model with "supports where all" is being passed an atomic query with a criteria. |
PlanNode |
RuleChooseJoinStrategy.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlanSorts.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleMergeCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleAccessPatternValidation.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleCollapseSource.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlanProcedures.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleChooseDependent.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlanJoins.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlanUnions.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePlaceAccess.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleMergeVirtual.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePushSelectCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule as described in the class comments. |
PlanNode |
RuleAssignOutputElements.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule. |
PlanNode |
RuleRaiseAccess.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePushNonJoinCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule as described in the class comments. |
PlanNode |
RuleCleanCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePushAggregates.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleRaiseNull.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleCopyCriteria.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
Execute the rule as described in the class comments. |
PlanNode |
RuleImplementJoinStrategy.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RuleCalculateCost.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
PlanNode |
RulePushLimit.execute(PlanNode plan,
QueryMetadataInterface metadata,
CapabilitiesFinder capabilitiesFinder,
RuleStack rules,
AnalysisRecord analysisRecord,
CommandContext context)
|
static ExecutionFactory.NullOrder |
CapabilitiesUtil.getDefaultNullOrder(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static int |
CapabilitiesUtil.getMaxFromGroups(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static int |
CapabilitiesUtil.getMaxInCriteriaSize(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static ExecutionFactory.SupportedJoinCriteria |
CapabilitiesUtil.getSupportedJoinCriteria(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
JoinUtil.isNullDependent(QueryMetadataInterface metadata,
java.util.Collection<GroupSymbol> innerGroups,
Criteria crit)
Returns true if the given criteria can be anything other than false (or unknown) given all null values for elements in the inner groups |
static boolean |
JoinUtil.isNullDependent(QueryMetadataInterface metadata,
java.util.Collection<GroupSymbol> innerGroups,
Expression expr)
|
static boolean |
CapabilitiesUtil.isSameConnector(java.lang.Object modelID,
java.lang.Object modelID1,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.requiresCriteria(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supports(SourceCapabilities.Capability cap,
java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsAggregateFunction(java.lang.Object modelID,
AggregateSymbol aggregate,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsAggregates(java.util.List groupCols,
java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsCaseExpression(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsGroupAliases(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsJoin(java.lang.Object modelID,
JoinType joinType,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsOrderBy(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsRowLimit(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsRowOffset(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsScalarFunction(java.lang.Object modelID,
Function function,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsSearchedCaseExpression(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsSelectDistinct(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsSelectExpression(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsSelfJoins(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsSetOp(java.lang.Object modelID,
SetQuery.Operation setOp,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.supportsSetQueryOrderBy(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
CapabilitiesUtil.useAnsiJoin(java.lang.Object modelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder)
|
static boolean |
NewCalculateCostUtil.usesKey(Criteria crit,
QueryMetadataInterface metadata)
|
static java.lang.Object |
CriteriaCapabilityValidatorVisitor.validateCommandPushdown(java.lang.Object critNodeModelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
QueryCommand queryCommand)
|
static java.lang.Object |
CriteriaCapabilityValidatorVisitor.validateSubqueryPushdown(SubqueryContainer subqueryContainer,
java.lang.Object critNodeModelID,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord)
Return null if the subquery cannot be pushed down, otherwise the model id of the pushdown target. |
| Uses of QueryMetadataInterface in org.teiid.query.optimizer.xml |
|---|
| Methods in org.teiid.query.optimizer.xml with parameters of type QueryMetadataInterface | |
|---|---|
static Criteria |
XMLNodeMappingVisitor.convertCriteria(Criteria simpleCrit,
MappingDocument rootNode,
QueryMetadataInterface metadata)
Convert the criteria from names using document identifiers to names using result set (i.e. |
static LanguageObject |
XMLNodeMappingVisitor.convertObject(LanguageObject object,
MappingDocument rootNode,
QueryMetadataInterface metadata)
|
static GroupSymbol |
QueryUtil.createResolvedGroup(GroupSymbol group,
QueryMetadataInterface metadata)
|
static GroupSymbol |
QueryUtil.createResolvedGroup(java.lang.String groupName,
QueryMetadataInterface metadata)
|
ProcessorPlan |
XMLPlanner.optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
|
| Constructors in org.teiid.query.optimizer.xml with parameters of type QueryMetadataInterface | |
|---|---|
XMLNodeMappingVisitor(MappingDocument rootNode,
QueryMetadataInterface metadata)
Constructor for XMLNodeMappingVisitor. |
|
XMLPlannerEnvironment(QueryMetadataInterface qmi)
|
|
| Uses of QueryMetadataInterface in org.teiid.query.processor.proc |
|---|
| Methods in org.teiid.query.processor.proc with parameters of type QueryMetadataInterface | |
|---|---|
void |
ProcedurePlan.setMetadata(QueryMetadataInterface metadata)
|
| Constructors in org.teiid.query.processor.proc with parameters of type QueryMetadataInterface | |
|---|---|
ExecDynamicSqlInstruction(CreateUpdateProcedureCommand parentProcCommand,
DynamicCommand command,
QueryMetadataInterface metadata,
IDGenerator idGenerator,
CapabilitiesFinder capFinder)
|
|
| Uses of QueryMetadataInterface in org.teiid.query.processor.relational |
|---|
| Constructors in org.teiid.query.processor.relational with parameters of type QueryMetadataInterface | |
|---|---|
InsertPlanExecutionNode(int nodeID,
QueryMetadataInterface metadata)
|
|
| Uses of QueryMetadataInterface in org.teiid.query.resolver |
|---|
| Methods in org.teiid.query.resolver with parameters of type QueryMetadataInterface | |
|---|---|
static Command |
QueryResolver.expandCommand(ProcedureContainer proc,
QueryMetadataInterface metadata,
AnalysisRecord analysisRecord)
|
Command |
ProcedureContainerResolver.expandCommand(ProcedureContainer procCommand,
QueryMetadataInterface metadata,
AnalysisRecord analysis)
Expand a command by finding and attaching all subcommands to the command. |
GroupContext |
ProcedureContainerResolver.findChildCommandMetadata(ProcedureContainer container,
TempMetadataStore discoveredMetadata,
QueryMetadataInterface metadata)
Find all metadata defined by this command for it's children. |
protected abstract java.lang.String |
ProcedureContainerResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group)
For a given resolver, this returns the unparsed command. |
java.util.Map |
VariableResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
|
static java.util.Map |
QueryResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
|
static boolean |
QueryResolver.isXMLQuery(Query query,
QueryMetadataInterface metadata)
Check to verify if the query would return XML results. |
static TempMetadataStore |
QueryResolver.resolveCommand(Command currentCommand,
java.util.Map externalMetadata,
QueryMetadataInterface metadata,
AnalysisRecord analysis)
This implements an algorithm to resolve all the symbols created by the parser into real metadata IDs |
static TempMetadataStore |
QueryResolver.resolveCommand(Command currentCommand,
java.util.Map externalMetadata,
QueryMetadataInterface metadata,
AnalysisRecord analysis,
boolean resolveNullLiterals)
|
static void |
QueryResolver.resolveCommand(Command command,
QueryMetadataInterface metadata)
This implements an algorithm to resolve all the symbols created by the parser into real metadata IDs |
static void |
QueryResolver.resolveCommand(Command command,
QueryMetadataInterface metadata,
AnalysisRecord analysis)
This implements an algorithm to resolve all the symbols created by the parser into real metadata IDs |
static void |
QueryResolver.resolveCriteria(Criteria criteria,
QueryMetadataInterface metadata)
Resolve just a criteria. |
| Uses of QueryMetadataInterface in org.teiid.query.resolver.command |
|---|
| Methods in org.teiid.query.resolver.command with parameters of type QueryMetadataInterface | |
|---|---|
static java.util.Collection |
XMLQueryResolver.collectValidCriteriaElements(GroupSymbol group,
QueryMetadataInterface metadata)
Collect all fully-qualified valid elements. |
GroupContext |
ExecResolver.findChildCommandMetadata(ProcedureContainer container,
TempMetadataStore discoveredMetadata,
QueryMetadataInterface metadata)
|
GroupContext |
DeleteResolver.findChildCommandMetadata(ProcedureContainer container,
TempMetadataStore discoveredMetadata,
QueryMetadataInterface metadata)
|
protected java.lang.String |
UpdateResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group)
|
protected java.lang.String |
ExecResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group)
|
protected java.lang.String |
DeleteResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group)
|
protected java.lang.String |
InsertResolver.getPlan(QueryMetadataInterface metadata,
GroupSymbol group)
|
java.util.Map |
UpdateResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
|
java.util.Map |
InsertResolver.getVariableValues(Command command,
QueryMetadataInterface metadata)
|
void |
UpdateProcedureResolver.resolveVirtualGroupElements(CreateUpdateProcedureCommand procCommand,
QueryMetadataInterface metadata)
|
static void |
XMLQueryResolver.resolveXMLCriteria(Criteria criteria,
GroupContext externalGroups,
java.util.Collection validElements,
QueryMetadataInterface metadata)
Resolve the criteria specified on the XML query. |
| Uses of QueryMetadataInterface in org.teiid.query.resolver.util |
|---|
| Fields in org.teiid.query.resolver.util declared as QueryMetadataInterface | |
|---|---|
protected QueryMetadataInterface |
ResolverVisitor.metadata
|
| Methods in org.teiid.query.resolver.util with parameters of type QueryMetadataInterface | |
|---|---|
static void |
BindVariableVisitor.bindReferences(LanguageObject obj,
java.util.List bindings,
QueryMetadataInterface metadata)
Convenient static method for using this visitor |
static Expression |
ResolverUtil.convertExpression(Expression sourceExpression,
java.lang.String targetTypeName,
QueryMetadataInterface metadata)
Replaces a sourceExpression with a conversion of the source expression to the target type. |
static Expression |
ResolverUtil.convertExpression(Expression sourceExpression,
java.lang.String sourceTypeName,
java.lang.String targetTypeName,
QueryMetadataInterface metadata)
Replaces a sourceExpression with a conversion of the source expression to the target type. |
static java.util.List<GroupSymbol> |
ResolverUtil.findMatchingGroups(java.lang.String groupContext,
java.util.Collection<GroupSymbol> groups,
QueryMetadataInterface metadata)
|
static java.util.List |
ResolverUtil.getAccessPatternElementsInGroups(QueryMetadataInterface metadata,
java.util.Collection groups,
boolean flatten)
When access patterns are flattened, they are an approximation the user may need to enter as criteria. |
static Expression |
ResolverUtil.getDefault(ElementSymbol symbol,
QueryMetadataInterface metadata)
Get the default value for the parameter, which could be null if the parameter is set to NULLABLE. |
static void |
ResolveVirtualGroupCriteriaVisitor.resolveCriteria(LanguageObject obj,
GroupSymbol virtualGroup,
QueryMetadataInterface metadata)
|
static java.util.List<ElementSymbol> |
ResolverUtil.resolveElementsInGroup(GroupSymbol group,
QueryMetadataInterface metadata)
Returns the resolved elements in the given group. |
static void |
ResolverUtil.resolveGroup(GroupSymbol symbol,
QueryMetadataInterface metadata)
|
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
java.util.Collection<GroupSymbol> groups,
GroupContext externalContext,
QueryMetadataInterface metadata)
|
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
java.util.Collection<GroupSymbol> groups,
QueryMetadataInterface metadata)
|
static void |
ResolverVisitor.resolveLanguageObject(LanguageObject obj,
QueryMetadataInterface metadata)
|
static ResolverUtil.ResolvedLookup |
ResolverUtil.resolveLookup(Function lookup,
QueryMetadataInterface metadata)
|
static void |
ResolverUtil.resolveOrderBy(OrderBy orderBy,
QueryCommand command,
QueryMetadataInterface metadata)
Attempt to resolve the order by throws QueryResolverException if the symbol is not of SingleElementSymbol type |
| Constructors in org.teiid.query.resolver.util with parameters of type QueryMetadataInterface | |
|---|---|
BindVariableVisitor(java.util.List bindings,
QueryMetadataInterface metadata)
Constructor |
|
ResolverVisitor(QueryMetadataInterface metadata,
java.util.Collection<GroupSymbol> internalGroups,
GroupContext externalContext)
Constructor for ResolveElementsVisitor. |
|
ResolveVirtualGroupCriteriaVisitor(GroupSymbol virtualGroup,
QueryMetadataInterface metadata)
Constructor for ResolveElementsVisitor with no specified groups. |
|
| Uses of QueryMetadataInterface in org.teiid.query.rewriter |
|---|
| Methods in org.teiid.query.rewriter with parameters of type QueryMetadataInterface | |
|---|---|
static Query |
QueryRewriter.createInlineViewQuery(GroupSymbol group,
Command nested,
QueryMetadataInterface metadata,
java.util.List<SingleElementSymbol> actualSymbols)
|
static Command |
QueryRewriter.evaluateAndRewrite(Command command,
Evaluator eval,
CommandContext context,
QueryMetadataInterface metadata)
|
static Criteria |
QueryRewriter.optimizeCriteria(CompoundCriteria criteria,
QueryMetadataInterface metadata)
Performs simple expression flattening |
static Command |
QueryRewriter.rewrite(Command command,
CreateUpdateProcedureCommand procCommand,
QueryMetadataInterface metadata,
CommandContext context,
java.util.Map variableValues,
int commandType)
|
static Command |
QueryRewriter.rewrite(Command command,
QueryMetadataInterface metadata,
CommandContext context)
|
static Criteria |
QueryRewriter.rewriteCriteria(Criteria criteria,
CreateUpdateProcedureCommand procCommand,
CommandContext context,
QueryMetadataInterface metadata)
Rewrite the criteria by evaluating some trivial cases. |
static Expression |
QueryRewriter.rewriteExpression(Expression expression,
CreateUpdateProcedureCommand procCommand,
CommandContext context,
QueryMetadataInterface metadata)
|
| Uses of QueryMetadataInterface in org.teiid.query.sql.lang |
|---|
| Methods in org.teiid.query.sql.lang with parameters of type QueryMetadataInterface | |
|---|---|
static java.util.List |
SetQuery.getTypedProjectedSymbols(java.util.List acutal,
java.util.List projectedTypes,
QueryMetadataInterface metadata)
|
void |
SetQuery.setProjectedTypes(java.util.List<java.lang.Class<?>> projectedTypes,
QueryMetadataInterface metadata)
|
| Uses of QueryMetadataInterface in org.teiid.query.sql.util |
|---|
| Methods in org.teiid.query.sql.util with parameters of type QueryMetadataInterface | |
|---|---|
static CreateUpdateProcedureCommand |
UpdateProcedureGenerator.createProcedure(int procedureType,
java.lang.String virtualGroup,
Command queryTransformation,
QueryMetadataInterface metadata)
Create CreateUpdateProcedureCommand for the specific virtual group. |
static SymbolMap |
SymbolMap.createSymbolMap(GroupSymbol virtualGroup,
java.util.List<? extends SingleElementSymbol> projectCols,
QueryMetadataInterface metadata)
|
static void |
ElementSymbolOptimizer.optimizeElements(Command command,
QueryMetadataInterface metadata)
This method will convert all elements in a command to their shortest possible unambiguous name. |
| Uses of QueryMetadataInterface in org.teiid.query.util |
|---|
| Methods in org.teiid.query.util that return QueryMetadataInterface | |
|---|---|
QueryMetadataInterface |
CommandContext.getMetadata()
|
| Methods in org.teiid.query.util with parameters of type QueryMetadataInterface | |
|---|---|
void |
CommandContext.setMetadata(QueryMetadataInterface metadata)
|
| Uses of QueryMetadataInterface in org.teiid.query.validator |
|---|
| Methods in org.teiid.query.validator that return QueryMetadataInterface | |
|---|---|
protected QueryMetadataInterface |
UpdateValidationVisitor.getMetadata()
This method get the metadata that this visitor uses. |
protected QueryMetadataInterface |
AbstractValidationVisitor.getMetadata()
|
| Methods in org.teiid.query.validator with parameters of type QueryMetadataInterface | |
|---|---|
void |
AbstractValidationVisitor.setMetadata(QueryMetadataInterface metadata)
|
static ValidatorReport |
Validator.validate(LanguageObject object,
QueryMetadataInterface metadata)
|
static ValidatorReport |
Validator.validate(LanguageObject object,
QueryMetadataInterface metadata,
AbstractValidationVisitor visitor)
|
| Constructors in org.teiid.query.validator with parameters of type QueryMetadataInterface | |
|---|---|
UpdateValidationVisitor(QueryMetadataInterface metadata)
This constructor initialises the visitor by setting the metadata needed for validation. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||