public class ResponseCommon extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<ResponseCommon>
| Modifier and Type | Class and Description |
|---|---|
static class |
ResponseCommon.Builder |
| Modifier and Type | Field and Description |
|---|---|
List<PartitionResult> |
failed_parts |
static int |
FAILED_PARTS |
Map<String,Integer> |
latency_detail_us |
static int |
LATENCY_DETAIL_US |
long |
latency_in_us |
static int |
LATENCY_IN_US |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
ResponseCommon() |
ResponseCommon(List<PartitionResult> failed_parts,
long latency_in_us) |
ResponseCommon(List<PartitionResult> failed_parts,
long latency_in_us,
Map<String,Integer> latency_detail_us) |
ResponseCommon(ResponseCommon other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static ResponseCommon.Builder |
builder() |
int |
compareTo(ResponseCommon other) |
ResponseCommon |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
List<PartitionResult> |
getFailed_parts() |
Object |
getFieldValue(int fieldID) |
Map<String,Integer> |
getLatency_detail_us() |
long |
getLatency_in_us() |
int |
hashCode() |
boolean |
isSetFailed_parts() |
boolean |
isSetLatency_detail_us() |
boolean |
isSetLatency_in_us() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
ResponseCommon |
setFailed_parts(List<PartitionResult> failed_parts) |
void |
setFailed_partsIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
ResponseCommon |
setLatency_detail_us(Map<String,Integer> latency_detail_us) |
void |
setLatency_detail_usIsSet(boolean __value) |
ResponseCommon |
setLatency_in_us(long latency_in_us) |
void |
setLatency_in_usIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetFailed_parts() |
void |
unsetLatency_detail_us() |
void |
unsetLatency_in_us() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public List<PartitionResult> failed_parts
public long latency_in_us
public static final int FAILED_PARTS
public static final int LATENCY_IN_US
public static final int LATENCY_DETAIL_US
public ResponseCommon()
public ResponseCommon(List<PartitionResult> failed_parts, long latency_in_us)
public ResponseCommon(List<PartitionResult> failed_parts, long latency_in_us, Map<String,Integer> latency_detail_us)
public ResponseCommon(ResponseCommon other)
public static ResponseCommon.Builder builder()
public ResponseCommon deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic List<PartitionResult> getFailed_parts()
public ResponseCommon setFailed_parts(List<PartitionResult> failed_parts)
public void unsetFailed_parts()
public boolean isSetFailed_parts()
public void setFailed_partsIsSet(boolean __value)
public long getLatency_in_us()
public ResponseCommon setLatency_in_us(long latency_in_us)
public void unsetLatency_in_us()
public boolean isSetLatency_in_us()
public void setLatency_in_usIsSet(boolean __value)
public ResponseCommon setLatency_detail_us(Map<String,Integer> latency_detail_us)
public void unsetLatency_detail_us()
public boolean isSetLatency_detail_us()
public void setLatency_detail_usIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(ResponseCommon other)
compareTo in interface Comparable<ResponseCommon>public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBaseread in interface com.facebook.thrift.TBaseiprot - Input protocolcom.facebook.thrift.TExceptionpublic void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
com.facebook.thrift.TBasewrite in interface com.facebook.thrift.TBaseoprot - Output protocolcom.facebook.thrift.TExceptionpublic String toString(int indent, boolean prettyPrint)
com.facebook.thrift.TBasetoString in interface com.facebook.thrift.TBaseindent - The level of indentation desiredprettyPrint - Set pretty printing on/offpublic void validate()
throws com.facebook.thrift.TException
com.facebook.thrift.TExceptionCopyright © 2022. All rights reserved.