Uses of Interface
org.teiid.query.sql.symbol.Expression

Packages that use Expression
org.teiid.query.eval   
org.teiid.query.optimizer.relational.rules   
org.teiid.query.optimizer.xml   
org.teiid.query.parser   
org.teiid.query.processor.proc   
org.teiid.query.processor.relational   
org.teiid.query.resolver.util   
org.teiid.query.rewriter   
org.teiid.query.sql.lang   
org.teiid.query.sql.proc   
org.teiid.query.sql.symbol   
org.teiid.query.sql.util   
org.teiid.query.sql.visitor   
org.teiid.query.util   
org.teiid.query.validator   
 

Uses of Expression in org.teiid.query.eval
 

Methods in org.teiid.query.eval with parameters of type Expression
static java.lang.Object Evaluator.evaluate(Expression expression)
           
 java.lang.Object Evaluator.evaluate(Expression expression, java.util.List<?> tuple)
           
 

Uses of Expression in org.teiid.query.optimizer.relational.rules
 

Methods in org.teiid.query.optimizer.relational.rules that return types with arguments of type Expression
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
 

Methods in org.teiid.query.optimizer.relational.rules with parameters of type Expression
static boolean JoinUtil.isNullDependent(QueryMetadataInterface metadata, java.util.Collection<GroupSymbol> innerGroups, Expression expr)
           
 

Uses of Expression in org.teiid.query.optimizer.xml
 

Methods in org.teiid.query.optimizer.xml that return Expression
 Expression ReferenceBindingReplacerVisitor.replaceExpression(Expression element)
           
 

Methods in org.teiid.query.optimizer.xml with parameters of type Expression
 Expression ReferenceBindingReplacerVisitor.replaceExpression(Expression element)
           
 

Uses of Expression in org.teiid.query.parser
 

Methods in org.teiid.query.parser that return Expression
 Expression SQLParser.commonValueExpression(ParseInfo info)
           
 Expression SQLParser.expression(ParseInfo info)
          Parse an expression - made up of literals and functions.
 Expression SQLParser.function(ParseInfo info)
          Parse a function.
 Expression QueryParser.parseExpression(java.lang.String sql)
          Takes a SQL string representing an SQL expression and returns the object representation.
 Expression SQLParser.plusExpression(ParseInfo info)
          Parse an expression - made up of literals and functions.
 Expression SQLParser.timesExpression(ParseInfo info)
          Parse an expression - made up of literals and functions.
 Expression SQLParser.valueExpressionPrimary(ParseInfo info)
          Parse a basic expression.
 

Methods in org.teiid.query.parser with parameters of type Expression
 BetweenCriteria SQLParser.betweenCrit(ParseInfo info, Expression expression)
          Parse an [NOT] BETWEEN criteria.
 CompareCriteria SQLParser.compareCrit(ParseInfo info, Expression expression)
          Parse a compare criteria.
 IsNullCriteria SQLParser.isNullCrit(ParseInfo info, Expression expression)
          Parse an IS [NOT] NULL criteria.
 MatchCriteria SQLParser.matchCrit(ParseInfo info, Expression expression)
          Parse a match criteria.
 AbstractSetCriteria SQLParser.setCrit(ParseInfo info, Expression expression)
          Parse a set criteria.
 SubqueryCompareCriteria SQLParser.subqueryCompareCriteria(ParseInfo info, Expression expression)
          Parse a subquery compare criteria.
 

Uses of Expression in org.teiid.query.processor.proc
 

Methods in org.teiid.query.processor.proc that return Expression
 Expression AssignmentInstruction.getExpression()
           
 

Methods in org.teiid.query.processor.proc with parameters of type Expression
 void AssignmentInstruction.setExpression(Expression expression)
           
 void ErrorInstruction.setExpression(Expression expression)
           
 

Method parameters in org.teiid.query.processor.proc with type arguments of type Expression
 void ProcedurePlan.setParams(java.util.LinkedHashMap<ElementSymbol,Expression> params)
           
 

Uses of Expression in org.teiid.query.processor.relational
 

Methods in org.teiid.query.processor.relational that return Expression
 Expression LimitNode.getLimitExpr()
           
 Expression LimitNode.getOffsetExpr()
           
 

