Uses of Interface
org.apache.openjpa.jdbc.kernel.exps.Val

Packages that use Val
org.apache.openjpa.jdbc.kernel.exps OpenJPA-JDBC Expression Tree 
org.apache.openjpa.jdbc.sql OpenJPA-JDBC SQL Abstraction 
 

Uses of Val in org.apache.openjpa.jdbc.kernel.exps
 

Subinterfaces of Val in org.apache.openjpa.jdbc.kernel.exps
(package private)  interface JDBCPath
          A path represents a traversal into fields of a candidate object.
 

Classes in org.apache.openjpa.jdbc.kernel.exps that implement Val
 class Abs
          Absolute value.
(package private)  class AbstractVal
          Abstract value for easy extension.
(package private)  class Aggregate
          Aggregate listener that evaluates to a value.
(package private)  class All
          All.
(package private)  class Any
          Any.
 class Args
          A list of arguments to a multi-argument function.
(package private)  class Avg
          Average.
 class CoalesceExpression
          Coalesce expression.
 class CollectionParam
          A collection-valued input parameter in an in-expression.
 class Concat
          Concatenate one string with another.
(package private)  class Const
          A literal or parameter in the filter.
(package private)  class ConstGetObjectId
          Obtaining the object id of a constant.
(package private)  class ConstPath
          A field traversal starting with a constant filter parameter.
(package private)  class Count
          Count non-null values.
(package private)  class CurrentDate
          A literal current DATE/TIME/TIMESTAMP value in a filter.
 class DatastoreFunction
          A unary operator that executes a datastore specific function with zero or more arguments.
(package private)  class Distinct
          Distinct the specified path.
(package private)  class Extension
          Filter listener that evaluates to a value.
 class GeneralCaseExpression
          General case expression.
(package private)  class GetMapValue
          Returns the value of the given map's key.
(package private)  class GetObjectId
          Select the oid value of an object; typically used in projections.
(package private)  class Index
          Index.
 class IndexOf
          Find the index of one string within another.
 class Lit
          A literal value in a filter.
 class MapEntry
          Returns the Map.Entry of a map value.
 class MapKey
          Returns the key of a map value.
 class Math
          Value produced by a mathematical operation on two values.
(package private)  class Max
          Maximum.
(package private)  class Min
          Minimum.
 class Null
          A literal null value in a filter.
 class NullIfExpression
          NullIf expression.
 class Param
          A parameter in a filter.
 class PCPath
          A path represents a traversal into fields of a candidate object.
 class SimpleCaseExpression
          Simple case expression.
(package private)  class Size
          Size.
 class Sqrt
          Square root.
(package private)  class StringFunction
          A JDBC string function.
 class StringLength
          Returns the number of characters in a string.
 class SubQ
          A subquery.
 class Substring
          Take a substring of a string.
(package private)  class Sum
          Sum.
 class ToLowerCase
          Lower-cases a string.
 class ToUpperCase
          Upper-cases a string.
 class Trim
          Returns the number of characters in a string.
(package private)  class Type
          Entity Type expression.
 class TypeLit
          A type literal value.
(package private)  class UnaryOp
          Value produced by a unary operation on a value.
(package private)  class Variable
          A variable in a filter.
 

Methods in org.apache.openjpa.jdbc.kernel.exps that return Val
 Val SimpleCaseExpression.getCaseOperand()
           
 Val Trim.getTrimChar()
           
 Val WhenCondition.getVal()
           
 Val Trim.getVal()
           
 Val SimpleCaseExpression.getVal()
           
 Val GeneralCaseExpression.getVal()
           
 Val[] CoalesceExpression.getVal()
           
 Val WhenScalar.getVal1()
           
 Val Substring.getVal1()
           
 Val NullIfExpression.getVal1()
           
 Val Math.getVal1()
           
 Val IndexOf.getVal1()
           
 Val Concat.getVal1()
           
 Val WhenScalar.getVal2()
           
 Val Substring.getVal2()
           
 Val NullIfExpression.getVal2()
           
 Val Math.getVal2()
           
 Val IndexOf.getVal2()
           
 Val Concat.getVal2()
           
 Val[] Args.getVals()
           
 Val UnaryOp.getValue()
           
 Val StringFunction.getValue()
           
 Val InExpression.getValue()
          Contained value.
 Val CompareEqualExpression.getValue1()
           
 Val CompareEqualExpression.getValue2()
           
 

Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type Val
 void Variable.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Val.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
          Calculate and cache the SQL for this value.
 void UnaryOp.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void TypeLit.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Type.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Trim.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Substring.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void SubQ.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void StringFunction.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void SimpleCaseExpression.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Param.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void PCPath.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void NullIfExpression.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Null.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Math.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void MapKey.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void MapEntry.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Lit.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void IndexOf.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void GetObjectId.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void GetMapValue.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void GeneralCaseExpression.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Extension.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void ConstPath.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void ConstGetObjectId.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Const.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Concat.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void CollectionParam.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void CoalesceExpression.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Args.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 void Aggregate.calculateValue(Select sel, ExpContext ctx, ExpState state, Val other, ExpState otherState)
           
 

