org.apache.hadoop.hive.metastore.api
Class ThriftHiveMetastore.create_database_args

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

public static class ThriftHiveMetastore.create_database_args
extends Object
implements org.apache.thrift.TBase, Serializable, Cloneable

See Also:
Serialized Form

Field Summary
static int DESCRIPTION
           
static Map<Integer,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
static int NAME
           
 
Constructor Summary
ThriftHiveMetastore.create_database_args()
           
ThriftHiveMetastore.create_database_args(String name, String description)
           
ThriftHiveMetastore.create_database_args(ThriftHiveMetastore.create_database_args other)
          Performs a deep copy on other.
 
Method Summary
 ThriftHiveMetastore.create_database_args clone()
           
 boolean equals(Object that)
           
 boolean equals(ThriftHiveMetastore.create_database_args that)
           
 String getDescription()
           
 Object getFieldValue(int fieldID)
           
 String getName()
           
 int hashCode()
           
 boolean isSet(int fieldID)
           
 boolean isSetDescription()
           
 boolean isSetName()
           
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 void setDescription(String description)
           
 void setFieldValue(int fieldID, Object value)
           
 void setName(String name)
           
 String toString()
           
 void unsetDescription()
           
 void unsetName()
           
 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

DESCRIPTION

public static final int DESCRIPTION
See Also:
Constant Field Values

metaDataMap

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

ThriftHiveMetastore.create_database_args

public ThriftHiveMetastore.create_database_args()

ThriftHiveMetastore.create_database_args

public ThriftHiveMetastore.create_database_args(String name,
                                                String description)

ThriftHiveMetastore.create_database_args

public ThriftHiveMetastore.create_database_args(ThriftHiveMetastore.create_database_args other)
Performs a deep copy on other.

Method Detail

clone

public ThriftHiveMetastore.create_database_args clone()
Overrides:
clone in class Object

getName

public String getName()

setName

public void setName(String name)

unsetName

public void unsetName()

isSetName

public boolean isSetName()

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

unsetDescription

public void unsetDescription()

isSetDescription

public boolean isSetDescription()

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(ThriftHiveMetastore.create_database_args 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