@InterfaceAudience.Public @InterfaceStability.Stable public static class ThriftHiveMetastore.truncate_table_args extends Object implements org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>, Serializable, Cloneable, Comparable<ThriftHiveMetastore.truncate_table_args>
Modifier and Type | Class and Description |
---|---|
static class |
ThriftHiveMetastore.truncate_table_args._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ThriftHiveMetastore.truncate_table_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
truncate_table_args() |
truncate_table_args(String dbName,
String tableName,
List<String> partNames) |
truncate_table_args(ThriftHiveMetastore.truncate_table_args other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToPartNames(String elem) |
void |
clear() |
int |
compareTo(ThriftHiveMetastore.truncate_table_args other) |
ThriftHiveMetastore.truncate_table_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(ThriftHiveMetastore.truncate_table_args that) |
ThriftHiveMetastore.truncate_table_args._Fields |
fieldForId(int fieldId) |
String |
getDbName() |
Object |
getFieldValue(ThriftHiveMetastore.truncate_table_args._Fields field) |
List<String> |
getPartNames() |
Iterator<String> |
getPartNamesIterator() |
int |
getPartNamesSize() |
String |
getTableName() |
int |
hashCode() |
boolean |
isSet(ThriftHiveMetastore.truncate_table_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetDbName()
Returns true if field dbName is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartNames()
Returns true if field partNames is set (has been assigned a value) and false otherwise
|
boolean |
isSetTableName()
Returns true if field tableName is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setDbName(String dbName) |
void |
setDbNameIsSet(boolean value) |
void |
setFieldValue(ThriftHiveMetastore.truncate_table_args._Fields field,
Object value) |
void |
setPartNames(List<String> partNames) |
void |
setPartNamesIsSet(boolean value) |
void |
setTableName(String tableName) |
void |
setTableNameIsSet(boolean value) |
String |
toString() |
void |
unsetDbName() |
void |
unsetPartNames() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<ThriftHiveMetastore.truncate_table_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public truncate_table_args()
public truncate_table_args(String dbName, String tableName, List<String> partNames)
public truncate_table_args(ThriftHiveMetastore.truncate_table_args other)
public ThriftHiveMetastore.truncate_table_args deepCopy()
deepCopy
in interface org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>
public String getDbName()
public void setDbName(String dbName)
public void unsetDbName()
public boolean isSetDbName()
public void setDbNameIsSet(boolean value)
public String getTableName()
public void setTableName(String tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public int getPartNamesSize()
public void addToPartNames(String elem)
public void unsetPartNames()
public boolean isSetPartNames()
public void setPartNamesIsSet(boolean value)
public void setFieldValue(ThriftHiveMetastore.truncate_table_args._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>
public Object getFieldValue(ThriftHiveMetastore.truncate_table_args._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>
public boolean isSet(ThriftHiveMetastore.truncate_table_args._Fields field)
isSet
in interface org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>
public boolean equals(ThriftHiveMetastore.truncate_table_args that)
public int compareTo(ThriftHiveMetastore.truncate_table_args other)
compareTo
in interface Comparable<ThriftHiveMetastore.truncate_table_args>
public ThriftHiveMetastore.truncate_table_args._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<ThriftHiveMetastore.truncate_table_args,ThriftHiveMetastore.truncate_table_args._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.