org.apache.pig.impl.util
Class CastUtils

java.lang.Object
  extended by org.apache.pig.impl.util.CastUtils

public class CastUtils
extends Object


Field Summary
protected static org.apache.commons.logging.Log mLog
           
 
Constructor Summary
CastUtils()
           
 
Method Summary
static Double stringToDouble(String str)
           
static Float stringToFloat(String str)
           
static Integer stringToInteger(String str)
           
static Long stringToLong(String str)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mLog

protected static final org.apache.commons.logging.Log mLog
Constructor Detail

CastUtils

public CastUtils()
Method Detail

stringToDouble

public static Double stringToDouble(String str)

stringToFloat

public static Float stringToFloat(String str)

stringToInteger

public static Integer stringToInteger(String str)

stringToLong

public static Long stringToLong(String str)


Copyright © ${year} The Apache Software Foundation