public class ProfilingStats extends Object implements com.facebook.thrift.TBase, Serializable, Cloneable, Comparable<ProfilingStats>
| Modifier and Type | Class and Description |
|---|---|
static class |
ProfilingStats.Builder |
| Modifier and Type | Field and Description |
|---|---|
long |
exec_duration_in_us |
static int |
EXEC_DURATION_IN_US |
static Map<Integer,com.facebook.thrift.meta_data.FieldMetaData> |
metaDataMap |
Map<byte[],byte[]> |
other_stats |
static int |
OTHER_STATS |
long |
rows |
static int |
ROWS |
long |
total_duration_in_us |
static int |
TOTAL_DURATION_IN_US |
| Constructor and Description |
|---|
ProfilingStats() |
ProfilingStats(long rows,
long exec_duration_in_us,
long total_duration_in_us) |
ProfilingStats(long rows,
long exec_duration_in_us,
long total_duration_in_us,
Map<byte[],byte[]> other_stats) |
ProfilingStats(ProfilingStats other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
static ProfilingStats.Builder |
builder() |
int |
compareTo(ProfilingStats other) |
ProfilingStats |
deepCopy()
Returns a copy of `this`.
|
boolean |
equals(Object _that) |
long |
getExec_duration_in_us() |
Object |
getFieldValue(int fieldID) |
Map<byte[],byte[]> |
getOther_stats() |
long |
getRows() |
long |
getTotal_duration_in_us() |
int |
hashCode() |
boolean |
isSetExec_duration_in_us() |
boolean |
isSetOther_stats() |
boolean |
isSetRows() |
boolean |
isSetTotal_duration_in_us() |
void |
read(com.facebook.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
ProfilingStats |
setExec_duration_in_us(long exec_duration_in_us) |
void |
setExec_duration_in_usIsSet(boolean __value) |
void |
setFieldValue(int fieldID,
Object __value) |
ProfilingStats |
setOther_stats(Map<byte[],byte[]> other_stats) |
void |
setOther_statsIsSet(boolean __value) |
ProfilingStats |
setRows(long rows) |
void |
setRowsIsSet(boolean __value) |
ProfilingStats |
setTotal_duration_in_us(long total_duration_in_us) |
void |
setTotal_duration_in_usIsSet(boolean __value) |
String |
toString() |
String |
toString(int indent,
boolean prettyPrint)
Creates an indented String representation for pretty printing
|
void |
unsetExec_duration_in_us() |
void |
unsetOther_stats() |
void |
unsetRows() |
void |
unsetTotal_duration_in_us() |
void |
validate() |
void |
write(com.facebook.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public long rows
public long exec_duration_in_us
public long total_duration_in_us
public Map<byte[],byte[]> other_stats
public static final int ROWS
public static final int EXEC_DURATION_IN_US
public static final int TOTAL_DURATION_IN_US
public static final int OTHER_STATS
public ProfilingStats()
public ProfilingStats(long rows,
long exec_duration_in_us,
long total_duration_in_us)
public ProfilingStats(long rows,
long exec_duration_in_us,
long total_duration_in_us,
Map<byte[],byte[]> other_stats)
public ProfilingStats(ProfilingStats other)
public static ProfilingStats.Builder builder()
public ProfilingStats deepCopy()
com.facebook.thrift.TBasex.getClass() == x.deepCopy().getClass() should be true for any
TBase.deepCopy in interface com.facebook.thrift.TBasepublic long getRows()
public ProfilingStats setRows(long rows)
public void unsetRows()
public boolean isSetRows()
public void setRowsIsSet(boolean __value)
public long getExec_duration_in_us()
public ProfilingStats setExec_duration_in_us(long exec_duration_in_us)
public void unsetExec_duration_in_us()
public boolean isSetExec_duration_in_us()
public void setExec_duration_in_usIsSet(boolean __value)
public long getTotal_duration_in_us()
public ProfilingStats setTotal_duration_in_us(long total_duration_in_us)
public void unsetTotal_duration_in_us()
public boolean isSetTotal_duration_in_us()
public void setTotal_duration_in_usIsSet(boolean __value)
public Map<byte[],byte[]> getOther_stats()
public ProfilingStats setOther_stats(Map<byte[],byte[]> other_stats)
public void unsetOther_stats()
public boolean isSetOther_stats()
public void setOther_statsIsSet(boolean __value)
public void setFieldValue(int fieldID,
Object __value)
public Object getFieldValue(int fieldID)
public int compareTo(ProfilingStats other)
compareTo in interface Comparable<ProfilingStats>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.