Uses of Interface
org.apache.openjpa.kernel.exps.Value
-
Packages that use Value Package Description org.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Treeorg.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstractionorg.apache.openjpa.kernel OpenJPA Runtime Kernelorg.apache.openjpa.kernel.exps OpenJPA Expression Treeorg.apache.openjpa.kernel.jpql JPA Query Language Supportorg.apache.openjpa.persistence.criteria OpenJPA Criteria Query -
-
Uses of Value in org.apache.openjpa.jdbc.kernel.exps
Subinterfaces of Value in org.apache.openjpa.jdbc.kernel.exps Modifier and Type Interface Description interfaceValA Value represents any non-operator in a query filter, including constants, variables, and object fields.Classes in org.apache.openjpa.jdbc.kernel.exps that implement Value Modifier and Type Class Description classAbsAbsolute value.classArgsA list of arguments to a multi-argument function.classCoalesceExpressionCoalesce expression.classCollectionParamA collection-valued input parameter in an in-expression.classConcatConcatenate one string with another.classDatastoreFunctionA unary operator that executes a datastore specific function with zero or more arguments.classGeneralCaseExpressionGeneral case expression.classIndexOfFind the index of one string within another.classLitA literal value in a filter.classMapEntryReturns the Map.Entryof a map value. classMapKeyReturns the key of a map value.classMathValue produced by a mathematical operation on two values.classNullA literal null value in a filter.classNullableAggregateUnaryOpOPENJPA-1794 An aggregate unary operation that can indicate whether a null value from the data store should be returned as null.classNullIfExpressionNullIf expression.classParamA parameter in a filter.classPCPathA path represents a traversal into fields of a candidate object.classSimpleCaseExpressionSimple case expression.classSqrtSquare root.classStringLengthReturns the number of characters in a string.classSubQA subquery.classSubstringTake a substring of a string.classToLowerCaseLower-cases a string.classToUpperCaseUpper-cases a string.classTrimReturns the number of characters in a string.classTypeLitA type literal value.Methods in org.apache.openjpa.jdbc.kernel.exps that return Value Modifier and Type Method Description ValueJDBCExpressionFactory. abs(Value val)ValueJDBCExpressionFactory. add(Value v1, Value v2)ValueJDBCExpressionFactory. all(Value val)ValueJDBCExpressionFactory. any(Value val)ValueJDBCExpressionFactory. avg(Value val)ValueJDBCExpressionFactory. cast(Value val, java.lang.Class cls)ValueJDBCExpressionFactory. coalesceExpression(Value[] vals)ValueJDBCExpressionFactory. concat(Value v1, Value v2)ValueJDBCExpressionFactory. count(Value val)ValueJDBCExpressionFactory. distinct(Value val)ValueJDBCExpressionFactory. divide(Value v1, Value v2)ValueJDBCExpressionFactory. generalCaseExpression(Expression[] exp, Value val)<T extends java.util.Date>
ValueJDBCExpressionFactory. getCurrentDate(java.lang.Class<T> dateType)<T extends java.util.Date>
ValueJDBCExpressionFactory. getCurrentTime(java.lang.Class<T> dateType)<T extends java.util.Date>
ValueJDBCExpressionFactory. getCurrentTimestamp(java.lang.Class<T> dateType)ValueJDBCExpressionFactory. getKey(Value val)ValueJDBCExpressionFactory. getMapValue(Value map, Value arg)ValueJDBCExpressionFactory. getNull()ValueJDBCExpressionFactory. getObjectId(Value val)ValueCoalesceExpression. getOtherPath()ValueGeneralCaseExpression. getOtherPath()ValueNullIfExpression. getOtherPath()ValueSimpleCaseExpression. getOtherPath()ValueVal. getSelectAs()ValueJDBCExpressionFactory. getThis()Value[]Args. getValues()ValueJDBCExpressionFactory. index(Value val)ValueJDBCExpressionFactory. indexOf(Value v1, Value v2)ValueJDBCExpressionFactory. mapEntry(Value key, Value val)ValueJDBCExpressionFactory. mapKey(Value key, Value val)ValueJDBCExpressionFactory. max(Value val)ValueJDBCExpressionFactory. min(Value val)ValueJDBCExpressionFactory. mod(Value v1, Value v2)ValueJDBCExpressionFactory. multiply(Value v1, Value v2)ValueJDBCExpressionFactory. newAggregate(AggregateListener listener, Value arg)ValueJDBCExpressionFactory. newBoundVariable(java.lang.String name, java.lang.Class type)ValueJDBCExpressionFactory. newExtension(FilterListener listener, Value target, Value arg)ValueJDBCExpressionFactory. newFunction(java.lang.String functionName, java.lang.Class<?> resultType, Value... args)ValueJDBCExpressionFactory. newUnboundVariable(java.lang.String name, java.lang.Class type)ValueJDBCExpressionFactory. nullIfExpression(Value val1, Value val2)ValueJDBCExpressionFactory. simpleCaseExpression(Value caseOperand, Expression[] exp, Value val1)ValueJDBCExpressionFactory. size(Value val)ValueJDBCExpressionFactory. sqrt(Value val)ValueJDBCExpressionFactory. stringLength(Value str)ValueJDBCExpressionFactory. substring(Value v1, Value v2)ValueJDBCExpressionFactory. subtract(Value v1, Value v2)ValueJDBCExpressionFactory. sum(Value val)ValueJDBCExpressionFactory. toLowerCase(Value val)ValueJDBCExpressionFactory. toUpperCase(Value val)ValueJDBCExpressionFactory. trim(Value str, Value trimChar, java.lang.Boolean where)ValueJDBCExpressionFactory. type(Value val)Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type Value Modifier and Type Method Description ValueJDBCExpressionFactory. abs(Value val)ValueJDBCExpressionFactory. add(Value v1, Value v2)ValueJDBCExpressionFactory. all(Value val)ValueJDBCExpressionFactory. any(Value val)ExpressionJDBCExpressionFactory. asExpression(Value v)ValueJDBCExpressionFactory. avg(Value val)ExpressionJDBCExpressionFactory. bindKeyVariable(Value var, Value val)ExpressionJDBCExpressionFactory. bindValueVariable(Value var, Value val)ExpressionJDBCExpressionFactory. bindVariable(Value var, Value val)ValueJDBCExpressionFactory. cast(Value val, java.lang.Class cls)ValueJDBCExpressionFactory. coalesceExpression(Value[] vals)ValueJDBCExpressionFactory. concat(Value v1, Value v2)ExpressionJDBCExpressionFactory. contains(Value map, Value arg)ExpressionJDBCExpressionFactory. containsKey(Value map, Value arg)ExpressionJDBCExpressionFactory. containsValue(Value map, Value arg)ValueJDBCExpressionFactory. count(Value val)ValueJDBCExpressionFactory. distinct(Value val)ValueJDBCExpressionFactory. divide(Value v1, Value v2)ExpressionJDBCExpressionFactory. endsWith(Value v1, Value v2)ExpressionJDBCExpressionFactory. equal(Value v1, Value v2)ValueJDBCExpressionFactory. generalCaseExpression(Expression[] exp, Value val)ValueJDBCExpressionFactory. getKey(Value val)ValueJDBCExpressionFactory. getMapValue(Value map, Value arg)ValueJDBCExpressionFactory. getObjectId(Value val)ExpressionJDBCExpressionFactory. greaterThan(Value v1, Value v2)ExpressionJDBCExpressionFactory. greaterThanEqual(Value v1, Value v2)ValueJDBCExpressionFactory. index(Value val)ValueJDBCExpressionFactory. indexOf(Value v1, Value v2)ExpressionJDBCExpressionFactory. isEmpty(Value val)ExpressionJDBCExpressionFactory. isInstance(Value val, java.lang.Class c)ExpressionJDBCExpressionFactory. isNotEmpty(Value val)booleanJDBCExpressionFactory. isVerticalType(Value val)ExpressionJDBCExpressionFactory. lessThan(Value v1, Value v2)ExpressionJDBCExpressionFactory. lessThanEqual(Value v1, Value v2)ValueJDBCExpressionFactory. mapEntry(Value key, Value val)ValueJDBCExpressionFactory. mapKey(Value key, Value val)ExpressionJDBCExpressionFactory. matches(Value v1, Value v2, java.lang.String single, java.lang.String multi, java.lang.String esc)ValueJDBCExpressionFactory. max(Value val)ValueJDBCExpressionFactory. min(Value val)ValueJDBCExpressionFactory. mod(Value v1, Value v2)ValueJDBCExpressionFactory. multiply(Value v1, Value v2)ValueJDBCExpressionFactory. newAggregate(AggregateListener listener, Value arg)ArgumentsJDBCExpressionFactory. newArgumentList(Value... vs)ArgumentsJDBCExpressionFactory. newArgumentList(Value v1, Value v2)ValueJDBCExpressionFactory. newExtension(FilterListener listener, Value target, Value arg)ValueJDBCExpressionFactory. newFunction(java.lang.String functionName, java.lang.Class<?> resultType, Value... args)PathJDBCExpressionFactory. newPath(Value val)ExpressionJDBCExpressionFactory. notEqual(Value v1, Value v2)ExpressionJDBCExpressionFactory. notMatches(Value v1, Value v2, java.lang.String single, java.lang.String multi, java.lang.String esc)ValueJDBCExpressionFactory. nullIfExpression(Value val1, Value val2)voidCoalesceExpression. setOtherPath(Value other)voidGeneralCaseExpression. setOtherPath(Value other)voidNullIfExpression. setOtherPath(Value other)voidSimpleCaseExpression. setOtherPath(Value other)ValueJDBCExpressionFactory. simpleCaseExpression(Value caseOperand, Expression[] exp, Value val1)ValueJDBCExpressionFactory. size(Value val)ValueJDBCExpressionFactory. sqrt(Value val)ExpressionJDBCExpressionFactory. startsWith(Value v1, Value v2)ValueJDBCExpressionFactory. stringLength(Value str)ValueJDBCExpressionFactory. substring(Value v1, Value v2)ValueJDBCExpressionFactory. subtract(Value v1, Value v2)ValueJDBCExpressionFactory. sum(Value val)ValueJDBCExpressionFactory. toLowerCase(Value val)ValueJDBCExpressionFactory. toUpperCase(Value val)ValueJDBCExpressionFactory. trim(Value str, Value trimChar, java.lang.Boolean where)ValueJDBCExpressionFactory. type(Value val)ExpressionJDBCExpressionFactory. whenCondition(Expression exp, Value val)ExpressionJDBCExpressionFactory. whenScalar(Value val1, Value val2) -
Uses of Value in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql with parameters of type Value Modifier and Type Method Description booleanLogicalUnion.UnionSelect. orderBy(SQLBuffer sql, boolean asc, boolean select, Value selAs)booleanLogicalUnion.UnionSelect. orderBy(SQLBuffer sql, boolean asc, Joins joins, boolean select, Value selAs)booleanSelect. orderBy(SQLBuffer sql, boolean asc, boolean sel, Value selAs)Add an ORDER BY clause.booleanSelect. orderBy(SQLBuffer sql, boolean asc, Joins joins, boolean sel, Value selAs)Add an ORDER BY clause.booleanSelectImpl. orderBy(SQLBuffer sql, boolean asc, boolean sel, Value selAs)booleanSelectImpl. orderBy(SQLBuffer sql, boolean asc, Joins joins, boolean sel, Value selAs) -
Uses of Value in org.apache.openjpa.kernel
Methods in org.apache.openjpa.kernel that return types with arguments of type Value Modifier and Type Method Description java.util.Map<FieldMetaData,Value>AbstractStoreQuery.AbstractExecutor. getUpdates(StoreQuery q)java.util.Map<FieldMetaData,Value>QueryContext. getUpdates()If this query is a bulk update, return a map of theFieldMetaDatas toConstants.java.util.Map<FieldMetaData,Value>StoreQuery.Executor. getUpdates(StoreQuery q)Return a map ofFieldMetaDatato updateConstants, in cases where this query is for a bulk update.Methods in org.apache.openjpa.kernel with parameters of type Value Modifier and Type Method Description protected voidExpressionStoreQuery.AbstractExpressionExecutor. assertNotContainer(Value val, StoreQuery q)Throw proper exception if given value is a collection/map/array. -
Uses of Value in org.apache.openjpa.kernel.exps
Subinterfaces of Value in org.apache.openjpa.kernel.exps Modifier and Type Interface Description interfaceArgumentsMultiple arguments to a function call.interfaceLiteralInterface for any literal value.interfaceParameterA query parameter.interfacePathA path represents a traversal into fields of a candidate object.interfaceSubqueryQuery value representing a subquery.Classes in org.apache.openjpa.kernel.exps that implement Value Modifier and Type Class Description classCandidatePathA path represents a traversal into fields of a candidate object.classCoalesceAn in-memory representation of a coalesce expressionclassNullIfAn in-memory representation of a nullif expressionclassSimpleCaseAn in-memory representation of a simple case expressionclassValAn in-memory representation of aValue.Fields in org.apache.openjpa.kernel.exps declared as Value Modifier and Type Field Description static Value[]QueryExpressions. EMPTY_VALUESValue[]QueryExpressions. groupingValue[]QueryExpressions. orderingValue[]QueryExpressions. projectionsValue[]QueryExpressions. rangeFields in org.apache.openjpa.kernel.exps with type parameters of type Value Modifier and Type Field Description java.util.Map<Path,Value>QueryExpressions. updatesMap ofFieldMetaData,Valuefor update statements.Methods in org.apache.openjpa.kernel.exps that return Value Modifier and Type Method Description ValueExpressionFactory. abs(Value num)Return a value representing the absolute value of the given one.ValueInMemoryExpressionFactory. abs(Value val)ValueExpressionFactory. add(Value num1, Value num2)Return a value representing the two values added together.ValueInMemoryExpressionFactory. add(Value val1, Value val2)ValueExpressionFactory. all(Value target)Return an expression representing the given condition.ValueInMemoryExpressionFactory. all(Value val)ValueExpressionFactory. any(Value target)Return an expression representing the given condition.ValueInMemoryExpressionFactory. any(Value val)ValueExpressionFactory. avg(Value num)Return the average of the given value for all matches.ValueInMemoryExpressionFactory. avg(Value val)ValueExpressionFactory. cast(Value obj, java.lang.Class cls)Cast the value to the given class.ValueInMemoryExpressionFactory. cast(Value val, java.lang.Class cls)ValueExpressionFactory. coalesceExpression(Value[] val)Return a coalesce expressionValueInMemoryExpressionFactory. coalesceExpression(Value[] val)ValueExpressionFactory. concat(Value str, Value args)Return a value representing the concatenation of the given target with the given args.ValueInMemoryExpressionFactory. concat(Value val1, Value val2)ValueExpressionFactory. count(Value obj)Return the count of the given value for all matches.ValueInMemoryExpressionFactory. count(Value val)protected ValueAbstractExpressionBuilder. createVariable(java.lang.String id, boolean bind)ValueExpressionFactory. distinct(Value obj)Return distinct values of the given value.ValueInMemoryExpressionFactory. distinct(Value val)ValueExpressionFactory. divide(Value num1, Value num2)Return a value representing the first value divided by the first one.ValueInMemoryExpressionFactory. divide(Value val1, Value val2)Value[]ExpressionParser. eval(java.lang.String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)Parse the given value clauses.ValueContext. findVariable(java.lang.String alias)Given an alias find the variable in JPQL contexts.ValueExpressionFactory. generalCaseExpression(Expression[] exp, Value val)Return a general case expressionValueInMemoryExpressionFactory. generalCaseExpression(Expression[] exp, Value val)<T extends java.util.Date>
ValueExpressionFactory. getCurrentDate(java.lang.Class<T> dateType)Return a value representing the current date.<T extends java.util.Date>
ValueInMemoryExpressionFactory. getCurrentDate(java.lang.Class<T> dateType)<T extends java.util.Date>
ValueExpressionFactory. getCurrentTime(java.lang.Class<T> timeType)Return a value representing the current time.<T extends java.util.Date>
ValueInMemoryExpressionFactory. getCurrentTime(java.lang.Class<T> dateType)<T extends java.util.Date>
ValueExpressionFactory. getCurrentTimestamp(java.lang.Class<T> timestampType)Return a value representing the current timestamp.<T extends java.util.Date>
ValueInMemoryExpressionFactory. getCurrentTimestamp(java.lang.Class<T> dateType)ValueExpressionFactory. getKey(Value val)Path navigation thru map keyValueInMemoryExpressionFactory. getKey(Value val)ValueExpressionFactory. getMapValue(Value map, Value arg)Return an expression representing the given condition.ValueInMemoryExpressionFactory. getMapValue(Value map, Value arg)ValueExpressionFactory. getNull()Return a value representing null.ValueInMemoryExpressionFactory. getNull()ValueExpressionFactory. getObjectId(Value val)Return the object id of the given value.ValueInMemoryExpressionFactory. getObjectId(Value val)ValueVal. getSelectAs()ValueValue. getSelectAs()Return 'this' concrete class if alias is set, otherwise nullValueExpressionFactory. getThis()Return a value representingthis.ValueInMemoryExpressionFactory. getThis()Value[]Arguments. getValues()Return the values that make up the arguments.protected abstract ValueAbstractExpressionBuilder. getVariable(java.lang.String id)Returns the variable associated with the schema alias (id).protected ValueAbstractExpressionBuilder. getVariable(java.lang.String id, boolean bind)Returns a value for the given id.ValueContext. getVariable(java.lang.String alias)Given an alias and return its associated variable.ValueExpressionFactory. index(Value target)Return an index/position of the given value within a collection/map.ValueInMemoryExpressionFactory. index(Value val)ValueExpressionFactory. indexOf(Value str, Value args)Return a value representing the indexOf (LOCATE in JPQL) function on the given target with the given args.ValueInMemoryExpressionFactory. indexOf(Value val1, Value val2)ValueExpressionFactory. mapEntry(Value key, Value val)Return the map entry of the given value.ValueInMemoryExpressionFactory. mapEntry(Value key, Value val)ValueExpressionFactory. mapKey(Value key, Value val)Return the map key of the given valueValueInMemoryExpressionFactory. mapKey(Value key, Value val)ValueExpressionFactory. max(Value num)Return the max of the given value for all matches.ValueInMemoryExpressionFactory. max(Value val)ValueExpressionFactory. min(Value num)Return the max of the given value for all matches.ValueInMemoryExpressionFactory. min(Value val)ValueExpressionFactory. mod(Value num1, Value num2)Return a value representing the first value mod'd by the second one.ValueInMemoryExpressionFactory. mod(Value val1, Value val2)ValueExpressionFactory. multiply(Value num1, Value num2)Return a value representing the two values multiplied together.ValueInMemoryExpressionFactory. multiply(Value val1, Value val2)ValueExpressionFactory. newAggregate(AggregateListener listener, Value args)Return the value of the given function.ValueInMemoryExpressionFactory. newAggregate(AggregateListener listener, Value arg)ValueExpressionFactory. newBoundVariable(java.lang.String name, java.lang.Class type)This method will be called only once per variable bound in acontainsclause, and the returned value will be reused for any further instances of the variable in subexpression of the filter string.ValueInMemoryExpressionFactory. newBoundVariable(java.lang.String name, java.lang.Class type)ValueExpressionFactory. newExtension(FilterListener listener, Value target, Value args)Return the value of the given extension.ValueInMemoryExpressionFactory. newExtension(FilterListener listener, Value target, Value arg)ValueExpressionFactory. newFunction(java.lang.String functionName, java.lang.Class<?> resultType, Value... args)Return a value representing the given datastore function with the given arguments.ValueInMemoryExpressionFactory. newFunction(java.lang.String functionName, java.lang.Class<?> resultType, Value... args)ValueExpressionFactory. newUnboundVariable(java.lang.String name, java.lang.Class type)Return an unbound variable.ValueInMemoryExpressionFactory. newUnboundVariable(java.lang.String name, java.lang.Class type)ValueExpressionFactory. nullIfExpression(Value val1, Value val2)Return a nullif expressionValueInMemoryExpressionFactory. nullIfExpression(Value val1, Value val2)ValueExpressionFactory. simpleCaseExpression(Value caseOperand, Expression[] exp, Value val)Return a simple case expressionValueInMemoryExpressionFactory. simpleCaseExpression(Value caseOperand, Expression[] exp, Value val)ValueExpressionFactory. size(Value target)Return an expression representing the given condition.ValueInMemoryExpressionFactory. size(Value val)ValueExpressionFactory. sqrt(Value num)Return the square root of the given value.ValueInMemoryExpressionFactory. sqrt(Value val)ValueExpressionFactory. stringLength(Value str)Returns the number of characters in the String value.ValueInMemoryExpressionFactory. stringLength(Value str)ValueExpressionFactory. substring(Value str, Value args)Return a value representing the substring function on the given target with the given args.ValueInMemoryExpressionFactory. substring(Value val1, Value val2)ValueExpressionFactory. subtract(Value num1, Value num2)Return a value representing the second value subtracted from the first.ValueInMemoryExpressionFactory. subtract(Value val1, Value val2)ValueExpressionFactory. sum(Value num)Return the max of the given value for all matches.ValueInMemoryExpressionFactory. sum(Value val)ValueExpressionFactory. toLowerCase(Value str)Return the upper case of the given value.ValueInMemoryExpressionFactory. toLowerCase(Value val)ValueExpressionFactory. toUpperCase(Value str)Return the upper case of the given value.ValueInMemoryExpressionFactory. toUpperCase(Value val)protected ValueAbstractExpressionBuilder. traversePath(Path path, java.lang.String field)Traverse the given field in the given path.protected ValueAbstractExpressionBuilder. traversePath(Path path, java.lang.String field, boolean pcOnly, boolean allowNull)Traverse the given field in the given path.protected ValueAbstractExpressionBuilder. traverseXPath(Path path, java.lang.String field)ValueExpressionFactory. trim(Value str, Value trimChar, java.lang.Boolean where)Trims the specified specified trimChar from the specified value.ValueInMemoryExpressionFactory. trim(Value str, Value trimChar, java.lang.Boolean where)ValueExpressionFactory. type(Value target)Return the type/class of the given value.ValueInMemoryExpressionFactory. type(Value val)Methods in org.apache.openjpa.kernel.exps that return types with arguments of type Value Modifier and Type Method Description java.util.Map<java.lang.String,Value>Context. getVariables()Methods in org.apache.openjpa.kernel.exps with parameters of type Value Modifier and Type Method Description ValueExpressionFactory. abs(Value num)Return a value representing the absolute value of the given one.ValueInMemoryExpressionFactory. abs(Value val)ValueExpressionFactory. add(Value num1, Value num2)Return a value representing the two values added together.ValueInMemoryExpressionFactory. add(Value val1, Value val2)voidContext. addVariable(java.lang.String id, Value var)protected abstract voidAbstractExpressionBuilder. addVariableToContext(java.lang.String id, Value var)Register the variable associated with the schema alias (id) to the current JPQL query context.ValueExpressionFactory. all(Value target)Return an expression representing the given condition.ValueInMemoryExpressionFactory. all(Value val)ValueExpressionFactory. any(Value target)Return an expression representing the given condition.ValueInMemoryExpressionFactory. any(Value val)ExpressionExpressionFactory. asExpression(Value bool)Return the given value as an expression.ExpressionInMemoryExpressionFactory. asExpression(Value v)ValueExpressionFactory. avg(Value num)Return the average of the given value for all matches.ValueInMemoryExpressionFactory. avg(Value val)protected voidAbstractExpressionBuilder. bind(Value var)Record that the given variable is bound.ExpressionExpressionFactory. bindKeyVariable(Value var, Value map)Bind the given variable to the key set of the given map value.ExpressionInMemoryExpressionFactory. bindKeyVariable(Value var, Value val)ExpressionExpressionFactory. bindValueVariable(Value var, Value map)Bind the given variable to the value set of the given map value.ExpressionInMemoryExpressionFactory. bindValueVariable(Value var, Value val)ExpressionExpressionFactory. bindVariable(Value var, Value coll)Bind the given variable to the given collection value.ExpressionInMemoryExpressionFactory. bindVariable(Value var, Value val)ValueExpressionFactory. cast(Value obj, java.lang.Class cls)Cast the value to the given class.ValueInMemoryExpressionFactory. cast(Value val, java.lang.Class cls)ValueExpressionFactory. coalesceExpression(Value[] val)Return a coalesce expressionValueInMemoryExpressionFactory. coalesceExpression(Value[] val)ValueExpressionFactory. concat(Value str, Value args)Return a value representing the concatenation of the given target with the given args.ValueInMemoryExpressionFactory. concat(Value val1, Value val2)ExpressionExpressionFactory. contains(Value coll, Value arg)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. contains(Value v1, Value v2)ExpressionExpressionFactory. containsKey(Value map, Value arg)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. containsKey(Value v1, Value v2)ExpressionExpressionFactory. containsValue(Value map, Value arg)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. containsValue(Value v1, Value v2)static voidAbstractExpressionBuilder. convertTypes(Value val1, Value val2)Perform conversions to make values compatible.static voidAbstractExpressionBuilder. convertTypesQuotedNumbers(Value val1, Value val2)Perform conversions to make values compatible.ValueExpressionFactory. count(Value obj)Return the count of the given value for all matches.ValueInMemoryExpressionFactory. count(Value val)ValueExpressionFactory. distinct(Value obj)Return distinct values of the given value.ValueInMemoryExpressionFactory. distinct(Value val)ValueExpressionFactory. divide(Value num1, Value num2)Return a value representing the first value divided by the first one.ValueInMemoryExpressionFactory. divide(Value val1, Value val2)ExpressionExpressionFactory. endsWith(Value str1, Value str2)Return whether the first string ends with the second.ExpressionInMemoryExpressionFactory. endsWith(Value v1, Value v2)voidAbstractExpressionVisitor. enter(Value val)voidExpressionVisitor. enter(Value val)Enter a value.ExpressionExpressionFactory. equal(Value v1, Value v2)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. equal(Value v1, Value v2)voidAbstractExpressionVisitor. exit(Value val)voidExpressionVisitor. exit(Value val)Leave a value.ValueExpressionFactory. generalCaseExpression(Expression[] exp, Value val)Return a general case expressionValueInMemoryExpressionFactory. generalCaseExpression(Expression[] exp, Value val)ValueExpressionFactory. getKey(Value val)Path navigation thru map keyValueInMemoryExpressionFactory. getKey(Value val)ValueExpressionFactory. getMapValue(Value map, Value arg)Return an expression representing the given condition.ValueInMemoryExpressionFactory. getMapValue(Value map, Value arg)ValueExpressionFactory. getObjectId(Value val)Return the object id of the given value.ValueInMemoryExpressionFactory. getObjectId(Value val)ExpressionExpressionFactory. greaterThan(Value v1, Value v2)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. greaterThan(Value v1, Value v2)ExpressionExpressionFactory. greaterThanEqual(Value v1, Value v2)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. greaterThanEqual(Value v1, Value v2)ValueExpressionFactory. index(Value target)Return an index/position of the given value within a collection/map.ValueInMemoryExpressionFactory. index(Value val)ValueExpressionFactory. indexOf(Value str, Value args)Return a value representing the indexOf (LOCATE in JPQL) function on the given target with the given args.ValueInMemoryExpressionFactory. indexOf(Value val1, Value val2)protected booleanAbstractExpressionBuilder. isBound(Value var)Return true if the given variable has been bound.ExpressionExpressionFactory. isEmpty(Value target)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. isEmpty(Value v1)ExpressionExpressionFactory. isInstance(Value obj, java.lang.Class c)Return whether the first value is an instance of the given class.ExpressionInMemoryExpressionFactory. isInstance(Value v1, java.lang.Class c)ExpressionExpressionFactory. isNotEmpty(Value target)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. isNotEmpty(Value v1)booleanExpressionFactory. isVerticalType(Value val)Return true if the Value is a Type expression and the Type uses joined table strategy.booleanInMemoryExpressionFactory. isVerticalType(Value val)ExpressionExpressionFactory. lessThan(Value v1, Value v2)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. lessThan(Value v1, Value v2)ExpressionExpressionFactory. lessThanEqual(Value v1, Value v2)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. lessThanEqual(Value v1, Value v2)ValueExpressionFactory. mapEntry(Value key, Value val)Return the map entry of the given value.ValueInMemoryExpressionFactory. mapEntry(Value key, Value val)ValueExpressionFactory. mapKey(Value key, Value val)Return the map key of the given valueValueInMemoryExpressionFactory. mapKey(Value key, Value val)ExpressionExpressionFactory. matches(Value str, Value regexp, java.lang.String single, java.lang.String multi, java.lang.String escape)Return whether the string matches the matching pattern.ExpressionInMemoryExpressionFactory. matches(Value v1, Value v2, java.lang.String single, java.lang.String multi, java.lang.String esc)ValueExpressionFactory. max(Value num)Return the max of the given value for all matches.ValueInMemoryExpressionFactory. max(Value val)ValueExpressionFactory. min(Value num)Return the max of the given value for all matches.ValueInMemoryExpressionFactory. min(Value val)ValueExpressionFactory. mod(Value num1, Value num2)Return a value representing the first value mod'd by the second one.ValueInMemoryExpressionFactory. mod(Value val1, Value val2)ValueExpressionFactory. multiply(Value num1, Value num2)Return a value representing the two values multiplied together.ValueInMemoryExpressionFactory. multiply(Value val1, Value val2)ValueExpressionFactory. newAggregate(AggregateListener listener, Value args)Return the value of the given function.ValueInMemoryExpressionFactory. newAggregate(AggregateListener listener, Value arg)ArgumentsExpressionFactory. newArgumentList(Value... values)Return a function argument list consisting of the given values, any of which may itself be an argument list.ArgumentsExpressionFactory. newArgumentList(Value arg1, Value arg2)Return a function argument list consisting of the given values, either of which may itself be an argument list.ArgumentsInMemoryExpressionFactory. newArgumentList(Value... values)ArgumentsInMemoryExpressionFactory. newArgumentList(Value val1, Value val2)ValueExpressionFactory. newExtension(FilterListener listener, Value target, Value args)Return the value of the given extension.ValueInMemoryExpressionFactory. newExtension(FilterListener listener, Value target, Value arg)ValueExpressionFactory. newFunction(java.lang.String functionName, java.lang.Class<?> resultType, Value... args)Return a value representing the given datastore function with the given arguments.ValueInMemoryExpressionFactory. newFunction(java.lang.String functionName, java.lang.Class<?> resultType, Value... args)PathExpressionFactory. newPath(Value val)Return a value representing a path which will consist of a chain of 1 or more field names starting in the namespace of the given value.
Example:var.address.cityPathInMemoryExpressionFactory. newPath(Value val)ExpressionExpressionFactory. notEqual(Value v1, Value v2)Return an expression representing the given condition.ExpressionInMemoryExpressionFactory. notEqual(Value v1, Value v2)ExpressionExpressionFactory. notMatches(Value str, Value regexp, java.lang.String single, java.lang.String multi, java.lang.String escape)Return whether the string does not match the given pattern.ExpressionInMemoryExpressionFactory. notMatches(Value v1, Value v2, java.lang.String single, java.lang.String multi, java.lang.String esc)ValueExpressionFactory. nullIfExpression(Value val1, Value val2)Return a nullif expressionValueInMemoryExpressionFactory. nullIfExpression(Value val1, Value val2)voidQueryExpressions. putUpdate(Path path, Value val)Add an update.protected voidAbstractExpressionBuilder. setImplicitContainsTypes(Value val1, Value val2, int op)Set the implicit types of the given values based on the fact that the first is supposed to contain the second.protected static voidAbstractExpressionBuilder. setImplicitType(Value val, java.lang.Class<?> expected)Set the implicit type of the given value to the given class.protected voidAbstractExpressionBuilder. setImplicitTypes(Value val1, Value val2, java.lang.Class<?> expected)Set the implicit types of the given values based on the fact that they're used together, and based on the operator type.protected static voidAbstractExpressionBuilder. setImplicitTypes(Value val1, Value val2, java.lang.Class<?> expected, Resolver resolver)ValueExpressionFactory. simpleCaseExpression(Value caseOperand, Expression[] exp, Value val)Return a simple case expressionValueInMemoryExpressionFactory. simpleCaseExpression(Value caseOperand, Expression[] exp, Value val)ValueExpressionFactory. size(Value target)Return an expression representing the given condition.ValueInMemoryExpressionFactory. size(Value val)ValueExpressionFactory. sqrt(Value num)Return the square root of the given value.ValueInMemoryExpressionFactory. sqrt(Value val)ExpressionExpressionFactory. startsWith(Value str1, Value str2)Return whether the first string starts with the second.ExpressionInMemoryExpressionFactory. startsWith(Value v1, Value v2)ValueExpressionFactory. stringLength(Value str)Returns the number of characters in the String value.ValueInMemoryExpressionFactory. stringLength(Value str)ValueExpressionFactory. substring(Value str, Value args)Return a value representing the substring function on the given target with the given args.ValueInMemoryExpressionFactory. substring(Value val1, Value val2)ValueExpressionFactory. subtract(Value num1, Value num2)Return a value representing the second value subtracted from the first.ValueInMemoryExpressionFactory. subtract(Value val1, Value val2)ValueExpressionFactory. sum(Value num)Return the max of the given value for all matches.ValueInMemoryExpressionFactory. sum(Value val)ValueExpressionFactory. toLowerCase(Value str)Return the upper case of the given value.ValueInMemoryExpressionFactory. toLowerCase(Value val)ValueExpressionFactory. toUpperCase(Value str)Return the upper case of the given value.ValueInMemoryExpressionFactory. toUpperCase(Value val)ValueExpressionFactory. trim(Value str, Value trimChar, java.lang.Boolean where)Trims the specified specified trimChar from the specified value.ValueInMemoryExpressionFactory. trim(Value str, Value trimChar, java.lang.Boolean where)ValueExpressionFactory. type(Value target)Return the type/class of the given value.ValueInMemoryExpressionFactory. type(Value val)ExpressionExpressionFactory. whenCondition(Expression exp, Value val)Return a when condidional clauseExpressionInMemoryExpressionFactory. whenCondition(Expression exp, Value val)ExpressionExpressionFactory. whenScalar(Value val1, Value val2)Return a when scalar_expression clauseExpressionInMemoryExpressionFactory. whenScalar(Value val1, Value val2)Method parameters in org.apache.openjpa.kernel.exps with type arguments of type Value Modifier and Type Method Description voidContext. setVariables(java.util.Map<java.lang.String,Value> variables) -
Uses of Value in org.apache.openjpa.kernel.jpql
Methods in org.apache.openjpa.kernel.jpql that return Value Modifier and Type Method Description static ValueJPQLExpressionBuilder. convertSubstringArguments(ExpressionFactory factory, Value val1, Value val2, Value val3)Converts JPQL substring() function to OpenJPA ExpressionFactory substring() arguments.Value[]JPQLParser. eval(java.lang.String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)protected ValueJPQLExpressionBuilder. getDefinedVariable(java.lang.String id)protected ValueJPQLExpressionBuilder. getVariable(java.lang.String var)protected ValueJPQLExpressionBuilder. getVariable(java.lang.String id, boolean bind)Identification variables in JPQL are case insensitive, so lower-case all variables we are going to bind.Methods in org.apache.openjpa.kernel.jpql with parameters of type Value Modifier and Type Method Description protected voidJPQLExpressionBuilder. addVariableToContext(java.lang.String id, Value var)static voidJPQLExpressionBuilder. checkEmbeddable(Value val, java.lang.String currentQuery)static ValueJPQLExpressionBuilder. convertSubstringArguments(ExpressionFactory factory, Value val1, Value val2, Value val3)Converts JPQL substring() function to OpenJPA ExpressionFactory substring() arguments.voidJPQLExpressionBuilder. setImplicitTypes(Value val1, Value val2, java.lang.Class<?> expected)static voidJPQLExpressionBuilder. setImplicitTypes(Value val1, Value val2, java.lang.Class<?> expected, Resolver resolver, OrderedMap<java.lang.Object,java.lang.Class<?>> parameterTypes, java.lang.String currentQuery) -
Uses of Value in org.apache.openjpa.persistence.criteria
Methods in org.apache.openjpa.persistence.criteria that return Value Modifier and Type Method Description Value[]CriteriaBuilderImpl. eval(java.lang.String[] vals, ExpressionStoreQuery query, ExpressionFactory factory, ClassMetaData candidate)
-