Uses of Interface
org.objectweb.medor.filter.api.Expression

Packages that use Expression
org.objectweb.medor.filter.api   
org.objectweb.medor.filter.jorm.lib   
org.objectweb.medor.filter.lib   
org.objectweb.medor.filter.postfix   
org.objectweb.medor.filter.rdb.api   
org.objectweb.medor.filter.rdb.lib   
org.objectweb.medor.optim.jorm   
org.objectweb.medor.optim.lib   
org.objectweb.medor.optim.rdb   
org.objectweb.medor.query.api   
org.objectweb.medor.query.lib   
org.objectweb.medor.query.rdb.lib   
 

Uses of Expression in org.objectweb.medor.filter.api
 

Subinterfaces of Expression in org.objectweb.medor.filter.api
 interface AggregateOperator
           
 interface BelongOperator
           
 interface BinaryArithmeticOperator
          This interface represents a binary arithmetic operation (+, -, ...).
 interface BinaryLogicalOperator
          This interface represents a binary logical opertaion(and, or, ...)
 interface BinaryOperator
           
 interface CalculatedParameterOperand
          This interface represents a ParameterOperand which must be evaluate.
 interface Comparator
          This interface represents a mathematical comparator.
 interface FieldOperand
           
 interface Operand
          This interface represents a byte, char, int,...or an object value.
 interface Operator
           
 interface ParameterOperand
           
 interface ThreeArgsOperator
           
 interface UnaryArithmeticOperator
           
 interface UnaryLogicalOperator
           
 interface UnaryOperator
           
 interface VariableOperand
          This Interface extends a simple operand.
 

Methods in org.objectweb.medor.filter.api that return Expression
 Expression UnaryOperator.getExpression()
           
 Expression ThreeArgsOperator.getFirstExpression()
           
 Expression ThreeArgsOperator.getSecondExpression()
           
 Expression ThreeArgsOperator.getThirdExpression()
           
 Expression Operator.getExpression(int idx)
           
 Expression FilterEvaluator.evaluate(Expression[] stack, ParameterOperand[] pos, Tuple t)
           
 Expression[] ExpressionHelper.toStack(Expression e)
           
 Expression ExpressionHelper.join(Expression[] es)
           
 Expression ExpressionHelper.substituteParameters(ParameterOperand[] pos, Expression e)
           
 Expression[] ExpressionHelper.substituteParameters(ParameterOperand[] pos, Expression[] e)
           
 Expression BinaryOperator.getLeftExpression()
           
 Expression BinaryOperator.getRightExpression()
           
 

Methods in org.objectweb.medor.filter.api with parameters of type Expression
 void UnaryOperator.setExpression(Expression e)
           
 void ThreeArgsOperator.setFirstExpression(Expression firstChild)
          This method sets the first operand or operator to this expression object.
 void ThreeArgsOperator.setSecondExpression(Expression secondChild)
          This method sets the second operand or operator to this expression object.
 void ThreeArgsOperator.setThirdExpression(Expression thirdChild)
          This method sets the third operand or operator to this expression object.
 void Operator.setExpression(int idx, Expression exp)
           
 Expression FilterEvaluator.evaluate(Expression[] stack, ParameterOperand[] pos, Tuple t)
           
 Expression[] ExpressionHelper.toStack(Expression e)
           
 Expression ExpressionHelper.join(Expression[] es)
           
 Operand ExpressionHelper.evaluate(Expression[] stack, ParameterOperand[] parameters, Tuple t)
           
 Expression ExpressionHelper.substituteParameters(ParameterOperand[] pos, Expression e)
           
 Expression[] ExpressionHelper.substituteParameters(ParameterOperand[] pos, Expression[] e)
           
 java.lang.String[] ExpressionHelper.getParameterNames(Expression e)
           
 void ExpressionHelper.fixIndexes(QueryNode node, Expression e)
          For a given Expression used at a QueryNode, sets the index of its FieldOperands (index in the tuple resulting from the concatenation of the children QueryNode tuples).
 void BinaryOperator.setLeftExpression(Expression leftChild)
          This method sets the left operand or operator to this expression object.
 void BinaryOperator.setRightExpression(Expression rightChild)
          This method sets the left operand or operator to this expression object.
 