Methods in org.teiid.query.processor.relational with parameters of type Expression
 java.util.Set<java.lang.Object> DependentValueSource.getCachedSet(Expression valueExpression)
           
 ValueIterator DependentValueSource.getValueIterator(Expression valueExpression)
           
 

Method parameters in org.teiid.query.processor.relational with type arguments of type Expression
static int[] RelationalNode.getProjectionIndexes(java.util.Map<SingleElementSymbol,java.lang.Integer> tupleElements, java.util.List<? extends Expression> projectElements)
          Helper method for all the node that will filter the elements needed for the next node.
 

Constructors in org.teiid.query.processor.relational with parameters of type Expression
LimitNode(int nodeID, Expression limitExpr, Expression offsetExpr)
           
 

Uses of Expression in org.teiid.query.resolver.util
 

Methods in org.teiid.query.resolver.util that return Expression
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 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.
 

Methods in org.teiid.query.resolver.util with parameters of type Expression
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 Function ResolverUtil.getConversion(Expression sourceExpression, java.lang.String sourceTypeName, java.lang.String targetTypeName, boolean implicit, FunctionLibrary library)
           
static void ResolverUtil.setDesiredType(Expression expression, java.lang.Class<?> targetType, LanguageObject surroundingExpression)
          Utility to set the type of an expression if it is a Reference and has a null type.
 

Uses of Expression in org.teiid.query.rewriter
 

Methods in org.teiid.query.rewriter that return Expression
static Expression QueryRewriter.rewriteExpression(Expression expression, CreateUpdateProcedureCommand procCommand, CommandContext context, QueryMetadataInterface metadata)
           
 

Methods in org.teiid.query.rewriter with parameters of type Expression
static boolean QueryRewriter.isNull(Expression expr)
           
static Expression QueryRewriter.rewriteExpression(Expression expression, CreateUpdateProcedureCommand procCommand, CommandContext context, QueryMetadataInterface metadata)
           
 

Uses of Expression in org.teiid.query.sql.lang
 

Classes in org.teiid.query.sql.lang that implement Expression
 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 AtomicCriteria
          This abstract class represents an atomic logical criteria.
 class BetweenCriteria
          Represents criteria such as: " [NOT] BETWEEN AND ".
 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 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 DependentSetCriteria
          The DependentSetCriteria is missing the value set until it is filled during processing.
 class ExistsCriteria
          This predicate criteria implements the "exists" predicate, which has a subquery in it.
 class ExpressionCriteria
           
 class IsNullCriteria
          Represents criteria such as: " IS NULL".
 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 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 SetCriteria
          A criteria which is true is the expression's value is a member in a list of values.
 class SubqueryCompareCriteria
          This class implements a quantified comparison predicate.
 class SubquerySetCriteria
          A criteria which is true is the expression's value is a member in a list of values returned from a subquery.
 

Methods in org.teiid.query.sql.lang that return Expression
 Expression XMLTable.XMLColumn.getDefaultExpression()
           
 Expression BetweenCriteria.getExpression()
          Get expression.
 Expression ExpressionCriteria.getExpression()
           
 Expression AbstractSetCriteria.getExpression()
          Gets the membership expression to be compared.
 Expression IsNullCriteria.getExpression()
          Get expression.
 Expression SPParameter.getExpression()
          Return the expression defining the value of this parameter
 Expression TextTable.getFile()
           
 Expression MatchCriteria.getLeftExpression()
          Get left expression.
 Expression AbstractCompareCriteria.getLeftExpression()
          Get left expression.
 Expression BetweenCriteria.getLowerExpression()
          Get the lower expression.
 Expression Limit.getOffset()
           
 Expression CompareCriteria.getRightExpression()
          Get right expression.
 Expression MatchCriteria.getRightExpression()
          Get right expression.
abstract  Expression AbstractCompareCriteria.getRightExpression()
           
 Expression SubqueryCompareCriteria.getRightExpression()
           
 Expression Limit.getRowLimit()
           
 Expression DynamicCommand.getSql()
           
 Expression BetweenCriteria.getUpperExpression()
          Get the upper expression.
 Expression SetClause.getValue()
           
 Expression DependentSetCriteria.getValueExpression()
          Get the independent value expression
 Expression ExistsCriteria.getValueExpression()
           
 Expression SubquerySetCriteria.getValueExpression()
           
 Expression SubqueryCompareCriteria.getValueExpression()
           
 

