Example usage for org.apache.hadoop.io FloatWritable toString

List of usage examples for org.apache.hadoop.io FloatWritable toString

Introduction

In this page you can find the example usage for org.apache.hadoop.io FloatWritable toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

From source file:cn.com.diditaxi.hive.cf.UDFToChar.java

License:Apache License

public Text evaluate(FloatWritable i) {
    if (i == null) {
        return null;
    } else {//from w ww .  ja v a 2 s  .  com
        result.set(i.toString());
        return result;
    }
}

From source file:co.nubetech.hiho.dedup.HashUtility.java

License:Apache License

public static MD5Hash getMD5Hash(FloatWritable key) throws IOException {
    return MD5Hash.digest(key.toString());
}