org.apache.hadoop.hive.metastore.api
Class ThriftHiveMetastore.set_ugi_args
java.lang.Object
org.apache.hadoop.hive.metastore.api.ThriftHiveMetastore.set_ugi_args
- All Implemented Interfaces:
- Serializable, Cloneable, Comparable<ThriftHiveMetastore.set_ugi_args>, org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
- Enclosing class:
- ThriftHiveMetastore
public static class ThriftHiveMetastore.set_ugi_args
- extends Object
- implements org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>, Serializable, Cloneable
- See Also:
- Serialized Form
metaDataMap
public static final Map<ThriftHiveMetastore.set_ugi_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
ThriftHiveMetastore.set_ugi_args
public ThriftHiveMetastore.set_ugi_args()
ThriftHiveMetastore.set_ugi_args
public ThriftHiveMetastore.set_ugi_args(String user_name,
List<String> group_names)
ThriftHiveMetastore.set_ugi_args
public ThriftHiveMetastore.set_ugi_args(ThriftHiveMetastore.set_ugi_args other)
- Performs a deep copy on other.
deepCopy
public ThriftHiveMetastore.set_ugi_args deepCopy()
- Specified by:
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
clear
public void clear()
- Specified by:
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
getUser_name
public String getUser_name()
setUser_name
public void setUser_name(String user_name)
unsetUser_name
public void unsetUser_name()
isSetUser_name
public boolean isSetUser_name()
- Returns true if field user_name is set (has been assigned a value) and false otherwise
setUser_nameIsSet
public void setUser_nameIsSet(boolean value)
getGroup_namesSize
public int getGroup_namesSize()
getGroup_namesIterator
public Iterator<String> getGroup_namesIterator()
addToGroup_names
public void addToGroup_names(String elem)
getGroup_names
public List<String> getGroup_names()
setGroup_names
public void setGroup_names(List<String> group_names)
unsetGroup_names
public void unsetGroup_names()
isSetGroup_names
public boolean isSetGroup_names()
- Returns true if field group_names is set (has been assigned a value) and false otherwise
setGroup_namesIsSet
public void setGroup_namesIsSet(boolean value)
setFieldValue
public void setFieldValue(ThriftHiveMetastore.set_ugi_args._Fields field,
Object value)
- Specified by:
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
getFieldValue
public Object getFieldValue(ThriftHiveMetastore.set_ugi_args._Fields field)
- Specified by:
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
isSet
public boolean isSet(ThriftHiveMetastore.set_ugi_args._Fields field)
- Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
- Specified by:
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(ThriftHiveMetastore.set_ugi_args that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(ThriftHiveMetastore.set_ugi_args other)
- Specified by:
compareTo
in interface Comparable<ThriftHiveMetastore.set_ugi_args>
fieldForId
public ThriftHiveMetastore.set_ugi_args._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
read
public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
- Specified by:
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
- 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<ThriftHiveMetastore.set_ugi_args,ThriftHiveMetastore.set_ugi_args._Fields>
- 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 © 2011 The Apache Software Foundation