org.apache.hadoop.hive.serde2.io
Class ShortWritable

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.io.ShortWritable

public class ShortWritable
extends Object

ShortWritable.


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

Constructor Detail

ShortWritable

public ShortWritable(short s)

ShortWritable

public ShortWritable()
Method Detail

write

public void write(DataOutput out)
           throws IOException
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Throws:
IOException

set

public void set(short value)

get

public short get()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

compareTo

public int compareTo(Object o)


Copyright © 2012 The Apache Software Foundation