|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.blur.thrift.generated.CpuTime
public class CpuTime
Holds the cpu time for a query executing on a single shard in a table.
Nested Class Summary | |
---|---|
static class |
CpuTime._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
long |
cpuTime
The total cpu time for the query on the given shard. |
static Map<CpuTime._Fields,FieldMetaData> |
metaDataMap
|
long |
realTime
The real time of the query execution for a given shard. |
Constructor Summary | |
---|---|
CpuTime()
|
|
CpuTime(CpuTime other)
Performs a deep copy on other. |
|
CpuTime(long cpuTime,
long realTime)
|
Method Summary | |
---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just called the default constructor. |
int |
compareTo(CpuTime other)
|
CpuTime |
deepCopy()
|
boolean |
equals(CpuTime that)
|
boolean |
equals(Object that)
|
CpuTime._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId. |
long |
getCpuTime()
The total cpu time for the query on the given shard. |
Object |
getFieldValue(CpuTime._Fields field)
Get a field's value by field variable. |
long |
getRealTime()
The real time of the query execution for a given shard. |
int |
hashCode()
|
boolean |
isSet(CpuTime._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetCpuTime()
Returns true if field cpuTime is set (has been assigned a value) and false otherwise |
boolean |
isSetRealTime()
Returns true if field realTime is set (has been assigned a value) and false otherwise |
void |
read(TProtocol iprot)
Reads the TObject from the given input protocol. |
CpuTime |
setCpuTime(long cpuTime)
The total cpu time for the query on the given shard. |
void |
setCpuTimeIsSet(boolean value)
|
void |
setFieldValue(CpuTime._Fields field,
Object value)
Set a field's value by field variable. |
CpuTime |
setRealTime(long realTime)
The real time of the query execution for a given shard. |
void |
setRealTimeIsSet(boolean value)
|
String |
toString()
|
void |
unsetCpuTime()
|
void |
unsetRealTime()
|
void |
validate()
|
void |
write(TProtocol oprot)
Writes the objects out to the protocol |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public long cpuTime
public long realTime
public static final Map<CpuTime._Fields,FieldMetaData> metaDataMap
Constructor Detail |
---|
public CpuTime()
public CpuTime(long cpuTime, long realTime)
public CpuTime(CpuTime other)
Method Detail |
---|
public CpuTime deepCopy()
deepCopy
in interface TBase<CpuTime,CpuTime._Fields>
public void clear()
TBase
clear
in interface TBase<CpuTime,CpuTime._Fields>
public long getCpuTime()
public CpuTime setCpuTime(long cpuTime)
public void unsetCpuTime()
public boolean isSetCpuTime()
public void setCpuTimeIsSet(boolean value)
public long getRealTime()
public CpuTime setRealTime(long realTime)
public void unsetRealTime()
public boolean isSetRealTime()
public void setRealTimeIsSet(boolean value)
public void setFieldValue(CpuTime._Fields field, Object value)
TBase
setFieldValue
in interface TBase<CpuTime,CpuTime._Fields>
public Object getFieldValue(CpuTime._Fields field)
TBase
getFieldValue
in interface TBase<CpuTime,CpuTime._Fields>
public boolean isSet(CpuTime._Fields field)
isSet
in interface TBase<CpuTime,CpuTime._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(CpuTime that)
public int hashCode()
hashCode
in class Object
public int compareTo(CpuTime other)
compareTo
in interface Comparable<CpuTime>
public CpuTime._Fields fieldForId(int fieldId)
TBase
fieldForId
in interface TBase<CpuTime,CpuTime._Fields>
public void read(TProtocol iprot) throws TException
TBase
read
in interface TBase<CpuTime,CpuTime._Fields>
iprot
- Input protocol
TException
public void write(TProtocol oprot) throws TException
TBase
write
in interface TBase<CpuTime,CpuTime._Fields>
oprot
- Output protocol
TException
public String toString()
toString
in class Object
public void validate() throws TException
TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |