org.apache.hadoop.hive.serde2.typeinfo
Class VarcharTypeParams

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.typeinfo.BaseTypeParams
      extended by org.apache.hadoop.hive.serde2.typeinfo.VarcharTypeParams
All Implemented Interfaces:
Serializable

public class VarcharTypeParams
extends BaseTypeParams
implements Serializable

See Also:
Serialized Form

Field Summary
 int length
           
 
Constructor Summary
VarcharTypeParams()
           
 
Method Summary
 int getCharacterMaximumLength()
           
 int getLength()
           
 boolean hasCharacterMaximumLength()
           
 void populateParams(String[] params)
           
 void readFields(DataInput in)
           
 void setLength(int len)
           
 String toString()
           
 void validateParams()
           
 void write(DataOutput out)
           
 
Methods inherited from class org.apache.hadoop.hive.serde2.typeinfo.BaseTypeParams
set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

length

public int length
Constructor Detail

VarcharTypeParams

public VarcharTypeParams()
Method Detail

validateParams

public void validateParams()
                    throws SerDeException
Specified by:
validateParams in class BaseTypeParams
Throws:
SerDeException

populateParams

public void populateParams(String[] params)
                    throws SerDeException
Specified by:
populateParams in class BaseTypeParams
Throws:
SerDeException

toString

public String toString()
Specified by:
toString in class BaseTypeParams

readFields

public void readFields(DataInput in)
                throws IOException
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Throws:
IOException

getLength

public int getLength()

setLength

public void setLength(int len)

hasCharacterMaximumLength

public boolean hasCharacterMaximumLength()
Overrides:
hasCharacterMaximumLength in class BaseTypeParams

getCharacterMaximumLength

public int getCharacterMaximumLength()
Overrides:
getCharacterMaximumLength in class BaseTypeParams


Copyright © 2012 The Apache Software Foundation