org.datanucleus.store.rdbms.sql.method
Class StringTrimLeftMethod

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
      extended by org.datanucleus.store.rdbms.sql.method.SimpleStringMethod
          extended by org.datanucleus.store.rdbms.sql.method.StringTrimLeftMethod
All Implemented Interfaces:
SQLMethod

public class StringTrimLeftMethod
extends SimpleStringMethod

Expression handler to invoke the SQL LTRIM function. For use in evaluating StringExpression.trim() (but only from left) where the RDBMS supports this function. Returns a StringExpression "LTRIM({stringExpr})".


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
clr, exprFactory, LOCALISER, stmt
 
Constructor Summary
StringTrimLeftMethod()
           
 
Method Summary
protected  java.lang.String getFunctionName()
           
 
Methods inherited from class org.datanucleus.store.rdbms.sql.method.SimpleStringMethod
getExpression
 
Methods inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
getMappingForClass, setStatement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringTrimLeftMethod

public StringTrimLeftMethod()
Method Detail

getFunctionName

protected java.lang.String getFunctionName()
Specified by:
getFunctionName in class SimpleStringMethod


Copyright © 2009. All Rights Reserved.