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

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

public static class ThriftHive.getSchema_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.getSchema_result()
           
ThriftHive.getSchema_result(Schema success, HiveServerException ex)
           
ThriftHive.getSchema_result(ThriftHive.getSchema_result other)
          Performs a deep copy on other.
 
Method Summary
 ThriftHive.getSchema_result clone()
           
 boolean equals(Object that)
           
 boolean equals(ThriftHive.getSchema_result that)
           
 HiveServerException getEx()
           
 Object getFieldValue(int fieldID)
           
 Schema getSuccess()
           
 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(Schema 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.getSchema_result

public ThriftHive.getSchema_result()

ThriftHive.getSchema_result

public ThriftHive.getSchema_result(Schema success,
                                   HiveServerException ex)

ThriftHive.getSchema_result

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

Method Detail

clone

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

getSuccess

public Schema getSuccess()

setSuccess

public void setSuccess(Schema 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.getSchema_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