|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.accumulo.trace.thrift.RemoteSpan
public class RemoteSpan
Nested Class Summary | |
---|---|
static class |
RemoteSpan._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
Map<String,String> |
data
|
String |
description
|
static Map<RemoteSpan._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
long |
parentId
|
String |
sender
|
long |
spanId
|
long |
start
|
long |
stop
|
String |
svc
|
long |
traceId
|
Constructor Summary | |
---|---|
RemoteSpan()
|
|
RemoteSpan(RemoteSpan other)
Performs a deep copy on other. |
|
RemoteSpan(String sender,
String svc,
long traceId,
long spanId,
long parentId,
long start,
long stop,
String description,
Map<String,String> data)
|
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(RemoteSpan other)
|
RemoteSpan |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(RemoteSpan that)
|
RemoteSpan._Fields |
fieldForId(int fieldId)
|
Map<String,String> |
getData()
|
int |
getDataSize()
|
String |
getDescription()
|
Object |
getFieldValue(RemoteSpan._Fields field)
|
long |
getParentId()
|
String |
getSender()
|
long |
getSpanId()
|
long |
getStart()
|
long |
getStop()
|
String |
getSvc()
|
long |
getTraceId()
|
int |
hashCode()
|
boolean |
isSet(RemoteSpan._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetData()
Returns true if field data is set (has been assigned a value) and false otherwise |
boolean |
isSetDescription()
Returns true if field description is set (has been assigned a value) and false otherwise |
boolean |
isSetParentId()
Returns true if field parentId is set (has been assigned a value) and false otherwise |
boolean |
isSetSender()
Returns true if field sender is set (has been assigned a value) and false otherwise |
boolean |
isSetSpanId()
Returns true if field spanId is set (has been assigned a value) and false otherwise |
boolean |
isSetStart()
Returns true if field start is set (has been assigned a value) and false otherwise |
boolean |
isSetStop()
Returns true if field stop is set (has been assigned a value) and false otherwise |
boolean |
isSetSvc()
Returns true if field svc is set (has been assigned a value) and false otherwise |
boolean |
isSetTraceId()
Returns true if field traceId is set (has been assigned a value) and false otherwise |
void |
putToData(String key,
String val)
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
RemoteSpan |
setData(Map<String,String> data)
|
void |
setDataIsSet(boolean value)
|
RemoteSpan |
setDescription(String description)
|
void |
setDescriptionIsSet(boolean value)
|
void |
setFieldValue(RemoteSpan._Fields field,
Object value)
|
RemoteSpan |
setParentId(long parentId)
|
void |
setParentIdIsSet(boolean value)
|
RemoteSpan |
setSender(String sender)
|
void |
setSenderIsSet(boolean value)
|
RemoteSpan |
setSpanId(long spanId)
|
void |
setSpanIdIsSet(boolean value)
|
RemoteSpan |
setStart(long start)
|
void |
setStartIsSet(boolean value)
|
RemoteSpan |
setStop(long stop)
|
void |
setStopIsSet(boolean value)
|
RemoteSpan |
setSvc(String svc)
|
void |
setSvcIsSet(boolean value)
|
RemoteSpan |
setTraceId(long traceId)
|
void |
setTraceIdIsSet(boolean value)
|
String |
toString()
|
void |
unsetData()
|
void |
unsetDescription()
|
void |
unsetParentId()
|
void |
unsetSender()
|
void |
unsetSpanId()
|
void |
unsetStart()
|
void |
unsetStop()
|
void |
unsetSvc()
|
void |
unsetTraceId()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String sender
public String svc
public long traceId
public long spanId
public long parentId
public long start
public long stop
public String description
public Map<String,String> data
public static final Map<RemoteSpan._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public RemoteSpan()
public RemoteSpan(String sender, String svc, long traceId, long spanId, long parentId, long start, long stop, String description, Map<String,String> data)
public RemoteSpan(RemoteSpan other)
Method Detail |
---|
public RemoteSpan deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RemoteSpan,RemoteSpan._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<RemoteSpan,RemoteSpan._Fields>
public String getSender()
public RemoteSpan setSender(String sender)
public void unsetSender()
public boolean isSetSender()
public void setSenderIsSet(boolean value)
public String getSvc()
public RemoteSpan setSvc(String svc)
public void unsetSvc()
public boolean isSetSvc()
public void setSvcIsSet(boolean value)
public long getTraceId()
public RemoteSpan setTraceId(long traceId)
public void unsetTraceId()
public boolean isSetTraceId()
public void setTraceIdIsSet(boolean value)
public long getSpanId()
public RemoteSpan setSpanId(long spanId)
public void unsetSpanId()
public boolean isSetSpanId()
public void setSpanIdIsSet(boolean value)
public long getParentId()
public RemoteSpan setParentId(long parentId)
public void unsetParentId()
public boolean isSetParentId()
public void setParentIdIsSet(boolean value)
public long getStart()
public RemoteSpan setStart(long start)
public void unsetStart()
public boolean isSetStart()
public void setStartIsSet(boolean value)
public long getStop()
public RemoteSpan setStop(long stop)
public void unsetStop()
public boolean isSetStop()
public void setStopIsSet(boolean value)
public String getDescription()
public RemoteSpan setDescription(String description)
public void unsetDescription()
public boolean isSetDescription()
public void setDescriptionIsSet(boolean value)
public int getDataSize()
public void putToData(String key, String val)
public Map<String,String> getData()
public RemoteSpan setData(Map<String,String> data)
public void unsetData()
public boolean isSetData()
public void setDataIsSet(boolean value)
public void setFieldValue(RemoteSpan._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RemoteSpan,RemoteSpan._Fields>
public Object getFieldValue(RemoteSpan._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RemoteSpan,RemoteSpan._Fields>
public boolean isSet(RemoteSpan._Fields field)
isSet
in interface org.apache.thrift.TBase<RemoteSpan,RemoteSpan._Fields>
public boolean equals(Object that)
equals
in class Object
public boolean equals(RemoteSpan that)
public int hashCode()
hashCode
in class Object
public int compareTo(RemoteSpan other)
compareTo
in interface Comparable<RemoteSpan>
public RemoteSpan._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RemoteSpan,RemoteSpan._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RemoteSpan,RemoteSpan._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<RemoteSpan,RemoteSpan._Fields>
org.apache.thrift.TException
public String toString()
toString
in class Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |