public static class THBaseService.truncateTable_args extends Object implements org.apache.thrift.TBase<THBaseService.truncateTable_args,THBaseService.truncateTable_args._Fields>, Serializable, Cloneable, Comparable<THBaseService.truncateTable_args>
| Modifier and Type | Class and Description |
|---|---|
static class |
THBaseService.truncateTable_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<THBaseService.truncateTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
boolean |
preserveSplits
whether to preserve previous splits
|
TTableName |
tableName
the tablename to truncate
|
| Constructor and Description |
|---|
truncateTable_args() |
truncateTable_args(THBaseService.truncateTable_args other)
Performs a deep copy on other.
|
truncateTable_args(TTableName tableName,
boolean preserveSplits) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(THBaseService.truncateTable_args other) |
THBaseService.truncateTable_args |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(THBaseService.truncateTable_args that) |
THBaseService.truncateTable_args._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(THBaseService.truncateTable_args._Fields field) |
TTableName |
getTableName()
the tablename to truncate
|
int |
hashCode() |
boolean |
isPreserveSplits()
whether to preserve previous splits
|
boolean |
isSet(THBaseService.truncateTable_args._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPreserveSplits()
Returns true if field preserveSplits 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 |
setFieldValue(THBaseService.truncateTable_args._Fields field,
Object value) |
THBaseService.truncateTable_args |
setPreserveSplits(boolean preserveSplits)
whether to preserve previous splits
|
void |
setPreserveSplitsIsSet(boolean value) |
THBaseService.truncateTable_args |
setTableName(TTableName tableName)
the tablename to truncate
|
void |
setTableNameIsSet(boolean value) |
String |
toString() |
void |
unsetPreserveSplits() |
void |
unsetTableName() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public TTableName tableName
public boolean preserveSplits
public static final Map<THBaseService.truncateTable_args._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public truncateTable_args()
public truncateTable_args(TTableName tableName, boolean preserveSplits)
public truncateTable_args(THBaseService.truncateTable_args other)
public THBaseService.truncateTable_args deepCopy()
deepCopy in interface org.apache.thrift.TBase<THBaseService.truncateTable_args,THBaseService.truncateTable_args._Fields>public void clear()
clear in interface org.apache.thrift.TBase<THBaseService.truncateTable_args,THBaseService.truncateTable_args._Fields>public TTableName getTableName()
public THBaseService.truncateTable_args setTableName(TTableName tableName)
public void unsetTableName()
public boolean isSetTableName()
public void setTableNameIsSet(boolean value)
public boolean isPreserveSplits()
public THBaseService.truncateTable_args setPreserveSplits(boolean preserveSplits)
public void unsetPreserveSplits()
public boolean isSetPreserveSplits()
public void setPreserveSplitsIsSet(boolean value)
public void setFieldValue(THBaseService.truncateTable_args._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<THBaseService.truncateTable_args,THBaseService.truncateTable_args._Fields>public Object getFieldValue(THBaseService.truncateTable_args._Fields field)
getFieldValue in interface org.apache.thrift.TBase<THBaseService.truncateTable_args,THBaseService.truncateTable_args._Fields>public boolean isSet(THBaseService.truncateTable_args._Fields field)
isSet in interface org.apache.thrift.TBase<THBaseService.truncateTable_args,THBaseService.truncateTable_args._Fields>public boolean equals(THBaseService.truncateTable_args that)
public int compareTo(THBaseService.truncateTable_args other)
compareTo in interface Comparable<THBaseService.truncateTable_args>public THBaseService.truncateTable_args._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<THBaseService.truncateTable_args,THBaseService.truncateTable_args._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
read in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
write in interface org.apache.thrift.TSerializableorg.apache.thrift.TExceptionpublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.