Uses of Interface
org.apache.openjpa.persistence.query.Expression
Packages that use Expression
-
Uses of Expression in org.apache.openjpa.persistence.query
Subinterfaces of Expression in org.apache.openjpa.persistence.queryModifier and TypeInterfaceDescriptioninterfaceType of the result of an aggregate operationinterfaceDomain objects define the domain over which a query operates.interfaceInterface for operations over objects reached via pathsClasses in org.apache.openjpa.persistence.query that implement ExpressionModifier and TypeClassDescriptionclassDenotes ABS() operation on a given expression.classDomain Object is a path expression over which query is evaluated.classA single expression that holds an array of values.classDenotes AVG() on a given Expression.classAn expression resulting from a binary operation on two expressions.classDenotes CONCAT(e1,e2,..)classDenotes COUNT(e) Expression.classDenotes CURRENT_TIME(), CURRENT_DATE() and CURRENT_TIMESTAMP() expressions.classDenotes DISTINCT(e) Expression.classDenotes e1/e2 Expression.classElse clause in a Case Statement.classDenotes ENTRY(e) on a path.classDenotes a path used in fetch join.classDenotes INDEX(e) Expression.classPath resulting by joining from a parent path via an attribute.classDenotes KEY(e) Expression.classDenotes LENGTH(e) Expression.classDenotes a Literal Expression.classDenotes LOCATE(e1, e2, n) Expression.classDenotes LOWER(e) Expression.classDenotes MAX(e) Expression.classDenotes MIN(e) Expression.classDenotes (e1 - e2) Expression.classA path resulting from KEY() or VALUE() operation on an existing path.classDenotes a parameter in a query.classDenotes (e1 + e2) Expression.classImplements QueryDefinition.classDenotes a range used by e1 BETWEEN x AND y operation.classDenotes root domain instance representing a persistent type.classDenotes SIZE(e) Expression.classDenotes SQRT(e) Expression.classDenotes SUBSTR(a,i1,i2) Expression.classDenotes SUM(e) Expression.classDenotes (e1*e2) Expression.classDenotes TRIM(e1,x) Expression.classDenotes TYPE(e) Expression.classDenotes (-e) Expression.classDenotes UPPER(e) Expression.classDenotes VALUE(e) Expression.classA expression that holds an array of Expressions.Fields in org.apache.openjpa.persistence.query declared as ExpressionModifier and TypeFieldDescriptionprotected final ExpressionUnaryExpressionPredicate._eprotected final ExpressionUnaryExpressionPredicate._eprotected final ExpressionUnaryExpressionPredicate._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionUnaryOperatorExpression._eprotected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryExpressionPredicate._e1protected final ExpressionBinaryOperatorExpression._e1protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryExpressionPredicate._e2protected final ExpressionBinaryOperatorExpression._e2Methods in org.apache.openjpa.persistence.query that return ExpressionModifier and TypeMethodDescriptionExpression.abs()Absolute value.AbstractDomainObject.coalesce(Expression... exp) coalesce This is equivalent to a case expression that returns null if all its arguments evaluate to null, and the value of its first non-null argument otherwise.coalesce This is equivalent to a case expression that returns null if all its arguments evaluate to null, and the value of its first non-null argument otherwise.coalesce This is equivalent to a case expression that returns null if all its arguments evaluate to null, and the value of its first non-null argument otherwise.QueryDefinition.coalesce(Expression... exp) coalesce This is equivalent to a case expression that returns null if all its arguments evaluate to null, and the value of its first non-null argument otherwise.QueryDefinitionImpl.coalesce(Expression... exp) Concatenate a string with other string(s).Expression.concat(Expression... str) Concatenate a string with other string(s).AbstractDomainObject.currentDate()QueryDefinition.currentDate()Create an Expression corresponding to the current date on the database server at the time of query execution.QueryDefinitionImpl.currentDate()AbstractDomainObject.currentTime()QueryDefinition.currentTime()Create an Expression corresponding to the current time on the database server at the time of query execution.QueryDefinitionImpl.currentTime()AbstractDomainObject.currentTimestamp()QueryDefinition.currentTimestamp()Create an Expression corresponding to the current timestamp on the database server at the time of query execution.QueryDefinitionImpl.currentTimestamp()Aggregate.distinct()Specify that duplicates are to be removed before the aggregate operation is invoked.Division.Expression.dividedBy(Expression expr) Division.Add else to a case expression.Add else to a case expression.Add else to a case expression.Add else to a case expression.Add else to a case expression.Add else to a case expression.CaseExpression.elseCase(Expression arg) Add else to a case expression.CaseExpressionImpl.elseCase(Expression arg) BinaryOperatorExpression.getOperand1()BinaryOperatorExpression.getOperand2()AbstractDomainObject.index()Derives by INDEX() operation on this path.DomainObject.index()Return an expression that corresponds to the index. of the domain object in the referenced association or element collection.Expression.length()String length This method must be invoked on an expression corresponding to a string.AbstractDomainObject.literal(boolean b) AbstractDomainObject.literal(char c) QueryDefinition.literal(boolean b) Create an Expression corresponding to a boolean value.QueryDefinition.literal(char c) Create an Expression corresponding to a character value.Create an Expression corresponding to an entity class.Create an Expression corresponding to an enum.Create an Expression corresponding to a numeric value.Create an Expression corresponding to a String value.Create an Expression corresponding to a Calendar value.Create an Expression corresponding to a Date value.QueryDefinitionImpl.literal(boolean b) QueryDefinitionImpl.literal(char c) Locate a string contained within the string corresponding to the expression on which the method was invoked.Locate a string contained within the string corresponding to the expression on which the method was invoked, starting at a specified search position.Expression.locate(String str, Expression position) Locate a string contained within the string corresponding to the expression on which the method was invoked, starting at a specified search position.Expression.locate(Expression str) Locate a string contained within the string corresponding to the expression on which the method was invoked.Expression.locate(Expression str, int position) Locate a string contained within the string corresponding to the expression on which the method was invoked, starting at a specified search position.Expression.locate(Expression str, Expression position) Locate a string contained within the string corresponding to the expression on which the method was invoked, starting at a specified search position.Expression.lower()Convert string to lowercase.Expression.minus()Unary minus.Subtraction.Expression.minus(Expression expr) Subtraction.Expression.mod(int num) Modulo operation.Expression.mod(Expression expr) Modulo operation.AbstractDomainObject.nullif(Expression exp1, Expression exp2) nullif This is equivalent to a case expression that tests whether its arguments are equal, returning null if they are and the value of the first expression if they are not.nullif This is equivalent to a case expression that tests whether its arguments are equal, returning null if they are and the value of the first expression if they are not.nullif This is equivalent to a case expression that tests whether its arguments are equal, returning null if they are and the value of the first expression if they are not.nullif This is equivalent to a case expression that tests whether its arguments are equal, returning null if they are and the value of the first expression if they are not.nullif This is equivalent to a case expression that tests whether its arguments are equal, returning null if they are and the value of the first expression if they are not.nullif This is equivalent to a case expression that tests whether its arguments are equal, returning null if they are and the value of the first expression if they are not.QueryDefinition.nullif(Expression exp1, Expression exp2) nullif This is equivalent to a case expression that tests whether its arguments are equal, returning null if they are and the value of the first expression if they are not.QueryDefinitionImpl.nullif(Expression exp1, Expression exp2) AbstractDomainObject.nullLiteral()QueryDefinition.nullLiteral()Create an Expression corresponding to a null value.QueryDefinitionImpl.nullLiteral()Specify use of a parameter of the given name.Addition.Expression.plus(Expression expr) Addition.PathExpression.size()Return an expression that corresponds to the number of elements association or element collection corresponding to the path expression.Expression.sqrt()Square root.Expression.substring(int start) Extract a substring starting at specified position through to the end of the string.Expression.substring(int start, int len) Extract a substring.Expression.substring(int start, Expression len) Extract a substring.Expression.substring(Expression start) Extract a substring starting at specified position through to the end of the string.Expression.substring(Expression start, int len) Extract a substring.Expression.substring(Expression start, Expression len) Extract a substring.Multiplication.Expression.times(Expression expr) Multiplication.Expression.trim()Trim leading and trailing blanks.Expression.trim(char c) Trim leading and trailing occurrences of character from the string.Trim occurrences of the character from leading or trailing (or both) positions of the string, as specified by trim spec.Expression.trim(Expression expr) Trim leading and trailing occurrences of character specified by the expression argument from the string.Expression.trim(Expression expr, TrimSpec spec) Trim occurrences of the character specified by the expression argument from leading or trailing (or both) positions of the string, as specified by trim spec.Trim leading, trailing blanks (or both) as specified by trim spec.PathExpression.type()Return an expression that corresponds to the type of the entity.Expression.upper()Convert string to uppercase.Methods in org.apache.openjpa.persistence.query with parameters of type ExpressionModifier and TypeMethodDescriptionAbstractDomainObject.coalesce(Expression... exp) QueryDefinition.coalesce(Expression... exp) coalesce This is equivalent to a case expression that returns null if all its arguments evaluate to null, and the value of its first non-null argument otherwise.QueryDefinitionImpl.coalesce(Expression... exp) Expression.concat(Expression... str) Concatenate a string with other string(s).Expression.dividedBy(Expression expr) Division.CaseExpression.elseCase(Expression arg) Add else to a case expression.CaseExpressionImpl.elseCase(Expression arg) Expression.in(Expression... params) Create a predicate for testing whether the expression value is a member of the argument list.Expression.locate(String str, Expression position) Locate a string contained within the string corresponding to the expression on which the method was invoked, starting at a specified search position.Expression.locate(Expression str) Locate a string contained within the string corresponding to the expression on which the method was invoked.Expression.locate(Expression str, int position) Locate a string contained within the string corresponding to the expression on which the method was invoked, starting at a specified search position.Expression.locate(Expression str, Expression position) Locate a string contained within the string corresponding to the expression on which the method was invoked, starting at a specified search position.Expression.minus(Expression expr) Subtraction.Expression.mod(Expression expr) Modulo operation.AbstractDomainObject.nullif(Expression exp1, Expression exp2) QueryDefinition.nullif(Expression exp1, Expression exp2) nullif This is equivalent to a case expression that tests whether its arguments are equal, returning null if they are and the value of the first expression if they are not.QueryDefinitionImpl.nullif(Expression exp1, Expression exp2) Expression.plus(Expression expr) Addition.AbstractDomainObject.simpleCase(Expression caseOperand) QueryDefinition.simpleCase(Expression caseOperand) Create a simple case expression with the given case operand.QueryDefinitionImpl.simpleCase(Expression caseOperand) Expression.substring(int start, Expression len) Extract a substring.Expression.substring(Expression start) Extract a substring starting at specified position through to the end of the string.Expression.substring(Expression start, int len) Extract a substring.Expression.substring(Expression start, Expression len) Extract a substring.CaseExpression.then(Expression then) Add a then clause to a general or simple case expression.CaseExpressionImpl.then(Expression then) Expression.times(Expression expr) Multiplication.Expression.trim(Expression expr) Trim leading and trailing occurrences of character specified by the expression argument from the string.Expression.trim(Expression expr, TrimSpec spec) Trim occurrences of the character specified by the expression argument from leading or trailing (or both) positions of the string, as specified by trim spec.CaseExpression.when(Expression when) Add a when clause to a simple case expression.CaseExpressionImpl.when(Expression when) Constructors in org.apache.openjpa.persistence.query with parameters of type ExpressionModifierConstructorDescriptionBetweenExpression(Expression arg1, RangeExpression arg2) DistinctExpression(Expression expr) DividedByExpression(Expression op1, Expression op2) ElseExpression(CaseExpressionImpl owner, Expression op) EqualExpression(Expression op1, Expression op2) GreaterEqualExpression(Expression op1, Expression op2) GreaterThanExpression(Expression op1, Expression op2) InExpression(Expression op, ArrayExpression op2) InExpression(Expression op, Expression subquery) LessEqualExpression(Expression op1, Expression op2) LessThanExpression(Expression op1, Expression op2) LikeExpression(Expression e, Expression pattern) LikeExpression(Expression e, Expression pattern, Object echar) LocateExpression(Expression key, String str, int start) LocateExpression(Expression key, String str, Expression start) LocateExpression(Expression key, Expression str, int start) LocateExpression(Expression key, Expression str, Expression start) MemberOfExpression(Expression op, Expression op2) MinusExpression(Expression op, Expression op2) NotEqualExpression(Expression op1, Expression op2) PlusExpression(Expression op, Expression op2) RangeExpression(Expression e1, Expression e2) SubStringExpression(Expression op, int start) SubStringExpression(Expression op, int start, int len) SubStringExpression(Expression op, Expression start) SubStringExpression(Expression op, Expression start, Expression l) TimesExpression(Expression op1, Expression op2) TrimExpression(Expression op, char ch, TrimSpec spec) TrimExpression(Expression op, Expression ch, TrimSpec spec) VarArgsExpression(Expression[] values)