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.classCeiling value.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.classExponential value.classReturns the temporal field of a given date or time.classReturns the date or time part of a given temporal.classFloor value.classGeneral case expression.classFind the index of one string within another.classTake the left part of a string.classA literal value in a filter.classReturns theMap.EntryMap.Entry<K,V>of a map value.classReturns the key of a map value.classValue produced by a mathematical operation on two values.classNatural logarithm (base e) value.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.classTake a string and replaces part of it with a replacement string.classTake the right part of a string.classSign value.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.classReturns the given value as a numberclassReturns the temporal field of a given date or time.classA type literal value.Methods in org.apache.openjpa.jdbc.kernel.exps that return ValModifier and TypeMethodDescriptionSimpleCaseExpression.getCaseOperand()Replace.getOriginal()Replace.getPattern()Replace.getReplacement()Trim.getTrimChar()Val[]CoalesceExpression.getVal()ExtractDateTimeField.getVal()ExtractDateTimePart.getVal()GeneralCaseExpression.getVal()SimpleCaseExpression.getVal()Trim.getVal()TypecastAsNumber.getVal()TypecastAsString.getVal()WhenCondition.getVal()Concat.getVal1()IndexOf.getVal1()Left.getVal1()Math.getVal1()NullIfExpression.getVal1()Right.getVal1()Substring.getVal1()WhenScalar.getVal1()Concat.getVal2()IndexOf.getVal2()Left.getVal2()Math.getVal2()NullIfExpression.getVal2()Right.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) voidExtractDateTimeField.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidExtractDateTimePart.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) voidLeft.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) voidReplace.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidRight.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) voidTypecastAsNumber.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState) voidTypecastAsString.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.Constructor.CoalesceExpression(Val[] vals) Constructor.Constructor.Exponential(Val val) Constructor.ExtractDateTimeField(Val val, DateTimeExtractField field) Constructor.ExtractDateTimePart(Val val, DateTimeExtractPart part) Constructor.Constructor.GeneralCaseExpression(org.apache.openjpa.jdbc.kernel.exps.Exp[] exp, Val val) Constructor.Constructor.Constructor.Constructor.Constructor.Constructor.NaturalLogarithm(Val val) Constructor.NullableAggregateUnaryOp(Val val, boolean noParen) NullIfExpression(Val val1, Val val2) Constructor.Constructor.Constructor.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.TypecastAsNumber(Val val, Class<? extends Number> target) Constructor.TypecastAsString(Val val) 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.