Methods in org.teiid.query.sql.lang that return types with arguments of type Expression
 java.util.LinkedHashMap<ElementSymbol,Expression> SetClauseList.getClauseMap()
           
 java.util.LinkedHashMap<ElementSymbol,Expression> StoredProcedure.getProcedureParameters()
           
 java.util.LinkedHashMap<ElementSymbol,Expression> Insert.getProcedureParameters()
           
 java.util.LinkedHashMap<ElementSymbol,Expression> Delete.getProcedureParameters()
           
 java.util.LinkedHashMap<ElementSymbol,Expression> Update.getProcedureParameters()
           
abstract  java.util.LinkedHashMap<ElementSymbol,Expression> ProcedureContainer.getProcedureParameters()
           
 

Methods in org.teiid.query.sql.lang with parameters of type Expression
 void Update.addChange(ElementSymbol id, Expression value)
          Add change to change list - a change is represented by a CompareCriteria internally but can be added here as an element and an expression
 void SetClauseList.addClause(ElementSymbol symbol, Expression expression)
           
 void GroupBy.addSymbol(Expression symbol)
          Adds a new symbol to the list of symbols.
 void Insert.addValue(Expression value)
          Adds a value to the list of values
 void SetCriteria.set(Expression expression, java.util.Collection values)
          Sets the membership expression and the set of value expressions
 void CompareCriteria.set(Expression leftExpression, int operator, Expression rightExpression)
          Sets the operands and operator.
 void XMLTable.XMLColumn.setDefaultExpression(Expression defaultExpression)
           
 void BetweenCriteria.setExpression(Expression expression)
          Set expression.
 void ExpressionCriteria.setExpression(Expression expression)
           
 void AbstractSetCriteria.setExpression(Expression expression)
          Sets the membership expression
 void IsNullCriteria.setExpression(Expression expression)
          Set expression.
 void SPParameter.setExpression(Expression expression)
          Set the expression defining this parameter
 void TextTable.setFile(Expression file)
           
 void MatchCriteria.setLeftExpression(Expression expression)
          Set left expression.
 void AbstractCompareCriteria.setLeftExpression(Expression expression)
          Set left expression.
 void BetweenCriteria.setLowerExpression(Expression lowerExpression)
          Set the lower expression.
 void Limit.setOffset(Expression offset)
           
 void CompareCriteria.setRightExpression(Expression expression)
          Set right expression.
 void MatchCriteria.setRightExpression(Expression expression)
          Set right expression.
 void Limit.setRowLimit(Expression rowLimit)
           
 void DynamicCommand.setSql(Expression sql)
           
 void BetweenCriteria.setUpperExpression(Expression upperExpression)
          Set the upper expression.
 void SetClause.setValue(Expression value)
           
 void DependentSetCriteria.setValueExpression(Expression valueExpression)
          Set the independent value expression
 

Constructors in org.teiid.query.sql.lang with parameters of type Expression
BetweenCriteria(Expression expression, Expression lowerExpression, Expression upperExpression)
          Constructs an instance of this class with an expression
CompareCriteria(Expression leftExpression, int operator, Expression rightExpression)
          Constructs an instance of this class for a specific "operand operator operand" clause.
DependentSetCriteria(Expression expr, java.lang.String id)
          Construct with the left expression
DynamicCommand(Expression sql, java.util.List columns, GroupSymbol intoGroup, SetClauseList using)
           
ExpressionCriteria(Expression expression)
           
IsNullCriteria(Expression expression)
          Constructs an instance of this class with an expression
Limit(Expression offset, Expression rowLimit)
           
MatchCriteria(Expression leftExpression, Expression rightExpression)
          Constructs an instance of this class from a left and right expression
MatchCriteria(Expression leftExpression, Expression rightExpression, char escapeChar)
          Constructs an instance of this class from a left and right expression and an escape character
SetClause(ElementSymbol symbol, Expression value)
           
SetCriteria(Expression expression, java.util.Collection values)
          Constructs an instance of this class with the membership expression and value expressions
SPParameter(int index, Expression expression)
          Constructor used when constructing a parameter during execution.
SubqueryCompareCriteria(Expression leftExpression, QueryCommand subCommand, int operator, int predicateQuantifier)
           
SubquerySetCriteria(Expression expression, QueryCommand subCommand)
           
