| Package | Description | 
|---|---|
| org.apache.openjpa.persistence.query | OpenJPA Dynamic Query | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | AggregateType of the result of an aggregate operation | 
| interface  | DomainObjectDomain objects define the domain over which a query operates. | 
| interface  | PathExpressionInterface for operations over objects reached via paths | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbsExpressionDenotes ABS() operation on a given expression. | 
| class  | AbstractDomainObjectDomain Object is a path expression over which query is evaluated. | 
| class  | ArrayExpressionA single expression that holds an array of values. | 
| class  | AverageExpressionDenotes AVG() on a given Expression. | 
| class  | BinaryOperatorExpressionAn expression resulting from a binary operation on two expressions. | 
| class  | ConcatExpressionDenotes CONCAT(e1,e2,..) Expression. | 
| class  | CountExpressionDenotes COUNT(e) Expression. | 
| class  | CurrentTimeExpressionDenotes CURRENT_TIME(), CURRENT_DATE() and CURRENT_TIMESTAMP() expressions. | 
| class  | DistinctExpressionDenotes DISTINCT(e) Expression. | 
| class  | DividedByExpressionDenotes e1/e2 Expression. | 
| class  | ElseExpressionElse clause in a Case Statement. | 
| class  | EntryExpressionDenotes ENTRY(e) on a path. | 
| class  | FetchPathDenotes a path used in fetch join. | 
| class  | IndexExpressionDenotes INDEX(e) Expression. | 
| class  | JoinPathPath resulting by joining from a parent path via an attribute. | 
| class  | KeyExpressionDenotes KEY(e) Expression. | 
| class  | LengthExpressionDenotes LENGTH(e) Expression. | 
| class  | LiteralExpressionDenotes a Literal Expression. | 
| class  | LocateExpressionDenotes LOCATE(e1, e2, n) Expression. | 
| class  | LowerExpressionDenotes LOWER(e) Expression. | 
| class  | MaxExpressionDenotes MAX(e) Expression. | 
| class  | MinExpressionDenotes MIN(e) Expression. | 
| class  | MinusExpressionDenotes (e1 - e2) Expression. | 
| class  | OperatorPathA path resulting from KEY() or VALUE() operation on an existing path. | 
| class  | ParameterExpressionDenotes a parameter in a query. | 
| class  | PlusExpressionDenotes (e1 + e2) Expression. | 
| class  | QueryDefinitionImplImplements QueryDefinition. | 
| class  | RangeExpressionDenotes a range used by e1 BETWEEN x AND y operation. | 
| class  | RootPathDenotes root domain instance representing a persistent type. | 
| class  | SizeExpressionDenotes SIZE(e) Expression. | 
| class  | SquareRootExpressionDenotes SQRT(e) Expression. | 
| class  | SubStringExpressionDenotes SUBSTR(a,i1,i2) Expression. | 
| class  | SumExpressionDenotes SUM(e) Expression. | 
| class  | TimesExpressionDenotes (e1*e2) Expression. | 
| class  | TrimExpressionDenotes TRIM(e1,x) Expression. | 
| class  | TypeExpressionDenotes TYPE(e) Expression. | 
| class  | UnaryMinusExpressionDenotes (-e) Expression. | 
| class  | UpperExpressionDenotes UPPER(e) Expression. | 
| class  | ValueExpressionDenotes VALUE(e) Expression. | 
| class  | VarArgsExpressionA expression that holds an array of Expressions. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Expression | BinaryOperatorExpression. _e1 | 
| protected Expression | BinaryOperatorExpression. _e2 | 
| Modifier and Type | Method and Description | 
|---|---|
| Expression | Expression. abs()Absolute value. | 
| Expression | QueryDefinitionImpl. coalesce(Calendar... exp) | 
| Expression | QueryDefinition. coalesce(Calendar... 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. | 
| Expression | AbstractDomainObject. coalesce(Calendar... exp) | 
| Expression | QueryDefinitionImpl. coalesce(Date... exp) | 
| Expression | QueryDefinition. coalesce(Date... 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. | 
| Expression | AbstractDomainObject. coalesce(Date... exp) | 
| Expression | QueryDefinitionImpl. coalesce(Expression... exp) | 
| Expression | 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. | 
| Expression | AbstractDomainObject. coalesce(Expression... exp) | 
| Expression | QueryDefinitionImpl. coalesce(String... exp) | 
| Expression | QueryDefinition. coalesce(String... 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. | 
| Expression | AbstractDomainObject. coalesce(String... exp) | 
| Expression | Expression. concat(Expression... str)Concatenate a string with other string(s). | 
| Expression | Expression. concat(String... str)Concatenate a string with other string(s). | 
| Expression | QueryDefinitionImpl. currentDate() | 
| Expression | QueryDefinition. currentDate()Create an Expression corresponding to the current date on the database
 server at the time of query execution. | 
| Expression | AbstractDomainObject. currentDate() | 
| Expression | QueryDefinitionImpl. currentTime() | 
| Expression | QueryDefinition. currentTime()Create an Expression corresponding to the current time on the database
 server at the time of query execution. | 
| Expression | AbstractDomainObject. currentTime() | 
| Expression | QueryDefinitionImpl. currentTimestamp() | 
| Expression | QueryDefinition. currentTimestamp()Create an Expression corresponding to the current timestamp on the
 database server at the time of query execution. | 
| Expression | AbstractDomainObject. currentTimestamp() | 
| Expression | Aggregate. distinct()Specify that duplicates are to be removed before the aggregate operation
 is invoked. | 
| Expression | Expression. dividedBy(Expression expr)Division. | 
| Expression | Expression. dividedBy(Number num)Division. | 
| Expression | CaseExpressionImpl. elseCase(Calendar arg) | 
| Expression | CaseExpression. elseCase(Calendar arg)Add else to a case expression. | 
| Expression | CaseExpressionImpl. elseCase(Class arg) | 
| Expression | CaseExpression. elseCase(Class arg)Add else to a case expression. | 
| Expression | CaseExpressionImpl. elseCase(Date arg) | 
| Expression | CaseExpression. elseCase(Date arg)Add else to a case expression. | 
| Expression | CaseExpressionImpl. elseCase(Enum<?> arg) | 
| Expression | CaseExpression. elseCase(Enum<?> arg)Add else to a case expression. | 
| Expression | CaseExpressionImpl. elseCase(Expression arg) | 
| Expression | CaseExpression. elseCase(Expression arg)Add else to a case expression. | 
| Expression | CaseExpressionImpl. elseCase(Number arg) | 
| Expression | CaseExpression. elseCase(Number arg)Add else to a case expression. | 
| Expression | CaseExpressionImpl. elseCase(String arg) | 
| Expression | CaseExpression. elseCase(String arg)Add else to a case expression. | 
| Expression | BinaryOperatorExpression. getOperand1() | 
| Expression | BinaryOperatorExpression. getOperand2() | 
| Expression | DomainObject. index()Return an expression that corresponds to the index. | 
| Expression | AbstractDomainObject. index()Derives by INDEX() operation on this path. | 
| Expression | Expression. length()String length This method must be invoked on an expression corresponding
 to a string. | 
| Expression | QueryDefinitionImpl. literal(boolean b) | 
| Expression | QueryDefinition. literal(boolean b)Create an Expression corresponding to a boolean value. | 
| Expression | AbstractDomainObject. literal(boolean b) | 
| Expression | QueryDefinitionImpl. literal(Calendar c) | 
| Expression | QueryDefinition. literal(Calendar c)Create an Expression corresponding to a Calendar value. | 
| Expression | AbstractDomainObject. literal(Calendar c) | 
| Expression | QueryDefinitionImpl. literal(char c) | 
| Expression | QueryDefinition. literal(char c)Create an Expression corresponding to a character value. | 
| Expression | AbstractDomainObject. literal(char c) | 
| Expression | QueryDefinitionImpl. literal(Class cls) | 
| Expression | QueryDefinition. literal(Class cls)Create an Expression corresponding to an entity class. | 
| Expression | AbstractDomainObject. literal(Class cls) | 
| Expression | QueryDefinitionImpl. literal(Date d) | 
| Expression | QueryDefinition. literal(Date d)Create an Expression corresponding to a Date value. | 
| Expression | AbstractDomainObject. literal(Date d) | 
| Expression | QueryDefinitionImpl. literal(Enum<?> e) | 
| Expression | QueryDefinition. literal(Enum<?> e)Create an Expression corresponding to an enum. | 
| Expression | AbstractDomainObject. literal(Enum<?> e) | 
| Expression | QueryDefinitionImpl. literal(Number n) | 
| Expression | QueryDefinition. literal(Number n)Create an Expression corresponding to a numeric value. | 
| Expression | AbstractDomainObject. literal(Number n) | 
| Expression | QueryDefinitionImpl. literal(String s) | 
| Expression | QueryDefinition. literal(String s)Create an Expression corresponding to a String value. | 
| Expression | AbstractDomainObject. literal(String s) | 
| Expression | Expression. locate(Expression str)Locate a string contained within the string corresponding to the
 expression on which the method was invoked. | 
| Expression | 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 | 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 | Expression. locate(String str)Locate a string contained within the string corresponding to the
 expression on which the method was invoked. | 
| Expression | 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 | Expression. locate(String 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 | Expression. lower()Convert string to lowercase. | 
| Expression | Expression. minus()Unary minus. | 
| Expression | Expression. minus(Expression expr)Subtraction. | 
| Expression | Expression. minus(Number num)Subtraction. | 
| Expression | Expression. mod(Expression expr)Modulo operation. | 
| Expression | Expression. mod(int num)Modulo operation. | 
| Expression | QueryDefinitionImpl. nullif(Calendar arg1,
      Calendar arg2) | 
| Expression | QueryDefinition. nullif(Calendar arg1,
      Calendar arg2)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. | 
| Expression | AbstractDomainObject. nullif(Calendar arg1,
      Calendar arg2) | 
| Expression | QueryDefinitionImpl. nullif(Class arg1,
      Class arg2) | 
| Expression | QueryDefinition. nullif(Class arg1,
      Class arg2)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. | 
| Expression | AbstractDomainObject. nullif(Class arg1,
      Class arg2) | 
| Expression | QueryDefinitionImpl. nullif(Date arg1,
      Date arg2) | 
| Expression | QueryDefinition. nullif(Date arg1,
      Date arg2)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. | 
| Expression | AbstractDomainObject. nullif(Date arg1,
      Date arg2) | 
| Expression | QueryDefinitionImpl. nullif(Enum<?> arg1,
      Enum<?> arg2) | 
| Expression | QueryDefinition. nullif(Enum<?> arg1,
      Enum<?> arg2)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. | 
| Expression | AbstractDomainObject. nullif(Enum<?> arg1,
      Enum<?> arg2) | 
| Expression | QueryDefinitionImpl. nullif(Expression exp1,
      Expression exp2) | 
| Expression | 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. | 
| Expression | AbstractDomainObject. nullif(Expression exp1,
      Expression exp2) | 
| Expression | QueryDefinitionImpl. nullif(Number arg1,
      Number arg2) | 
| Expression | QueryDefinition. nullif(Number arg1,
      Number arg2)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. | 
| Expression | AbstractDomainObject. nullif(Number arg1,
      Number arg2) | 
| Expression | QueryDefinitionImpl. nullif(String arg1,
      String arg2) | 
| Expression | QueryDefinition. nullif(String arg1,
      String arg2)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. | 
| Expression | AbstractDomainObject. nullif(String arg1,
      String arg2) | 
| Expression | QueryDefinitionImpl. nullLiteral() | 
| Expression | QueryDefinition. nullLiteral()Create an Expression corresponding to a null value. | 
| Expression | AbstractDomainObject. nullLiteral() | 
| Expression | QueryDefinitionImpl. param(String name) | 
| Expression | QueryDefinition. param(String name)Specify use of a parameter of the given name. | 
| Expression | AbstractDomainObject. param(String name) | 
| Expression | Expression. plus(Expression expr)Addition. | 
| Expression | Expression. plus(Number num)Addition. | 
| Expression | PathExpression. size()Return an expression that corresponds to the number of elements
 association or element collection corresponding to the path expression. | 
| Expression | Expression. sqrt()Square root. | 
| Expression | Expression. substring(Expression start)Extract a substring starting at specified position through to the end of
 the string. | 
| Expression | Expression. substring(Expression start,
         Expression len)Extract a substring. | 
| Expression | Expression. substring(Expression start,
         int len)Extract a substring. | 
| Expression | Expression. substring(int start)Extract a substring starting at specified position through to the end of
 the string. | 
| Expression | Expression. substring(int start,
         Expression len)Extract a substring. | 
| Expression | Expression. substring(int start,
         int len)Extract a substring. | 
| Expression | Expression. times(Expression expr)Multiplication. | 
| Expression | Expression. times(Number num)Multiplication. | 
| Expression | Expression. trim()Trim leading and trailing blanks. | 
| Expression | Expression. trim(char c)Trim leading and trailing occurrences of character from the string. | 
| Expression | Expression. trim(char c,
    TrimSpec spec)Trim occurrences of the character from leading or trailing (or both)
 positions of the string, as specified by trim spec. | 
| Expression | Expression. trim(Expression expr)Trim leading and trailing occurrences of character specified by the
 expression argument from the string. | 
| Expression | 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. | 
| Expression | Expression. trim(TrimSpec spec)Trim leading, trailing blanks (or both) as specified by trim spec. | 
| Expression | PathExpression. type()Return an expression that corresponds to the type of the entity. | 
| Expression | Expression. upper()Convert string to uppercase. | 
| Modifier and Type | Method and Description | 
|---|---|
| Expression | QueryDefinitionImpl. coalesce(Expression... exp) | 
| Expression | 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. | 
| Expression | AbstractDomainObject. coalesce(Expression... exp) | 
| Expression | Expression. concat(Expression... str)Concatenate a string with other string(s). | 
| Expression | Expression. dividedBy(Expression expr)Division. | 
| Expression | CaseExpressionImpl. elseCase(Expression arg) | 
| Expression | CaseExpression. elseCase(Expression arg)Add else to a case expression. | 
| Predicate | Expression. in(Expression... params)Create a predicate for testing whether the expression value is a member
 of the argument list. | 
| Expression | Expression. locate(Expression str)Locate a string contained within the string corresponding to the
 expression on which the method was invoked. | 
| Expression | 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 | 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 | 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 | Expression. minus(Expression expr)Subtraction. | 
| Expression | Expression. mod(Expression expr)Modulo operation. | 
| Expression | QueryDefinitionImpl. nullif(Expression exp1,
      Expression exp2) | 
| Expression | 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. | 
| Expression | AbstractDomainObject. nullif(Expression exp1,
      Expression exp2) | 
| Expression | Expression. plus(Expression expr)Addition. | 
| CaseExpression | QueryDefinitionImpl. simpleCase(Expression caseOperand) | 
| CaseExpression | QueryDefinition. simpleCase(Expression caseOperand)Create a simple case expression with the given case operand. | 
| CaseExpression | AbstractDomainObject. simpleCase(Expression caseOperand) | 
| Expression | Expression. substring(Expression start)Extract a substring starting at specified position through to the end of
 the string. | 
| Expression | Expression. substring(Expression start,
         Expression len)Extract a substring. | 
| Expression | Expression. substring(Expression start,
         int len)Extract a substring. | 
| Expression | Expression. substring(int start,
         Expression len)Extract a substring. | 
| CaseExpression | CaseExpressionImpl. then(Expression then) | 
| CaseExpression | CaseExpression. then(Expression then)Add a then clause to a general or simple case expression. | 
| Expression | Expression. times(Expression expr)Multiplication. | 
| Expression | Expression. trim(Expression expr)Trim leading and trailing occurrences of character specified by the
 expression argument from the string. | 
| Expression | 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 | CaseExpressionImpl. when(Expression when) | 
| CaseExpression | CaseExpression. when(Expression when)Add a when clause to a simple case expression. | 
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.