org.apache.hadoop.hive.serde2.io
Class DoubleWritable
java.lang.Object
org.apache.hadoop.hive.serde2.io.DoubleWritable
public class DoubleWritable
- extends Object
Writable for Double values.
DoubleWritable
public DoubleWritable()
DoubleWritable
public DoubleWritable(double value)
readFields
public void readFields(DataInput in)
throws IOException
- Throws:
IOException
write
public void write(DataOutput out)
throws IOException
- Throws:
IOException
set
public void set(double value)
get
public double get()
equals
public boolean equals(Object o)
- Returns true iff
o
is a DoubleWritable with the same value.
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(Object o)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 The Apache Software Foundation