public class HiveCharWritable extends HiveBaseCharWritable implements org.apache.hadoop.io.WritableComparable<HiveCharWritable>
value
Constructor and Description |
---|
HiveCharWritable() |
HiveCharWritable(HiveChar hc) |
HiveCharWritable(HiveCharWritable hcw) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HiveCharWritable rhs) |
void |
enforceMaxLength(int maxLength) |
boolean |
equals(Object rhs) |
int |
getCharacterLength() |
HiveChar |
getHiveChar() |
org.apache.hadoop.io.Text |
getPaddedValue() |
org.apache.hadoop.io.Text |
getStrippedValue() |
int |
hashCode() |
void |
set(HiveChar val) |
void |
set(HiveChar val,
int len) |
void |
set(HiveCharWritable val) |
void |
set(HiveCharWritable val,
int maxLength) |
void |
set(String val) |
void |
set(String val,
int maxLength) |
String |
toString() |
getTextValue, readFields, write
public HiveCharWritable()
public HiveCharWritable(HiveChar hc)
public HiveCharWritable(HiveCharWritable hcw)
public void set(HiveChar val)
public void set(String val)
public void set(HiveCharWritable val)
public void set(HiveCharWritable val, int maxLength)
public void set(HiveChar val, int len)
public void set(String val, int maxLength)
public HiveChar getHiveChar()
public void enforceMaxLength(int maxLength)
public org.apache.hadoop.io.Text getStrippedValue()
public org.apache.hadoop.io.Text getPaddedValue()
public int getCharacterLength()
getCharacterLength
in class HiveBaseCharWritable
public int compareTo(HiveCharWritable rhs)
compareTo
in interface Comparable<HiveCharWritable>
public boolean equals(Object rhs)
equals
in class HiveBaseCharWritable
public int hashCode()
hashCode
in class HiveBaseCharWritable
Copyright © 2017 The Apache Software Foundation. All rights reserved.