org.apache.hadoop.hive.serde2.thrift.test
Class IntString

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

public class IntString
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
           
 int myint
           
static int MYINT
           
 String myString
           
static int MYSTRING
           
 int underscore_int
           
static int UNDERSCORE_INT
           
 
Constructor Summary
IntString()
           
IntString(IntString other)
          Performs a deep copy on other.
IntString(int myint, String myString, int underscore_int)
           
 
Method Summary
 IntString clone()
           
 boolean equals(IntString that)
           
 boolean equals(Object that)
           
 Object getFieldValue(int fieldID)
           
 int getMyint()
           
 String getMyString()
           
 int getUnderscore_int()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSetMyint()
           
 boolean isSetMyString()
           
 boolean isSetUnderscore_int()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setFieldValue(int fieldID, Object value)
           
 void setMyint(int myint)
           
 void setMyintIsSet(boolean value)
           
 void setMyString(String myString)
           
 void setMyStringIsSet(boolean value)
           
 void setUnderscore_int(int underscore_int)
           
 void setUnderscore_intIsSet(boolean value)
           
 String toString()
           
 void unsetMyint()
           
 void unsetMyString()
           
 void unsetUnderscore_int()
           
 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

myint

public int myint

MYINT

public static final int MYINT
See Also:
Constant Field Values

myString

public String myString

MYSTRING

public static final int MYSTRING
See Also:
Constant Field Values

underscore_int

public int underscore_int

UNDERSCORE_INT

public static final int UNDERSCORE_INT
See Also:
Constant Field Values

metaDataMap

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

IntString

public IntString()

IntString

public IntString(int myint,
                 String myString,
                 int underscore_int)

IntString

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

Method Detail

clone

public IntString clone()
Overrides:
clone in class Object

getMyint

public int getMyint()

setMyint

public void setMyint(int myint)

unsetMyint

public void unsetMyint()

isSetMyint

public boolean isSetMyint()

setMyintIsSet

public void setMyintIsSet(boolean value)

getMyString

public String getMyString()

setMyString

public void setMyString(String myString)

unsetMyString

public void unsetMyString()

isSetMyString

public boolean isSetMyString()

setMyStringIsSet

public void setMyStringIsSet(boolean value)

getUnderscore_int

public int getUnderscore_int()

setUnderscore_int

public void setUnderscore_int(int underscore_int)

unsetUnderscore_int

public void unsetUnderscore_int()

isSetUnderscore_int

public boolean isSetUnderscore_int()

setUnderscore_intIsSet

public void setUnderscore_intIsSet(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(IntString 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 © 2010 The Apache Software Foundation