org.apache.pig.backend.hadoop
Class BigIntegerWritable

java.lang.Object
  extended by org.apache.pig.backend.hadoop.BigIntegerWritable
All Implemented Interfaces:
Comparable<BigIntegerWritable>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<BigIntegerWritable>

public class BigIntegerWritable
extends Object
implements org.apache.hadoop.io.WritableComparable<BigIntegerWritable>


Nested Class Summary
static class BigIntegerWritable.Comparator
          A Comparator optimized for BigIntegerWritable.
 
Constructor Summary
BigIntegerWritable()
           
BigIntegerWritable(BigInteger bi)
           
 
Method Summary
 int compareTo(BigIntegerWritable o)
           
 boolean equals(Object o)
           
 BigInteger get()
           
 int hashCode()
           
 void readFields(DataInput in)
           
 void set(BigInteger value)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BigIntegerWritable

public BigIntegerWritable()

BigIntegerWritable

public BigIntegerWritable(BigInteger bi)
Method Detail

set

public void set(BigInteger value)

get

public BigInteger get()

compareTo

public int compareTo(BigIntegerWritable o)
Specified by:
compareTo in interface Comparable<BigIntegerWritable>

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2007-2012 The Apache Software Foundation