org.apache.hadoop.hive.serde2.io
Class HiveVarcharWritable
java.lang.Object
org.apache.hadoop.hive.serde2.io.HiveBaseCharWritable
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>
Methods inherited from interface org.apache.hadoop.io.Writable |
readFields, write |
HiveVarcharWritable
public HiveVarcharWritable()
HiveVarcharWritable
public HiveVarcharWritable(HiveVarchar hc)
HiveVarcharWritable
public HiveVarcharWritable(HiveVarcharWritable hcw)
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.