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

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

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

See Also:
Serialized Form

Nested Class Summary
static class Type.Isset
           
 
Field Summary
 Type.Isset __isset
           
 
Constructor Summary
Type()
           
Type(String name, String type1, String type2, List<FieldSchema> fields)
           
 
Method Summary
 void addToFields(FieldSchema elem)
           
 boolean equals(Object that)
           
 boolean equals(Type that)
           
 List<FieldSchema> getFields()
           
 Iterator<FieldSchema> getFieldsIterator()
           
 int getFieldsSize()
           
 String getName()
           
 String getType1()
           
 String getType2()
           
 int hashCode()
           
 void read(com.facebook.thrift.protocol.TProtocol iprot)
           
 void setFields(List<FieldSchema> fields)
           
 void setName(String name)
           
 void setType1(String type1)
           
 void setType2(String type2)
           
 String toString()
           
 void unsetFields()
           
 void unsetName()
           
 void unsetType1()
           
 void unsetType2()
           
 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 Type.Isset __isset
Constructor Detail

Type

public Type()

Type

public Type(String name,
            String type1,
            String type2,
            List<FieldSchema> fields)
Method Detail

getName

public String getName()

setName

public void setName(String name)

unsetName

public void unsetName()

getType1

public String getType1()

setType1

public void setType1(String type1)

unsetType1

public void unsetType1()

getType2

public String getType2()

setType2

public void setType2(String type2)

unsetType2

public void unsetType2()

getFieldsSize

public int getFieldsSize()

getFieldsIterator

public Iterator<FieldSchema> getFieldsIterator()

addToFields

public void addToFields(FieldSchema elem)

getFields

public List<FieldSchema> getFields()

setFields

public void setFields(List<FieldSchema> fields)

unsetFields

public void unsetFields()

equals

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

equals

public boolean equals(Type 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