Uses of Expression in org.objectweb.medor.filter.jorm.lib
 

Classes in org.objectweb.medor.filter.jorm.lib that implement Expression
 class CompositePName
          A CompositePName is an Operator representing the construction of a PName from a NamingContext and several Fields.
 class EncodePName
          This implementation of the CalculatedParameterOperand interface encode a a PName.
 class IsNullPName
          This implementation of the CalculatedParameterOperand interface checks if a PName is null.
 class SinglePName
          A SinglePName is an Operator representing the construction of a PName from a NamingContext and a single Field.
 

Methods in org.objectweb.medor.filter.jorm.lib that return Expression
 Expression CompositePName.getExpression(int idx)
           
 

Methods in org.objectweb.medor.filter.jorm.lib with parameters of type Expression
 void CompositePName.setExpression(int idx, Expression exp)
           
 

Uses of Expression in org.objectweb.medor.filter.lib
 

Classes in org.objectweb.medor.filter.lib that implement Expression
 class Abs
           
 class And
           
 class Avg
          Avg aggregate function.
 class BasicAggregateOperator
           
 class BasicBelongOperator
           
 class BasicBinaryArithmeticOperator
           
 class BasicBinaryLogicalOperator
           
 class BasicBinaryOperator
           
 class BasicComparator
           
 class BasicFieldOperand
           
 class BasicOperand
           
 class BasicParameterOperand
           
 class BasicThreeArgsOperator
           
 class BasicUnaryArithmeticOperator
           
 class BasicUnaryLogicalOperator
           
 class BasicUnaryOperator
           
 class BasicVariableOperand
           
 class Bitwize
           
 class CollectionOperand
           
 class Concat
           
 class ConditionalAnd
           
 class ConditionalOr
           
 class Count
          Count aggregate function.
 class DivideBy
           
 class Equal
           
 class FirstLocate
           
 class Greater
          This class implements the QueryComparator interface; it represents ">" mathematical comparator.
 class GreaterEqual
          This class implements the QueryComparator interface; it represents ">=" mathematical comparator.
 class InCollection
          The InCollection class is an operator testing whether the value of a Field (the left operand, which is supposed to be a FieldOperand) is equal to one of the elements of a collecton (the right Operand)
 class IndexedLocate
          Operator representing the search for a substring within a given input string, starting at a given index.
 class IsEmpty
          IsEmpty operates on an Expression which must be of a TupleCollection type, or a GenClassRef.
 class IsNull
          IsNull operates on an Expression.
 class Length
           
 class Like
           
 class Lower
          This class implements the QueryComparator interface; it represents "<" mathematical comparator.
 class LowerEqual
          This class implements the QueryComparator interface; it represents "<=" mathematical comparator.
 class Max
          Max aggregate function.
 class MemberOf
          The MemberOf class is an operator testing whether the value of a list of Fields (the first n operands, which are supposed to be FieldOperands or ParameterOperands) are equal to one of the values of another list of Fields (the second n operands, which are supposed to be FieldOperands).
 class Min
          Min aggregate function.
 class Minus
           
 class Mod
          This class represents the Modulo operator.
 class Mult
           
 class NavigatorOperator
          A NavigatorOperator typically represents a path expression.
 class Not
           
 class NotEqual
           
 class Or
           
 class Plus
          This operator operates on the numeric Types and the string Type.
 class Sqrt
           
 class Substring
          Operator representing the substring extraction given a String, a first integer to start from and a second integer indicating the length of the required substring.
 class Sum
          Sum aggregate function.
 class UMinus
           
 

Fields in org.objectweb.medor.filter.lib declared as Expression
protected  Expression BasicThreeArgsOperator.first
           
protected  Expression BasicThreeArgsOperator.second
           
protected  Expression BasicThreeArgsOperator.third
           
protected  Expression BasicBinaryOperator.left
           
protected  Expression BasicBinaryOperator.right
           
 

Methods in org.objectweb.medor.filter.lib that return Expression
 Expression MemberOf.getExpression(int idx)
           
 Expression Like.getExpression(int idx)
           
 Expression BasicUnaryOperator.getExpression(int idx)
           
 Expression BasicUnaryOperator.getExpression()
           
 Expression BasicThreeArgsOperator.getExpression(int idx)
           
 Expression BasicThreeArgsOperator.getFirstExpression()
           
 Expression BasicThreeArgsOperator.getSecondExpression()
           
 Expression BasicThreeArgsOperator.getThirdExpression()
           
 Expression BasicBinaryOperator.getExpression(int idx)
           
 Expression BasicBinaryOperator.getLeftExpression()
           
 Expression BasicBinaryOperator.getRightExpression()
           
 

Methods in org.objectweb.medor.filter.lib with parameters of type Expression
 void MemberOf.setExpression(int idx, Expression exp)
           
 void Like.setExpression(int idx, Expression exp)
           
static java.lang.String ExpressionPrinter.e2str(Expression e)
           
 void BasicUnaryOperator.setExpression(int idx, Expression exp)
           
 void BasicUnaryOperator.setExpression(Expression e)
           
 void BasicThreeArgsOperator.setExpression(int idx, Expression exp)
           
 void BasicThreeArgsOperator.setFirstExpression(Expression firstChild)
           
 void BasicThreeArgsOperator.setSecondExpression(Expression secondChild)
           
 void BasicThreeArgsOperator.setThirdExpression(Expression thirdChild)
           
 void BasicBinaryOperator.setExpression(int idx, Expression exp)
           
 void BasicBinaryOperator.setLeftExpression(Expression leftChild)
           
 void BasicBinaryOperator.setRightExpression(Expression rightChild)
           
 

Constructors in org.objectweb.medor.filter.lib with parameters of type Expression
UMinus(Expression e)
           
Sum(Expression e)
           
Sum(Expression e, boolean distinct)
           
Substring(Expression inputString, Expression start, Expression length)
          Constructs the operator
Substring(Expression inputString, Expression start, Expression length)
          Constructs the operator
Substring(Expression inputString, Expression start, Expression length)
          Constructs the operator
Sqrt(Expression e)
           
Plus(Expression l, Expression r)
           
Plus(Expression l, Expression r)
           
Or(Expression l, Expression r)
           
Or(Expression l, Expression r)
           
NotEqual(Expression l, Expression r)
           
NotEqual(Expression l, Expression r)
           
Not(Expression e)
           
Mult(Expression l, Expression r)
           
Mult(Expression l, Expression r)
           
Mod(Expression l, Expression r)
           
Mod(Expression l, Expression r)
           
Minus(Expression l, Expression r)
           
Minus(Expression l, Expression r)
           
Min(Expression e)
           
Min(Expression e, boolean distinct)
           
Max(Expression e)
           
Max(Expression e, boolean distinct)
           
LowerEqual(Expression l, Expression r)
           
LowerEqual(Expression l, Expression r)
           
Lower(Expression l, Expression r)
           
Lower(Expression l, Expression r)
           
Like(Expression str, Expression pattern, Expression escape)
           
Like(Expression str, Expression pattern, Expression escape)
           
Like(Expression str, Expression pattern, Expression escape)
           
Like(Expression str, Expression pattern, Expression escape, boolean not)
           
Like(Expression str, Expression pattern, Expression escape, boolean not)
           
Like(Expression str, Expression pattern, Expression escape, boolean not)
           
