org.apache.hadoop.hive.serde2.typeinfo
Class BaseTypeParams
java.lang.Object
org.apache.hadoop.hive.serde2.typeinfo.BaseTypeParams
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- VarcharTypeParams
public abstract class BaseTypeParams
- extends Object
- implements Serializable
Base type for type-specific params, such as char(10) or decimal(10, 2).
- See Also:
- Serialized Form
BaseTypeParams
public BaseTypeParams()
validateParams
public abstract void validateParams()
throws SerDeException
- Throws:
SerDeException
populateParams
public abstract void populateParams(String[] params)
throws SerDeException
- Throws:
SerDeException
toString
public abstract String toString()
- Overrides:
toString
in class Object
set
public void set(String[] params)
throws SerDeException
- Throws:
SerDeException
hasCharacterMaximumLength
public boolean hasCharacterMaximumLength()
getCharacterMaximumLength
public int getCharacterMaximumLength()
Copyright © 2012 The Apache Software Foundation