org.apache.hadoop.hive.metastore.api
Class Version

java.lang.Object
  extended by org.apache.hadoop.hive.metastore.api.Version
All Implemented Interfaces:
com.facebook.thrift.TBase, Serializable

public class Version
extends Object
implements com.facebook.thrift.TBase, Serializable

See Also:
Serialized Form

Nested Class Summary
static class Version.Isset
           
 
Field Summary
 Version.Isset __isset
           
 
Constructor Summary
Version()
           
Version(String version, String comments)
           
 
Method Summary
 boolean equals(Object that)
           
 boolean equals(Version that)
           
 String getComments()
           
 String getVersion()
           
 int hashCode()
           
 void read(com.facebook.thrift.protocol.TProtocol iprot)
           
 void setComments(String comments)
           
 void setVersion(String version)
           
 String toString()
           
 void unsetComments()
           
 void unsetVersion()
           
 void write(com.facebook.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

__isset

public final Version.Isset __isset
Constructor Detail

Version

public Version()

Version

public Version(String version,
               String comments)
Method Detail

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

unsetVersion

public void unsetVersion()

getComments

public String getComments()

setComments

public void setComments(String comments)

unsetComments

public void unsetComments()

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(Version that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

read

public void read(com.facebook.thrift.protocol.TProtocol iprot)
          throws com.facebook.thrift.TException
Specified by:
read in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

write

public void write(com.facebook.thrift.protocol.TProtocol oprot)
           throws com.facebook.thrift.TException
Specified by:
write in interface com.facebook.thrift.TBase
Throws:
com.facebook.thrift.TException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 The Apache Software Foundation