public class BigDecimalWritable extends java.lang.Object implements org.apache.hadoop.io.WritableComparable<BigDecimalWritable>
Modifier and Type | Class and Description |
---|---|
static class |
BigDecimalWritable.Comparator
A Comparator optimized for BigDecimalWritable.
|
Constructor and Description |
---|
BigDecimalWritable() |
BigDecimalWritable(java.math.BigDecimal bi) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BigDecimalWritable o) |
boolean |
equals(java.lang.Object o) |
java.math.BigDecimal |
get() |
int |
hashCode() |
void |
readFields(java.io.DataInput in) |
void |
set(java.math.BigDecimal value) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput out) |
public BigDecimalWritable()
public BigDecimalWritable(java.math.BigDecimal bi)
public void set(java.math.BigDecimal value)
public java.math.BigDecimal get()
public int compareTo(BigDecimalWritable o)
compareTo
in interface java.lang.Comparable<BigDecimalWritable>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
Copyright © 2007-2012 The Apache Software Foundation