org.apache.hadoop.hive.service
Class ThriftHive.fetchAll_result

java.lang.Object
  extended by org.apache.hadoop.hive.service.ThriftHive.fetchAll_result
All Implemented Interfaces:
Serializable, Cloneable, org.apache.thrift.TBase
Enclosing class:
ThriftHive

public static class ThriftHive.fetchAll_result
extends Object
implements org.apache.thrift.TBase, Serializable, Cloneable

See Also:
Serialized Form

Field Summary
static int EX
           
static Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
static int SUCCESS
           
 
Constructor Summary
ThriftHive.fetchAll_result()
           
ThriftHive.fetchAll_result(List<String> success, HiveServerException ex)
           
ThriftHive.fetchAll_result(ThriftHive.fetchAll_result other)
          Performs a deep copy on other.
 
Method Summary
 void addToSuccess(String elem)
           
 ThriftHive.fetchAll_result clone()
           
 boolean equals(Object that)
           
 boolean equals(ThriftHive.fetchAll_result that)
           
 HiveServerException getEx()
           
 Object getFieldValue(int fieldID)
           
 List<String> getSuccess()
           
 Iterator<String> getSuccessIterator()
           
 int getSuccessSize()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSetEx()
           
 boolean isSetSuccess()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setEx(HiveServerException ex)
           
 void setFieldValue(int fieldID, Object value)
           
 void setSuccess(List<String> success)
           
 String toString()
           
 void unsetEx()
           
 void unsetSuccess()
           
 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

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values

EX

public static final int EX
See Also:
Constant Field Values

metaDataMap

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

ThriftHive.fetchAll_result

public ThriftHive.fetchAll_result()

ThriftHive.fetchAll_result

public ThriftHive.fetchAll_result(List<String> success,
                                  HiveServerException ex)

ThriftHive.fetchAll_result

public ThriftHive.fetchAll_result(ThriftHive.fetchAll_result other)
Performs a deep copy on other.

Method Detail

clone

public ThriftHive.fetchAll_result clone()
Overrides:
clone in class Object

getSuccessSize

public int getSuccessSize()

getSuccessIterator

public Iterator<String> getSuccessIterator()

addToSuccess

public void addToSuccess(String elem)

getSuccess

public List<String> getSuccess()

setSuccess

public void setSuccess(List<String> success)

unsetSuccess

public void unsetSuccess()

isSetSuccess

public boolean isSetSuccess()

getEx

public HiveServerException getEx()

setEx

public void setEx(HiveServerException ex)

unsetEx

public void unsetEx()

isSetEx

public boolean isSetEx()

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(ThriftHive.fetchAll_result 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