Like(Expression str, Expression pattern)
           
Like(Expression str, Expression pattern)
           
Like(Expression str, Expression pattern, boolean not)
           
Like(Expression str, Expression pattern, boolean not)
           
Length(Expression e)
           
IsNull(Expression e)
           
IsNull(Expression e, boolean not)
           
IsEmpty(Expression e)
           
IndexedLocate(Expression inputString, Expression substring, Expression fromIndex)
          Constructs an IndexedLocate operator, representing the search for a substring in an input string, starting at a given index.
IndexedLocate(Expression inputString, Expression substring, Expression fromIndex)
          Constructs an IndexedLocate operator, representing the search for a substring in an input string, starting at a given index.
IndexedLocate(Expression inputString, Expression substring, Expression fromIndex)
          Constructs an IndexedLocate operator, representing the search for a substring in an input string, starting at a given index.
GreaterEqual(Expression l, Expression r)
           
GreaterEqual(Expression l, Expression r)
           
Greater(Expression l, Expression r)
           
Greater(Expression l, Expression r)
           
FirstLocate(Expression substring, Expression instring)
          Returns the first position of an Expression (first parameter) in another Expression (second parameter).
FirstLocate(Expression substring, Expression instring)
          Returns the first position of an Expression (first parameter) in another Expression (second parameter).
Equal(Expression l, Expression r)
           
Equal(Expression l, Expression r)
           
DivideBy(Expression l, Expression r)
           
DivideBy(Expression l, Expression r)
           
Count(Expression e)
           
Count(Expression e, boolean distinct)
           
ConditionalOr(Expression l, Expression r)
           
ConditionalOr(Expression l, Expression r)
           
ConditionalAnd(Expression l, Expression r)
           
ConditionalAnd(Expression l, Expression r)
           
Concat(Expression left, Expression right)
          Returns the concatenation of two strings.
Concat(Expression left, Expression right)
          Returns the concatenation of two strings.
Bitwize(Expression e)
           
BasicThreeArgsOperator(Expression first, Expression second, Expression third)
           
BasicThreeArgsOperator(Expression first, Expression second, Expression third)
           
BasicThreeArgsOperator(Expression first, Expression second, Expression third)
           
Avg(Expression e)
           
Avg(Expression e, boolean distinct)
           
And(Expression l, Expression r)
           
And(Expression l, Expression r)
           
Abs(Expression e)
           
 

Uses of Expression in org.objectweb.medor.filter.postfix
 

Methods in org.objectweb.medor.filter.postfix that return Expression
 Expression[] PostfixExpressionHelper.toStack(Expression e)
           
 Expression PostfixExpressionHelper.join(Expression[] stack)
           
 Expression PostfixExpressionHelper.substituteParameters(ParameterOperand[] pos, Expression e)
           
 Expression[] PostfixExpressionHelper.substituteParameters(ParameterOperand[] pos, Expression[] stack)
           
 

Methods in org.objectweb.medor.filter.postfix with parameters of type Expression
 Expression[] PostfixExpressionHelper.toStack(Expression e)
           
 Expression PostfixExpressionHelper.join(Expression[] stack)
           
 Expression PostfixExpressionHelper.substituteParameters(ParameterOperand[] pos, Expression e)
           
 Expression[] PostfixExpressionHelper.substituteParameters(ParameterOperand[] pos, Expression[] stack)
           
 void PostfixExpressionHelper.fixIndexes(QueryNode node, Expression e)
           
 Operand PostfixExpressionHelper.evaluate(Expression[] stack, ParameterOperand[] parameters, Tuple t)
           
 java.util.ArrayList PostfixExpressionHelper.toStack(Expression e, java.util.ArrayList al)
           
 int PostfixExpressionHelper.getNumberOfNode(Expression e)
           
 boolean PostfixExpressionHelper.verifyNoNull(Expression e)
          Checks no branch of the expression is null.
 java.lang.String[] PostfixExpressionHelper.getParameterNames(Expression e)
           
 