XMLTable.XMLColumn(java.lang.String name, java.lang.String type, java.lang.String path, Expression defaultExpression)
           
 

Uses of Expression in org.teiid.query.sql.proc
 

Classes in org.teiid.query.sql.proc that implement Expression
 class HasCriteria
          This object represents the criteria used in the stored procedure language to determine if a type of criteria is specified on a user's query.
 class TranslateCriteria
          This object represents the criteria used in the stored procedure language that translates the portion of the user's criteria by doing symbol mapping to the elements of the physical group that defines the virtual group and translating the user's criteria using the element-expressions pairs represented as a list of comapreCriteria on this this object.
 

Methods in org.teiid.query.sql.proc that return Expression
 Expression AssignmentStatement.getExpression()
           
 Expression ExpressionStatement.getExpression()
           
 Expression RaiseErrorStatement.getExpression()
           
 Expression AssignmentStatement.getValue()
          Deprecated. 
 

Methods in org.teiid.query.sql.proc with parameters of type Expression
 void AssignmentStatement.setExpression(Expression expression)
           
 void ExpressionStatement.setExpression(Expression expr)
           
 void RaiseErrorStatement.setExpression(Expression expression)
           
 void AssignmentStatement.setValue(Expression value)
          Deprecated. 
 

Constructors in org.teiid.query.sql.proc with parameters of type Expression
AssignmentStatement(ElementSymbol variable, Expression value)
           
DeclareStatement(ElementSymbol variable, java.lang.String varType, Expression value)
          Constructor for DeclareStatement.
RaiseErrorStatement(Expression message)
          Constructor for RaiseErrorStatement.
 

Uses of Expression in org.teiid.query.sql.symbol
 

Classes in org.teiid.query.sql.symbol that implement Expression
 class AbstractCaseExpression
           
 class AggregateSymbol
          An aggregate symbol represents an aggregate function in the SELECT or HAVING clauses.
 class AliasSymbol
          An AliasSymbol wraps a SingleElementSymbol and changes it's name.
 class CaseExpression
           
 class Constant
          This class represents a literal value in a SQL string.
 class ElementSymbol
          This is a subclass of Symbol representing a single element.
 class ExpressionSymbol
          This is a subclass of Symbol representing an expression in the SELECT clause.
 class Function
          Represents a function in a sql statement.
 class QueryString
          Represents XMLATTRIBUTES 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 SingleElementSymbol
          This is a subclass of Symbol representing a single output column.
 class TextLine
          Represents the only allowable expression for the textagg aggregate.
 class XMLElement
          Represents XMLATTRIBUTES/XMLFOREST name value pairs
 class XMLForest
           
 class XMLParse
           
 class XMLQuery
           
 class XMLSerialize
           
 

Methods in org.teiid.query.sql.symbol that return Expression
 Expression Function.getArg(int index)
          Get argument at specified index
 Expression[] Function.getArgs()
          Get function arguments
 Expression AbstractCaseExpression.getElseExpression()
          Gets the expression in the ELSE part of this expression.
 Expression XMLParse.getExpression()
           
 Expression ExpressionSymbol.getExpression()
          Get the expression for this symbol
 Expression DerivedColumn.getExpression()
           
 Expression CaseExpression.getExpression()
          Gets the expression whose evaluation is being tested in this case expression.
 Expression XMLSerialize.getExpression()
           
 Expression QueryString.getPath()
           
 Expression AbstractCaseExpression.getThenExpression(int index)
          Gets the expression of the THEN part at the given index.
 Expression ScalarSubquery.getValueExpression()
           
 Expression Reference.getValueExpression()
           
 Expression ContextReference.getValueExpression()
           
 Expression CaseExpression.getWhenExpression(int index)
          Gets the WHEN expression at the given 0-based index.
 

Methods in org.teiid.query.sql.symbol that return types with arguments of type Expression
 java.util.List<Expression> XMLElement.getContent()
           
 

Methods in org.teiid.query.sql.symbol with parameters of type Expression
 void Function.setArgs(Expression[] args)
          Set the function arguments - it is assumed that the args are not null.
 void AbstractCaseExpression.setElseExpression(Expression elseExpression)
          Sets the expression in the ELSE part of this expression.
 void XMLParse.setExpression(Expression expression)
           
 void ExpressionSymbol.setExpression(Expression expression)
          Set the expression represented by this symbol.
 void DerivedColumn.setExpression(Expression expression)
           
 void CaseExpression.setExpression(Expression expr)
          Sets the expression for this case expression
 void XMLSerialize.setExpression(Expression expression)
           
 void QueryString.setPath(Expression path)
           
 