Constructors in org.apache.openjpa.jdbc.kernel.exps with parameters of type Val
Abs(Val val)
          Constructor.
Aggregate(JDBCAggregateListener listener, Val arg, ClassMapping candidate)
          Constructor.
All(Val val)
           
Any(Val val)
           
Args(Val... values)
           
Args(Val val1, Val val2)
          Constructor.
Avg(Val val)
          Constructor.
CoalesceExpression(Val[] vals)
          Constructor.
CompareEqualExpression(Val val1, Val val2)
          Constructor.
CompareExpression(Val val1, Val val2, String op)
          Constructor.
Concat(Val val1, Val val2)
          Constructor.
ContainsExpression(Val val1, Val val2)
          Constructor.
ContainsKeyExpression(Val val1, Val val2)
          Constructor.
Count(Val val)
          Constructor.
Distinct(Val val)
           
EndsWithExpression(Val val1, Val val2)
          Constructor.
EqualExpression(Val val1, Val val2)
          Constructor.
Extension(JDBCFilterListener listener, Val target, Val arg, ClassMapping candidate)
          Constructor.
FilterValueImpl(Select sel, ExpContext ctx, ExpState state, Val val)
           
GeneralCaseExpression(Exp[] exp, Val val)
          Constructor.
GetMapValue(Val map, Val key, String alias)
          Constructor.
Index(Val val)
           
IndexOf(Val val1, Val val2)
          Constructor.
InExpression(Val val, Const constant)
          Constructor.
InKeyExpression(Val val, Const constant)
          Constructor.
InSubQExpression(Val val, SubQ sub)
          Constructor.
InValueExpression(Val val, Const constant)
          Constructor.
IsEmptyExpression(Val val)
          Constructor.
IsNotEmptyExpression(Val val)
          Constructor.
MapEntry(Val key, Val val)
          Constructor.
MapKey(Val key)
          Constructor.
MatchesExpression(Val val, Const con, String single, String multi, String escape)
          Constructor.
Math(Val val1, Val val2, String op)
          Constructor.
Max(Val val)
          Constructor.
Min(Val val)
          Constructor.
NotEqualExpression(Val val1, Val val2)
          Constructor.
NullIfExpression(Val val1, Val val2)
          Constructor.
SimpleCaseExpression(Val caseOperand, Exp[] exp, Val val)
          Constructor.
Size(Val val)
           
Sqrt(Val val)
          Constructor.
StartsWithExpression(Val val1, Val val2)
          Constructor.
StringFunction(Val val)
          Constructor.
StringLength(Val val)
          Constructor.
Substring(Val val1, Val val2)
          Constructor.
Sum(Val val)
          Constructor.
ToLowerCase(Val val)
          Constructor.
ToUpperCase(Val val)
          Constructor.
Trim(Val val, Val trimChar, Boolean where)
          Constructor.
Type(Val val)
           
UnaryOp(Val val)
          Constructor.
UnaryOp(Val val, boolean noParen)
           
WhenCondition(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 Val
 String DBDictionary.addCastAsType(String func, Val val)
          add CAST for a function operator where operand is a param
 String DB2Dictionary.addCastAsType(String func, Val val)
          add CAST for a function operator where operand is a param
 void SQLBuffer.addCastForParam(String oper, Val val)
          Replace SQL '?' with CAST string if required by DB platform
protected  void DBDictionary.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.
 String DBDictionary.getCastFunction(Val val, String func)
          Attach CAST to the current function if necessary
 String DB2Dictionary.getCastFunction(Val val, String func)
          Return the correct CAST function syntax
 String DBDictionary.getCastFunction(Val val, String func, Column col)
          Return the correct CAST function syntax.
 String DB2Dictionary.getCastFunction(Val val, String func, Column col)
          Return the correct CAST function syntax
 



Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.