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

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.io.HiveBaseCharWritable
      extended by org.apache.hadoop.hive.serde2.io.HiveVarcharWritable
All Implemented Interfaces:
Comparable<HiveVarcharWritable>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<HiveVarcharWritable>

public class HiveVarcharWritable
extends HiveBaseCharWritable
implements org.apache.hadoop.io.WritableComparable<HiveVarcharWritable>


Constructor Summary
HiveVarcharWritable()
           
HiveVarcharWritable(HiveVarchar hc)
           
HiveVarcharWritable(HiveVarcharWritable hcw)
           
 
Method Summary
 int compareTo(HiveVarcharWritable rhs)
           
 void enforceMaxLength(int maxLength)
           
 HiveVarchar getHiveVarchar()
           
 void set(HiveVarchar val)
           
 void set(HiveVarchar val, int len)
           
 void set(HiveVarcharWritable val)
           
 void set(HiveVarcharWritable val, int maxLength)
           
 void set(String val)
           
 void set(String val, int maxLength)
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.io.HiveBaseCharWritable
equals, getCharacterLength, getTextValue, hashCode, readFields, write
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.io.Writable
readFields, write
 

Constructor Detail

HiveVarcharWritable

public HiveVarcharWritable()

HiveVarcharWritable

public HiveVarcharWritable(HiveVarchar hc)

HiveVarcharWritable

public HiveVarcharWritable(HiveVarcharWritable hcw)
Method Detail

set

public void set(HiveVarchar val)

set

public void set(String val)

set

public void set(HiveVarcharWritable val)

set

public void set(HiveVarcharWritable val,
                int maxLength)

set

public void set(HiveVarchar val,
                int len)

set

public void set(String val,
                int maxLength)

getHiveVarchar

public HiveVarchar getHiveVarchar()

enforceMaxLength

public void enforceMaxLength(int maxLength)

compareTo

public int compareTo(HiveVarcharWritable rhs)
Specified by:
compareTo in interface Comparable<HiveVarcharWritable>

toString

public String toString()
Overrides:
toString in class Object


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