Uses of Interface
com.metamatrix.query.sql.symbol.Expression

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

Uses of Expression in com.metamatrix.query.eval
 

Methods in com.metamatrix.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 com.metamatrix.query.optimizer.relational.rules
 

Methods in com.metamatrix.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 com.metamatrix.query.optimizer.relational.rules with parameters of type Expression
static boolean JoinUtil.isNullDependent(QueryMetadataInterface metadata, java.util.Collection innerGroups, Expression expr)
           
 

Uses of Expression in com.metamatrix.query.optimizer.xml
 

Methods in com.metamatrix.query.optimizer.xml that return Expression
 Expression ReferenceBindingReplacerVisitor.replaceExpression(Expression element)
           
 

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

Uses of Expression in com.metamatrix.query.parser
 

Methods in com.metamatrix.query.parser that return Expression
 Expression QueryParser.parseExpression(java.lang.String sql)
          Takes a SQL string representing an SQL expression and returns the object representation.
 

Uses of Expression in com.metamatrix.query.processor.proc
 

Methods in com.metamatrix.query.processor.proc that return Expression
 Expression AbstractAssignmentInstruction.getExpression()
           
 

Methods in com.metamatrix.query.processor.proc with parameters of type Expression
 void AbstractAssignmentInstruction.setExpression(Expression expression)
           
 

Uses of Expression in com.metamatrix.query.processor.relational
 

Methods in com.metamatrix.query.processor.relational that return Expression
 Expression LimitNode.getLimitExpr()
           
 Expression LimitNode.getOffsetExpr()
           
 

Methods in com.metamatrix.query.processor.relational with parameters of type Expression
 ValueIterator DependentValueSource.getValueIterator(Expression valueExpression)
           
 

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

Uses of Expression in com.metamatrix.query.resolver.util
 

Methods in com.metamatrix.query.resolver.util that return Expression
static Expression ResolverUtil.convertExpression(Expression sourceExpression, java.lang.String targetTypeName)
          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)
          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 com.metamatrix.query.resolver.util with parameters of type Expression
static Expression ResolverUtil.convertExpression(Expression sourceExpression, java.lang.String targetTypeName)
          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)
          Replaces a sourceExpression with a conversion of the source expression to the target type.
static void ResolverUtil.setTypeIfReference(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 com.metamatrix.query.rewriter
 

Methods in com.metamatrix.query.rewriter that return Expression
 Expression VariableSubstitutionVisitor.replaceExpression(Expression expr)
          Common pattern used by visit methods in this Visitor
static Expression QueryRewriter.rewriteExpression(Expression expression, Command procCommand, CommandContext context, QueryMetadataInterface metadata)
           
 

Methods in com.metamatrix.query.rewriter with parameters of type Expression
static boolean QueryRewriter.isNull(Expression expr)
           
 Expression VariableSubstitutionVisitor.replaceExpression(Expression expr)
          Common pattern used by visit methods in this Visitor
static Expression QueryRewriter.rewriteExpression(Expression expression, Command procCommand, CommandContext context, QueryMetadataInterface metadata)
           
 

Uses of Expression in com.metamatrix.query.sql.lang
 

Methods in com.metamatrix.query.sql.lang that return Expression
 Expression SPParameter.getExpression()
          Return the expression defining the value of this parameter
 Expression IsNullCriteria.getExpression()
          Get expression.
 Expression BetweenCriteria.getExpression()
          Get expression.
 Expression AbstractSetCriteria.getExpression()
          Gets the membership expression to be compared.
 Expression MatchCriteria.getLeftExpression()
          Get left expression.
 Expression AbstractCompareCriteria.getLeftExpression()
          Get left expression.
 Expression BetweenCriteria.getLowerExpression()
          Get the lower expression.
 Expression Limit.getOffset()
           
 Expression SubqueryCompareCriteria.getRightExpression()
           
 Expression MatchCriteria.getRightExpression()
          Get right expression.
 Expression CompareCriteria.getRightExpression()
          Get right expression.
abstract  Expression AbstractCompareCriteria.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
 

Methods in com.metamatrix.query.sql.lang that return types with arguments of type Expression
 java.util.LinkedHashMap<ElementSymbol,Expression> SetClauseList.getClauseMap()
           
 

Methods in com.metamatrix.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 BulkInsert.addValue(Expression value)
           
 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 SPParameter.setExpression(Expression expression)
          Set the expression defining this parameter
 void IsNullCriteria.setExpression(Expression expression)
          Set expression.
 void BetweenCriteria.setExpression(Expression expression)
          Set expression.
 void AbstractSetCriteria.setExpression(Expression expression)
          Sets the membership expression
 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 MatchCriteria.setRightExpression(Expression expression)
          Set right expression.
 void CompareCriteria.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 com.metamatrix.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)
          Construct with the left expression
