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

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.StringTrimRightMethod
All Implemented Interfaces:
SQLMethod

public class StringTrimRightMethod
extends SimpleStringMethod

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


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.sql.method.AbstractSQLMethod
clr, exprFactory, LOCALISER, stmt
 
Constructor Summary
StringTrimRightMethod()
           
 
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

StringTrimRightMethod

public StringTrimRightMethod()
Method Detail

getFunctionName

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


Copyright © 2009. All Rights Reserved.