public class BigDecimalWritable extends 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(BigDecimal bi) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(BigDecimalWritable o) |
boolean |
equals(Object o) |
BigDecimal |
get() |
int |
hashCode() |
void |
readFields(DataInput in) |
void |
set(BigDecimal value) |
String |
toString() |
void |
write(DataOutput out) |
public BigDecimalWritable()
public BigDecimalWritable(BigDecimal bi)
public void set(BigDecimal value)
public BigDecimal get()
public int compareTo(BigDecimalWritable o)
compareTo
in interface Comparable<BigDecimalWritable>
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
Copyright © 2007-2017 The Apache Software Foundation