org.apache.hadoop.hive.metastore.api
Class SerDeInfo

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.api.SerDeInfo
All Implemented Interfaces:
Serializable, Cloneable, org.apache.thrift.TBase

public class SerDeInfo
extends Object
implements org.apache.thrift.TBase, Serializable, Cloneable

See Also:
Serialized Form

Field Summary
static Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
static int NAME
           
static int PARAMETERS
           
static int SERIALIZATIONLIB
           
 
Constructor Summary
SerDeInfo()
           
SerDeInfo(SerDeInfo other)
          Performs a deep copy on other.
SerDeInfo(String name, String serializationLib, Map<String,String> parameters)
           
 
Method Summary
 SerDeInfo clone()
           
 boolean equals(Object that)
           
 boolean equals(SerDeInfo that)
           
 Object getFieldValue(int fieldID)
           
 String getName()
           
 Map<String,String> getParameters()
           
 int getParametersSize()
           
 String getSerializationLib()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSetName()
           
 boolean isSetParameters()
           
 boolean isSetSerializationLib()
           
 void putToParameters(String key, String val)
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(int fieldID, Object value)
           
 void setName(String name)
           
 void setParameters(Map<String,String> parameters)
           
 void setSerializationLib(String serializationLib)
           
 String toString()
           
 void unsetName()
           
 void unsetParameters()
           
 void unsetSerializationLib()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final int NAME
See Also:
Constant Field Values

SERIALIZATIONLIB

public static final int SERIALIZATIONLIB
See Also:
Constant Field Values

PARAMETERS

public static final int PARAMETERS
See Also:
Constant Field Values

metaDataMap

public static final Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

SerDeInfo

public SerDeInfo()

SerDeInfo

public SerDeInfo(String name,
                 String serializationLib,
                 Map<String,String> parameters)

SerDeInfo

public SerDeInfo(SerDeInfo other)
Performs a deep copy on other.

Method Detail

clone

public SerDeInfo clone()
Overrides:
clone in class Object

getName

public String getName()

setName

public void setName(String name)

unsetName

public void unsetName()

isSetName

public boolean isSetName()

getSerializationLib

public String getSerializationLib()

setSerializationLib

public void setSerializationLib(String serializationLib)

unsetSerializationLib

public void unsetSerializationLib()

isSetSerializationLib

public boolean isSetSerializationLib()

getParametersSize

public int getParametersSize()

putToParameters

public void putToParameters(String key,
                            String val)

getParameters

public Map<String,String> getParameters()

setParameters

public void setParameters(Map<String,String> parameters)

unsetParameters

public void unsetParameters()

isSetParameters

public boolean isSetParameters()

setFieldValue

public void setFieldValue(int fieldID,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase

getFieldValue

public Object getFieldValue(int fieldID)
Specified by:
getFieldValue in interface org.apache.thrift.TBase

isSet

public boolean isSet(int fieldID)
Specified by:
isSet in interface org.apache.thrift.TBase

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(SerDeInfo that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2009 The Apache Software Foundation