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