Uses of Expression in org.objectweb.medor.filter.rdb.api
 

Subinterfaces of Expression in org.objectweb.medor.filter.rdb.api
 interface RdbFieldOperand
          An RdbFieldOperand is used to represent part of an sql Expression for a RdbQueryLeaf, as a Medor Expression.
 

Uses of Expression in org.objectweb.medor.filter.rdb.lib
 

Classes in org.objectweb.medor.filter.rdb.lib that implement Expression
 class BasicRdbFieldOperand
           
 

Uses of Expression in org.objectweb.medor.optim.jorm
 

Methods in org.objectweb.medor.optim.jorm that return Expression
 Expression JormFlatten2Rdb.updateFieldOfExpression(Expression e, BasicRdbExpQueryLeaf leaf, boolean add)
          Replaces the uses of the old fields of extents by fields of a leaf.
 Expression JormFlatten2Rdb.getDecode(PNameField pnf, BasicRdbExpQueryLeaf leaf, boolean add)
          Create an expression to decode a PName.
 

Methods in org.objectweb.medor.optim.jorm with parameters of type Expression
 Expression JormFlatten2Rdb.updateFieldOfExpression(Expression e, BasicRdbExpQueryLeaf leaf, boolean add)
          Replaces the uses of the old fields of extents by fields of a leaf.
 

Uses of Expression in org.objectweb.medor.optim.lib
 

Fields in org.objectweb.medor.optim.lib declared as Expression
 Expression BasicRule.ModifiedExpression.e
           
 

Methods in org.objectweb.medor.optim.lib with parameters of type Expression
protected  void PushSelectionRule.rewriteExp(QueryTree qt, Expression addedExp)
           
 BasicRule.ModifiedExpression PushSelectionRule.merge(Expression origin, Expression addExp, int op)
          It merges an source expresion with an additional expression.
 BasicRule.ModifiedExpression PushSelectionRule.merge(Expression origin, Expression addExp, int op)
          It merges an source expresion with an additional expression.
 BasicRule.ModifiedExpression PushSelectionRule.extractMapFromExpression(Expression e, java.util.Map qt2e, int op)
          This methods does two things.
 PushSelectionRule.SameQT PushSelectionRule.isSameQT(Expression e)
          It evaluates if inside an expression all QueryTreeField referenced in FieldOperands come from the same QueryTree.
 BasicRule.ModifiedExpression PushSelectionRule.goDownFieldOperand(Expression e)
           
 BasicRule.ModifiedExpression PushNotInExpressionRule.pushNotInExpression(Expression e, boolean hasANot)
          This recursive method push the Not operator in an expression.
 void IndexesGenerator.setFilterIndexes(Expression e, QueryTree[] qts)
          This method inherited from QueryIndexGenerator.
protected  boolean DropUselessNodeRule.replaceInFilter(Expression e, java.util.Map map)
           
 

Constructors in org.objectweb.medor.optim.lib with parameters of type Expression
BasicRule.ModifiedExpression(Expression ex, boolean ism)
           
 

Uses of Expression in org.objectweb.medor.optim.rdb
 

Fields in org.objectweb.medor.optim.rdb declared as Expression
 Expression GroupSameDBRule.RdbQuery.exp
           
 

Uses of Expression in org.objectweb.medor.query.api
 

Methods in org.objectweb.medor.query.api that return Expression
 Expression TCQueryLeaf.getQueryFilter()
           
 Expression FilteredQueryTree.getQueryFilter()
          Retrieves the filter associated to the QueryTree.
 Expression CalculatedField.getExpression()
           
 

