public abstract class HiveBaseChar
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
characterLength |
protected java.lang.String |
value |
Modifier | Constructor and Description |
---|---|
protected |
HiveBaseChar() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
enforceMaxLength(java.lang.String val,
int maxLength) |
int |
getCharacterLength() |
java.lang.String |
getValue() |
void |
setValue(HiveBaseChar val,
int maxLength) |
void |
setValue(java.lang.String val,
int maxLength)
Sets the string value to a new value, obeying the max length defined for this object.
|
public void setValue(java.lang.String val, int maxLength)
val
- new valuepublic void setValue(HiveBaseChar val, int maxLength)
public static java.lang.String enforceMaxLength(java.lang.String val, int maxLength)
public java.lang.String getValue()
public int getCharacterLength()
Copyright © 2012 The Apache Software Foundation