org.datanucleus.store.rdbms.sql.operation
Class NumericToString2Operation

java.lang.Object
  extended by org.datanucleus.store.rdbms.sql.operation.AbstractSQLOperation
      extended by org.datanucleus.store.rdbms.sql.operation.NumericToString2Operation
All Implemented Interfaces:
SQLOperation

public class NumericToString2Operation
extends AbstractSQLOperation

Implementation of a conversion from a NumericExpression to a StringExpression. Results in

CAST(expr AS CHAR(4000))


Field Summary
 
Fields inherited from class org.datanucleus.store.rdbms.sql.operation.AbstractSQLOperation
exprFactory
 
Constructor Summary
NumericToString2Operation()
           
 
Method Summary
 SQLExpression getExpression(SQLExpression expr, SQLExpression expr2)
          Return the expression for this SQL function.
 
Methods inherited from class org.datanucleus.store.rdbms.sql.operation.AbstractSQLOperation
getMappingForClass, setExpressionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumericToString2Operation

public NumericToString2Operation()
Method Detail

getExpression

public SQLExpression getExpression(SQLExpression expr,
                                   SQLExpression expr2)
Description copied from interface: SQLOperation
Return the expression for this SQL function.

Parameters:
expr - Left hand expression
expr2 - Right hand expression
Returns:
The SQL expression for the operation


Copyright © 2009. All Rights Reserved.