public class HiveVarchar extends HiveBaseChar implements Comparable<HiveVarchar>
Modifier and Type | Field and Description |
---|---|
static int |
MAX_VARCHAR_LENGTH |
value
Constructor and Description |
---|
HiveVarchar() |
HiveVarchar(HiveVarchar hc,
int len) |
HiveVarchar(String val,
int len) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HiveVarchar rhs) |
boolean |
equals(HiveVarchar rhs) |
void |
setValue(HiveVarchar hc) |
void |
setValue(String val)
Set the new value
|
enforceMaxLength, getCharacterLength, getPaddedValue, getValue, hashCode, setValue, setValue, toString
public static final int MAX_VARCHAR_LENGTH
public HiveVarchar()
public HiveVarchar(String val, int len)
public HiveVarchar(HiveVarchar hc, int len)
public void setValue(String val)
public void setValue(HiveVarchar hc)
public int compareTo(HiveVarchar rhs)
compareTo
in interface Comparable<HiveVarchar>
public boolean equals(HiveVarchar rhs)
Copyright © 2017 The Apache Software Foundation. All rights reserved.