public class Span extends Object implements org.apache.thrift.TBase<Span,Span._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Span._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
List<Annotation> |
annotations |
List<BinaryAnnotation> |
binary_annotations |
boolean |
debug |
long |
id |
static Map<Span._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
String |
name |
long |
parent_id |
long |
trace_id |
Constructor and Description |
---|
Span() |
Span(long trace_id,
String name,
long id,
List<Annotation> annotations,
List<BinaryAnnotation> binary_annotations) |
Span(Span other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
addToAnnotations(Annotation elem) |
void |
addToBinary_annotations(BinaryAnnotation elem) |
void |
clear() |
int |
compareTo(Span other) |
Span |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(Span that) |
Span._Fields |
fieldForId(int fieldId) |
List<Annotation> |
getAnnotations() |
Iterator<Annotation> |
getAnnotationsIterator() |
int |
getAnnotationsSize() |
List<BinaryAnnotation> |
getBinary_annotations() |
Iterator<BinaryAnnotation> |
getBinary_annotationsIterator() |
int |
getBinary_annotationsSize() |
Object |
getFieldValue(Span._Fields field) |
long |
getId() |
String |
getName() |
long |
getParent_id() |
long |
getTrace_id() |
int |
hashCode() |
boolean |
isDebug() |
boolean |
isSet(Span._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAnnotations()
Returns true if field annotations is set (has been assigned a value) and false otherwise
|
boolean |
isSetBinary_annotations()
Returns true if field binary_annotations is set (has been assigned a value) and false otherwise
|
boolean |
isSetDebug()
Returns true if field debug is set (has been assigned a value) and false otherwise
|
boolean |
isSetId()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
isSetParent_id()
Returns true if field parent_id is set (has been assigned a value) and false otherwise
|
boolean |
isSetTrace_id()
Returns true if field trace_id is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
Span |
setAnnotations(List<Annotation> annotations) |
void |
setAnnotationsIsSet(boolean value) |
Span |
setBinary_annotations(List<BinaryAnnotation> binary_annotations) |
void |
setBinary_annotationsIsSet(boolean value) |
Span |
setDebug(boolean debug) |
void |
setDebugIsSet(boolean value) |
void |
setFieldValue(Span._Fields field,
Object value) |
Span |
setId(long id) |
void |
setIdIsSet(boolean value) |
Span |
setName(String name) |
void |
setNameIsSet(boolean value) |
Span |
setParent_id(long parent_id) |
void |
setParent_idIsSet(boolean value) |
Span |
setTrace_id(long trace_id) |
void |
setTrace_idIsSet(boolean value) |
String |
toString() |
void |
unsetAnnotations() |
void |
unsetBinary_annotations() |
void |
unsetDebug() |
void |
unsetId() |
void |
unsetName() |
void |
unsetParent_id() |
void |
unsetTrace_id() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long trace_id
public String name
public long id
public long parent_id
public List<Annotation> annotations
public List<BinaryAnnotation> binary_annotations
public boolean debug
public static final Map<Span._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public Span()
public Span(long trace_id, String name, long id, List<Annotation> annotations, List<BinaryAnnotation> binary_annotations)
public Span(Span other)
public Span deepCopy()
deepCopy
in interface org.apache.thrift.TBase<Span,Span._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<Span,Span._Fields>
public long getTrace_id()
public Span setTrace_id(long trace_id)
public void unsetTrace_id()
public boolean isSetTrace_id()
public void setTrace_idIsSet(boolean value)
public String getName()
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public long getId()
public Span setId(long id)
public void unsetId()
public boolean isSetId()
public void setIdIsSet(boolean value)
public long getParent_id()
public Span setParent_id(long parent_id)
public void unsetParent_id()
public boolean isSetParent_id()
public void setParent_idIsSet(boolean value)
public int getAnnotationsSize()
public Iterator<Annotation> getAnnotationsIterator()
public void addToAnnotations(Annotation elem)
public List<Annotation> getAnnotations()
public Span setAnnotations(List<Annotation> annotations)
public void unsetAnnotations()
public boolean isSetAnnotations()
public void setAnnotationsIsSet(boolean value)
public int getBinary_annotationsSize()
public Iterator<BinaryAnnotation> getBinary_annotationsIterator()
public void addToBinary_annotations(BinaryAnnotation elem)
public List<BinaryAnnotation> getBinary_annotations()
public Span setBinary_annotations(List<BinaryAnnotation> binary_annotations)
public void unsetBinary_annotations()
public boolean isSetBinary_annotations()
public void setBinary_annotationsIsSet(boolean value)
public boolean isDebug()
public Span setDebug(boolean debug)
public void unsetDebug()
public boolean isSetDebug()
public void setDebugIsSet(boolean value)
public void setFieldValue(Span._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<Span,Span._Fields>
public Object getFieldValue(Span._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<Span,Span._Fields>
public boolean isSet(Span._Fields field)
isSet
in interface org.apache.thrift.TBase<Span,Span._Fields>
public boolean equals(Span that)
public int compareTo(Span other)
compareTo
in interface Comparable<Span>
public Span._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<Span,Span._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<Span,Span._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<Span,Span._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2014. All rights reserved.