@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") @InterfaceAudience.Public @InterfaceStability.Stable public class GetPartitionsResponse extends Object implements org.apache.thrift.TBase<GetPartitionsResponse,GetPartitionsResponse._Fields>, Serializable, Cloneable, Comparable<GetPartitionsResponse>
| Modifier and Type | Class and Description |
|---|---|
static class |
GetPartitionsResponse._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<GetPartitionsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
GetPartitionsResponse() |
GetPartitionsResponse(GetPartitionsResponse other)
Performs a deep copy on other.
|
GetPartitionsResponse(List<PartitionSpec> partitionSpec) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToPartitionSpec(PartitionSpec elem) |
void |
clear() |
int |
compareTo(GetPartitionsResponse other) |
GetPartitionsResponse |
deepCopy() |
boolean |
equals(GetPartitionsResponse that) |
boolean |
equals(Object that) |
GetPartitionsResponse._Fields |
fieldForId(int fieldId) |
Object |
getFieldValue(GetPartitionsResponse._Fields field) |
List<PartitionSpec> |
getPartitionSpec() |
Iterator<PartitionSpec> |
getPartitionSpecIterator() |
int |
getPartitionSpecSize() |
int |
hashCode() |
boolean |
isSet(GetPartitionsResponse._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetPartitionSpec()
Returns true if field partitionSpec is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
setFieldValue(GetPartitionsResponse._Fields field,
Object value) |
void |
setPartitionSpec(List<PartitionSpec> partitionSpec) |
void |
setPartitionSpecIsSet(boolean value) |
String |
toString() |
void |
unsetPartitionSpec() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<GetPartitionsResponse._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GetPartitionsResponse()
public GetPartitionsResponse(List<PartitionSpec> partitionSpec)
public GetPartitionsResponse(GetPartitionsResponse other)
public GetPartitionsResponse deepCopy()
deepCopy in interface org.apache.thrift.TBase<GetPartitionsResponse,GetPartitionsResponse._Fields>public void clear()
clear in interface org.apache.thrift.TBase<GetPartitionsResponse,GetPartitionsResponse._Fields>public int getPartitionSpecSize()
public Iterator<PartitionSpec> getPartitionSpecIterator()
public void addToPartitionSpec(PartitionSpec elem)
public List<PartitionSpec> getPartitionSpec()
public void setPartitionSpec(List<PartitionSpec> partitionSpec)
public void unsetPartitionSpec()
public boolean isSetPartitionSpec()
public void setPartitionSpecIsSet(boolean value)
public void setFieldValue(GetPartitionsResponse._Fields field, Object value)
setFieldValue in interface org.apache.thrift.TBase<GetPartitionsResponse,GetPartitionsResponse._Fields>public Object getFieldValue(GetPartitionsResponse._Fields field)
getFieldValue in interface org.apache.thrift.TBase<GetPartitionsResponse,GetPartitionsResponse._Fields>public boolean isSet(GetPartitionsResponse._Fields field)
isSet in interface org.apache.thrift.TBase<GetPartitionsResponse,GetPartitionsResponse._Fields>public boolean equals(GetPartitionsResponse that)
public int compareTo(GetPartitionsResponse other)
compareTo in interface Comparable<GetPartitionsResponse>public GetPartitionsResponse._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.thrift.TBase<GetPartitionsResponse,GetPartitionsResponse._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.