@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class GetPartitionResponse extends Object implements org.apache.thrift.TBase<GetPartitionResponse,GetPartitionResponse._Fields>, Serializable, Cloneable, Comparable<GetPartitionResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetPartitionResponse._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<GetPartitionResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
GetPartitionResponse() |
GetPartitionResponse(GetPartitionResponse other)
Performs a deep copy on other.
|
GetPartitionResponse(Partition partition) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
int |
compareTo(GetPartitionResponse other) |
GetPartitionResponse |
deepCopy() |
boolean |
equals(GetPartitionResponse that) |
boolean |
equals(Object that) |
GetPartitionResponse._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(GetPartitionResponse._Fields field) |
Partition |
getPartition() |
int |
hashCode() |
boolean |
isSet(GetPartitionResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartition()
Returns true if field partition is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(GetPartitionResponse._Fields field,
Object value) |
void |
setPartition(Partition partition) |
void |
setPartitionIsSet(boolean value) |
String |
toString() |
void |
unsetPartition() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<GetPartitionResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetPartitionResponse()
public GetPartitionResponse(Partition partition)
public GetPartitionResponse(GetPartitionResponse other)
public GetPartitionResponse deepCopy()
deepCopy in interface org.apache.thrift.TBase<GetPartitionResponse,GetPartitionResponse._Fields>public void clear()
clear in interface org.apache.thrift.TBase<GetPartitionResponse,GetPartitionResponse._Fields>public Partition getPartition()
public void setPartition(Partition partition)
public void unsetPartition()
public boolean isSetPartition()
public void setPartitionIsSet(boolean value)
public void setFieldValue(GetPartitionResponse._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<GetPartitionResponse,GetPartitionResponse._Fields>public Object getFieldValue(GetPartitionResponse._Fields field)
getFieldValue in interface org.apache.thrift.TBase<GetPartitionResponse,GetPartitionResponse._Fields>public boolean isSet(GetPartitionResponse._Fields field)
isSet in interface org.apache.thrift.TBase<GetPartitionResponse,GetPartitionResponse._Fields>public boolean equals(GetPartitionResponse that)
public int compareTo(GetPartitionResponse other)
compareTo in interface Comparable<GetPartitionResponse>public GetPartitionResponse._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<GetPartitionResponse,GetPartitionResponse._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 © 2024 The Apache Software Foundation. All rights reserved.