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
 

Classes in org.apache.openjpa.jdbc.kernel.exps that implement Val
 class Abs
          Absolute value.
 class Args
          A list of arguments to a multi-argument function.
 class Concat
          Concatenate one string with another.
 class IndexOf
          Find the index of one string within another.
 class Lit
          A literal value in a filter.
 class Math
          Value produced by a mathematical operation on two values.
 class Null
          A literal null value in a filter.
 class Param
          A parameter in a filter.
 class PCPath
          A path represents a traversal into fields of a candidate object.
 class Sqrt
          Square root.
 class StringLength
          Returns the number of characters in a string.
 class Substring
          Take a substring of a string.
 class ToLowerCase
          Lower-cases a string.
 class ToUpperCase
          Upper-cases a string.
 class Trim
          Returns the number of characters in a string.
 

Methods in org.apache.openjpa.jdbc.kernel.exps that return Val
 Val Trim.getTrimChar()
           
 Val Trim.getVal()
           
 Val Math.getVal1()
           
 Val IndexOf.getVal1()
           
 Val Concat.getVal1()
           
 Val Substring.getVal1()
           
 Val Math.getVal2()
           
 Val IndexOf.getVal2()
           
 Val Concat.getVal2()
           
 Val Substring.getVal2()
           
 Val[] Args.getVals()
           
 

Methods in org.apache.openjpa.jdbc.kernel.exps with parameters of type Val
 void Math.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 Args.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 IndexOf.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 Lit.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 Substring.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 PCPath.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.
Args(Val val1, Val val2)
          Constructor.
Concat(Val val1, Val val2)
          Constructor.
IndexOf(Val val1, Val val2)
          Constructor.
Math(Val val1, Val val2, String op)
          Constructor.
Sqrt(Val val)
          Constructor.
StringLength(Val val)
          Constructor.
Substring(Val val1, Val val2)
          Constructor.
ToLowerCase(Val val)
          Constructor.
ToUpperCase(Val val)
          Constructor.
Trim(Val val, Val trimChar, Boolean where)
          Constructor.
 

Uses of Val in org.apache.openjpa.jdbc.sql
 

Methods in org.apache.openjpa.jdbc.sql with parameters of type Val
 String DB2Dictionary.addCastAsType(String func, Val val)
          add CAST for a function operator where operand is a param
 String DBDictionary.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 DB2Dictionary.getCastFunction(Val val, String func)
          Return the correct CAST function syntax
 String DBDictionary.getCastFunction(Val val, String func)
          Attach CAST to the current function if necessary
 String DB2Dictionary.getCastFunction(Val val, String func, Column col)
          Return the correct CAST function syntax
 String DBDictionary.getCastFunction(Val val, String func, Column col)
          Return the correct CAST function syntax.
 



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