org.apache.hadoop.hive.serde.test
Class InnerStruct

java.lang.Object
  extended by org.apache.hadoop.hive.serde.test.InnerStruct
All Implemented Interfaces:
Serializable, Cloneable, org.apache.thrift.TBase

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

See Also:
Serialized Form

Field Summary
 int field0
           
static int FIELD0
           
static Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
InnerStruct()
           
InnerStruct(InnerStruct other)
          Performs a deep copy on other.
InnerStruct(int field0)
           
 
Method Summary
 InnerStruct clone()
           
 boolean equals(InnerStruct that)
           
 boolean equals(Object that)
           
 int getField0()
           
 Object getFieldValue(int fieldID)
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSetField0()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setField0(int field0)
           
 void setField0IsSet(boolean value)
           
 void setFieldValue(int fieldID, Object value)
           
 String toString()
           
 void unsetField0()
           
 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

field0

public int field0

FIELD0

public static final int FIELD0
See Also:
Constant Field Values

metaDataMap

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

InnerStruct

public InnerStruct()

InnerStruct

public InnerStruct(int field0)

InnerStruct

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

Method Detail

clone

public InnerStruct clone()
Overrides:
clone in class Object

getField0

public int getField0()

setField0

public void setField0(int field0)

unsetField0

public void unsetField0()

isSetField0

public boolean isSetField0()

setField0IsSet

public void setField0IsSet(boolean value)

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(InnerStruct 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