Methods in org.objectweb.medor.query.api with parameters of type Expression
 void TCQueryLeaf.setQueryFilter(Expression filter)
           
 QueryNode QueryNodeFactory.createQueryNode(QueryTree[] children, short OperationType, Expression filter, TupleStructure tupleStructure)
          This methods creates the links between the children QueryTrees and the created QueryNode.
 CalculatedField QueryNode.addCalculatedField(java.lang.String name, PType type, Expression exp)
          Creates and adds a CalculatedField to the TupleStructure of the QueryNode.
 void QueryNode.updateCalculatedField(java.lang.String name, Expression e)
           
 void FilteredQueryTree.setQueryFilter(Expression e)
          Sets the filter associated to the FilteredQueryTree.
 void CalculatedField.setExpression(Expression e)
           
 QueryNode BinaryUnaryQueryNodeFactory.createQueryNode(QueryTree child, short operationType, Expression filter, TupleStructure tupleStructure)
          This methods creates the links between the children QueryTrees and the created QueryNode.
 QueryNode BinaryUnaryQueryNodeFactory.createQueryNode(QueryTree leftChild, QueryTree rightChild, short operationType, Expression filter, TupleStructure tupleStructure)
           
 

Uses of Expression in org.objectweb.medor.query.lib
 

Fields in org.objectweb.medor.query.lib declared as Expression
protected  Expression BasicQueryNode.filter
           
protected  Expression BasicCalculatedField.e
           
 

Methods in org.objectweb.medor.query.lib that return Expression
 Expression MedorTCQueryLeaf.getQueryFilter()
           
 Expression Intersection.getQueryFilter()
           
 Expression BasicQueryNode.getQueryFilter()
           
 Expression BasicCalculatedField.getExpression()
           
 

Methods in org.objectweb.medor.query.lib with parameters of type Expression
 void Unnest.setQueryFilter(Expression e)
           
 void Union.setQueryFilter(Expression e)
           
 void Project.setQueryFilter(Expression e)
           
 void Nest.setQueryFilter(Expression e)
           
 void MedorTCQueryLeaf.setQueryFilter(Expression filter)
           
 void Intersection.setQueryFilter(Expression f)
           
 void Cartesian.setQueryFilter(Expression f)
           
 CalculatedField BasicQueryNode.addCalculatedField(java.lang.String name, PType type, Expression exp)
          Creates and adds a CalculatedField to the TupleStructure of the QueryNode.
 void BasicQueryNode.setQueryFilter(Expression filter)
          The setQueryFilter method will be overwritten for implementations which do not support the operation.
 void BasicQueryNode.updateCalculatedField(java.lang.String name, Expression e)
           
 void BasicCalculatedField.setExpression(Expression e)
           
 QueryNode BasicBinaryUnaryQueryNodeFactory.createQueryNode(QueryTree child, short operationType, Expression filter, TupleStructure tupleStructure)
           
 QueryNode BasicBinaryUnaryQueryNodeFactory.createQueryNode(QueryTree leftChild, QueryTree rightChild, short operationType, Expression filter, TupleStructure tupleStructure)
           
 

Constructors in org.objectweb.medor.query.lib with parameters of type Expression
SelectProject(Expression jpFilter, java.lang.String nodeName, OptimizationMetaData optimizationMD)
          Basic constructor.
JoinProject(Expression filter, java.lang.String name, OptimizationMetaData optimizationMD)
          Basic constructor.
BasicCalculatedField(java.lang.String name, PType type, QueryTree qt, Expression e)
           
BasicCalculatedField(Expression e)
           
 

Uses of Expression in org.objectweb.medor.query.rdb.lib
 

Methods in org.objectweb.medor.query.rdb.lib that return Expression
 Expression BasicRdbExpQueryLeaf.getQueryFilter()
          Retrieves the filter associated to the RbdQueryLeaf.
 

Methods in org.objectweb.medor.query.rdb.lib with parameters of type Expression
 void BasicRdbExpQueryLeaf.setQueryFilter(Expression exp)
          Sets the filter associated to the RbdQueryLeaf.