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

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.io.HiveBaseCharWritable
Direct Known Subclasses:
HiveCharWritable, HiveVarcharWritable

public abstract class HiveBaseCharWritable
extends Object


Constructor Summary
HiveBaseCharWritable()
           
 
Method Summary
 boolean equals(Object obj)
           
 int getCharacterLength()
           
 org.apache.hadoop.io.Text getTextValue()
          Access to the internal Text member.
 int hashCode()
           
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HiveBaseCharWritable

public HiveBaseCharWritable()
Method Detail

getCharacterLength

public int getCharacterLength()

getTextValue

public org.apache.hadoop.io.Text getTextValue()
Access to the internal Text member. Use with care.

Returns:

readFields

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

write

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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2014 The Apache Software Foundation. All rights reserved.