Uses of Interface
org.apache.openjpa.jdbc.kernel.exps.Val
Packages that use Val
Package
Description
OpenJPA-JDBC Expression Tree
OpenJPA-JDBC SQL Abstraction
-
Uses of Val in org.apache.openjpa.jdbc.kernel.exps
Classes in org.apache.openjpa.jdbc.kernel.exps that implement ValModifier and TypeClassDescriptionclassAbsolute value.classA list of arguments to a multi-argument function.classCoalesce expression.classA collection-valued input parameter in an in-expression.classConcatenate one string with another.classA unary operator that executes a datastore specific function with zero or more arguments.classGeneral case expression.classFind the index of one string within another.classA literal value in a filter.classReturns the Map.Entry<K,V> of a map value.classReturns the key of a map value.classValue produced by a mathematical operation on two values.classA literal null value in a filter.classOPENJPA-1794 An aggregate unary operation that can indicate whether a null value from the data store should be returned as null.classNullIf expression.classA parameter in a filter.classA path represents a traversal into fields of a candidate object.classSimple case expression.classSquare root.classReturns the number of characters in a string.classA subquery.classTake a substring of a string.classLower-cases a string.classUpper-cases a string.classReturns the number of characters in a string.classA type literal value.Methods in org.apache.openjpa.jdbc.kernel.exps that return ValModifier and TypeMethodDescriptionSimpleCaseExpression.getCaseOperand()Trim.getTrimChar()Val[]CoalesceExpression.getVal()GeneralCaseExpression.getVal()SimpleCaseExpression.getVal()Trim.getVal()WhenCondition.getVal()Concat.getVal1()IndexOf.getVal1()Math.getVal1()NullIfExpression.getVal1()Substring.getVal1()WhenScalar.getVal1()Concat.getVal2()IndexOf.getVal2()Math.getVal2()NullIfExpression.getVal2()Substring.getVal2()WhenScalar.getVal2()Val[]Args.getVals()Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type ValModifier and TypeMethodDescriptionvoidArgs.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidCoalesceExpression.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidCollectionParam.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidConcat.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidGeneralCaseExpression.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidIndexOf.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidLit.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidMapEntry.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidMapKey.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidMath.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidNull.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidNullIfExpression.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidParam.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidPCPath.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidSimpleCaseExpression.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidSubQ.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidSubstring.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidTrim.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidTypeLit.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidVal.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) Calculate and cache the SQL for this value.Constructors in org.apache.openjpa.jdbc.kernel.exps with parameters of type ValModifierConstructorDescriptionConstructor.Constructor.CoalesceExpression(Val[] vals) Constructor.Constructor.GeneralCaseExpression(org.apache.openjpa.jdbc.kernel.exps.Exp[] exp, Val val) Constructor.Constructor.Constructor.Constructor.Constructor.NullableAggregateUnaryOp(Val val, boolean noParen) NullIfExpression(Val val1, Val val2) Constructor.SimpleCaseExpression(Val caseOperand, org.apache.openjpa.jdbc.kernel.exps.Exp[] exp, Val val) Constructor.Constructor.StringLength(Val val) Constructor.Constructor.ToLowerCase(Val val) Constructor.ToUpperCase(Val val) Constructor.Constructor.WhenCondition(org.apache.openjpa.jdbc.kernel.exps.Exp exp, Val val) Constructor.WhenScalar(Val val1, Val val2) Constructor. -
Uses of Val in org.apache.openjpa.jdbc.sql
Methods in org.apache.openjpa.jdbc.sql with parameters of type ValModifier and TypeMethodDescriptionDB2Dictionary.addCastAsType(String func, Val val) add CAST for a function operator where operand is a paramDBDictionary.addCastAsType(String func, Val val) add CAST for a function operator where operand is a paramvoidSQLBuffer.addCastForParam(String oper, Val val) Replace SQL '?'protected voidDBDictionary.calculateValue(Val val, Select sel, ExpContext ctx, ExpState state, Path path, ExpState pathState) This method is to provide override for non-JDBC or JDBC-like implementation of calculating value.DB2Dictionary.getCastFunction(Val val, String func) Return the correct CAST function syntaxDB2Dictionary.getCastFunction(Val val, String func, Column col) Return the correct CAST function syntaxDBDictionary.getCastFunction(Val val, String func) Attach CAST to the current function if necessaryDBDictionary.getCastFunction(Val val, String func, Column col) Return the correct CAST function syntax.