public class VarcharTypeParams extends BaseTypeParams implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
int |
length |
| Constructor and Description |
|---|
VarcharTypeParams() |
| Modifier and Type | Method and Description |
|---|---|
int |
getCharacterMaximumLength() |
int |
getLength() |
boolean |
hasCharacterMaximumLength() |
void |
populateParams(java.lang.String[] params) |
void |
readFields(java.io.DataInput in) |
void |
setLength(int len) |
java.lang.String |
toString() |
void |
validateParams() |
void |
write(java.io.DataOutput out) |
setpublic void validateParams()
throws SerDeException
validateParams in class BaseTypeParamsSerDeExceptionpublic void populateParams(java.lang.String[] params)
throws SerDeException
populateParams in class BaseTypeParamsSerDeExceptionpublic java.lang.String toString()
toString in class BaseTypeParamspublic void readFields(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic void write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionpublic int getLength()
public void setLength(int len)
public boolean hasCharacterMaximumLength()
hasCharacterMaximumLength in class BaseTypeParamspublic int getCharacterMaximumLength()
getCharacterMaximumLength in class BaseTypeParamsCopyright © 2012 The Apache Software Foundation