org.apache.hadoop.hive.metastore.api
Class Type
java.lang.Object
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
__isset
public final Type.Isset __isset
Type
public Type()
Type
public Type(String name,
String type1,
String type2,
List<FieldSchema> fields)
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