DynamicCommand(Expression sql, java.util.List columns, GroupSymbol intoGroup, SetClauseList using)
           
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, Command subCommand, int operator, int predicateQuantifier)
           
SubquerySetCriteria(Expression expression, Command subCommand)
           
 

Uses of Expression in com.metamatrix.query.sql.proc
 

Methods in com.metamatrix.query.sql.proc that return Expression
 Expression AssignmentStatement.getExpression()
           
 

Methods in com.metamatrix.query.sql.proc with parameters of type Expression
 void AssignmentStatement.setExpression(Expression expression)
           
 

Constructors in com.metamatrix.query.sql.proc with parameters of type Expression
RaiseErrorStatement(Expression message)
          Constructor for RaiseErrorStatement.
 

Uses of Expression in com.metamatrix.query.sql.symbol
 

Classes in com.metamatrix.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 Reference
          This class represents a reference within a SQL statement to some other source of data.
 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.
 

Methods in com.metamatrix.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 Reference.getExpression()
           
 Expression ExpressionSymbol.getExpression()
          Get the expression for this symbol
 Expression CaseExpression.getExpression()
          Gets the expression whose evaluation is being tested in this case expression.
 Expression AbstractCaseExpression.getThenExpression(int index)
          Gets the expression of the THEN part at the given index.
 Expression CaseExpression.getWhenExpression(int index)
          Gets the WHEN expression at the given 0-based index.
 

Methods in com.metamatrix.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 Reference.setExpression(Expression expression)
           
 void ExpressionSymbol.setExpression(Expression expression)
          Set the expression represented by this symbol.
 void CaseExpression.setExpression(Expression expr)
          Sets the expression for this case expression
 

Constructors in com.metamatrix.query.sql.symbol with parameters of type Expression
AggregateSymbol(java.lang.String name, java.lang.String aggregateFunction, boolean isDistinct, Expression expression)
          Construct an aggregate symbol with all given data.
AggregateSymbol(java.lang.String name, java.lang.String canonicalName, java.lang.String aggregateFunction, boolean isDistinct, Expression expression)
          Constructor used for cloning
CaseExpression(Expression expression, java.util.List when, java.util.List then)
          Constructor for CaseExpression objects
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.
Reference(int refIndex, Expression expression)
          Constructor for Reference.
 

Uses of Expression in com.metamatrix.query.sql.util
 

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

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

Methods in com.metamatrix.query.sql.util with parameters of type Expression
 boolean SymbolMap.addMapping(ElementSymbol symbol, Expression expression)
           
static Expression SymbolMap.getExpression(Expression symbol)
           
 ValueIterator ValueIteratorSource.getValueIterator(Expression valueExpression)
          Attempt to obtain a ValueIterator from this source.
 

Method parameters in com.metamatrix.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 com.metamatrix.query.sql.visitor
 

Methods in com.metamatrix.query.sql.visitor that return Expression
 Expression ExpressionMappingVisitor.replaceExpression(Expression element)
           
 Expression EvaluateExpressionVisitor.replaceExpression(Expression expr)
          Evaluate the expression.
 Expression CorrelatedVariableSubstitutionVisitor.replaceExpression(Expression expression)
           
 Expression AbstractSymbolMappingVisitor.replaceExpression(Expression element)
           
 

Methods in com.metamatrix.query.sql.visitor with parameters of type Expression
 Expression ExpressionMappingVisitor.replaceExpression(Expression element)
           
 Expression EvaluateExpressionVisitor.replaceExpression(Expression expr)
          Evaluate the expression.
 Expression CorrelatedVariableSubstitutionVisitor.replaceExpression(Expression expression)
           
 Expression AbstractSymbolMappingVisitor.replaceExpression(Expression element)
           
 

Uses of Expression in com.metamatrix.query.validator
 

Methods in com.metamatrix.query.validator with parameters of type Expression
static boolean ValidationVisitor.isNonComparable(Expression symbol)
           
 

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



Copyright © 2009. All Rights Reserved.