Method parameters in org.teiid.query.sql.symbol with type arguments of type Expression
 void XMLElement.setContent(java.util.List<Expression> args)
           
 

Constructors in org.teiid.query.sql.symbol with parameters of type Expression
AggregateSymbol(java.lang.String name, java.lang.String canonicalName, AggregateSymbol.Type aggregateFunction, boolean isDistinct, Expression expression)
          Constructor used for cloning
AggregateSymbol(java.lang.String name, java.lang.String aggregateFunction, boolean isDistinct, Expression expression)
          Construct an aggregate symbol with all given data.
CaseExpression(Expression expression, java.util.List when, java.util.List then)
          Constructor for CaseExpression objects
DerivedColumn(java.lang.String name, Expression expression)
           
ExpressionSymbol(java.lang.String name, Expression expression)
          Construct an ExpressionSymbol with name and expression.
ExpressionSymbol(java.lang.String name, java.lang.String canonicalName, Expression expression)
          Constructor used for cloning
Function(java.lang.String name, Expression[] args)
          Construct a function with function name and array of arguments.
QueryString(Expression path, java.util.List<DerivedColumn> args)
           
 

Constructor parameters in org.teiid.query.sql.symbol with type arguments of type Expression
XMLElement(java.lang.String name, java.util.List<Expression> content)
           
 

Uses of Expression in org.teiid.query.sql.util
 

Methods in org.teiid.query.sql.util that return Expression
static Expression SymbolMap.getExpression(Expression symbol)
           
 Expression SymbolMap.getMappedExpression(ElementSymbol symbol)
           
 

Methods in org.teiid.query.sql.util that return types with arguments of type Expression
 java.util.Map<ElementSymbol,Expression> SymbolMap.asMap()
           
 java.util.Map<ElementSymbol,Expression> SymbolMap.asUpdatableMap()
           
 java.util.List<Expression> SymbolMap.getValues()
           
 

Methods in org.teiid.query.sql.util with parameters of type Expression
 boolean SymbolMap.addMapping(ElementSymbol symbol, Expression expression)
           
 java.util.Set<java.lang.Object> ValueIteratorSource.getCachedSet(Expression valueExpression)
           
static Expression SymbolMap.getExpression(Expression symbol)
           
 ValueIterator ValueIteratorSource.getValueIterator(Expression valueExpression)
          Attempt to obtain a ValueIterator from this source.
 

Method parameters in org.teiid.query.sql.util with type arguments of type Expression
static SymbolMap SymbolMap.createSymbolMap(java.util.List<ElementSymbol> virtualElements, java.util.List<? extends Expression> mappedCols)
           
 

Uses of Expression in org.teiid.query.sql.visitor
 

Methods in org.teiid.query.sql.visitor that return Expression
 Expression AbstractSymbolMappingVisitor.replaceExpression(Expression element)
           
 Expression CriteriaTranslatorVisitor.replaceExpression(Expression obj)
           
 Expression ExpressionMappingVisitor.replaceExpression(Expression element)
           
 

Methods in org.teiid.query.sql.visitor with parameters of type Expression
 Expression AbstractSymbolMappingVisitor.replaceExpression(Expression element)
           
 Expression CriteriaTranslatorVisitor.replaceExpression(Expression obj)
           
 Expression ExpressionMappingVisitor.replaceExpression(Expression element)
           
 

Uses of Expression in org.teiid.query.util
 

Methods in org.teiid.query.util with parameters of type Expression
 java.lang.Object CommandContext.getFromContext(Expression expression)
           
 

Uses of Expression in org.teiid.query.validator
 

Methods in org.teiid.query.validator with parameters of type Expression
static boolean ValidationVisitor.isNonComparable(Expression symbol)
           
 void ValidationVisitor.validateXMLContentTypes(Expression expression, LanguageObject parent)
           
 

Constructor parameters in org.teiid.query.validator with type arguments of type Expression
AggregateValidationVisitor(java.util.Set<Expression> groupExpressions)
           
 



Copyright © 2010. All Rights Reserved.