|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.avro.specific.SpecificRecordBase
org.apache.avro.ipc.trace.Span
public class Span
| Nested Class Summary | |
|---|---|
static class |
Span.Builder
RecordBuilder for Span instances. |
| Field Summary | |
|---|---|
boolean |
complete
Deprecated. |
List<TimestampedEvent> |
events
Deprecated. |
CharSequence |
messageName
Deprecated. |
ID |
parentSpanID
Deprecated. |
CharSequence |
requestorHostname
Deprecated. |
long |
requestPayloadSize
Deprecated. |
CharSequence |
responderHostname
Deprecated. |
long |
responsePayloadSize
Deprecated. |
static Schema |
SCHEMA$
|
ID |
spanID
Deprecated. |
ID |
traceID
Deprecated. |
| Constructor Summary | |
|---|---|
Span()
|
|
| Method Summary | |
|---|---|
Object |
get(int field$)
Return the value of a field given its position in the schema. |
Boolean |
getComplete()
Gets the value of the 'complete' field. |
List<TimestampedEvent> |
getEvents()
Gets the value of the 'events' field. |
CharSequence |
getMessageName()
Gets the value of the 'messageName' field. |
ID |
getParentSpanID()
Gets the value of the 'parentSpanID' field. |
CharSequence |
getRequestorHostname()
Gets the value of the 'requestorHostname' field. |
Long |
getRequestPayloadSize()
Gets the value of the 'requestPayloadSize' field. |
CharSequence |
getResponderHostname()
Gets the value of the 'responderHostname' field. |
Long |
getResponsePayloadSize()
Gets the value of the 'responsePayloadSize' field. |
Schema |
getSchema()
The schema of this instance. |
ID |
getSpanID()
Gets the value of the 'spanID' field. |
ID |
getTraceID()
Gets the value of the 'traceID' field. |
static Span.Builder |
newBuilder()
Creates a new Span RecordBuilder |
static Span.Builder |
newBuilder(Span.Builder other)
Creates a new Span RecordBuilder by copying an existing Builder |
static Span.Builder |
newBuilder(Span other)
Creates a new Span RecordBuilder by copying an existing Span instance |
void |
put(int field$,
Object value$)
Set the value of a field given its position in the schema. |
void |
setComplete(Boolean value)
Sets the value of the 'complete' field. |
void |
setEvents(List<TimestampedEvent> value)
Sets the value of the 'events' field. |
void |
setMessageName(CharSequence value)
Sets the value of the 'messageName' field. |
void |
setParentSpanID(ID value)
Sets the value of the 'parentSpanID' field. |
void |
setRequestorHostname(CharSequence value)
Sets the value of the 'requestorHostname' field. |
void |
setRequestPayloadSize(Long value)
Sets the value of the 'requestPayloadSize' field. |
void |
setResponderHostname(CharSequence value)
Sets the value of the 'responderHostname' field. |
void |
setResponsePayloadSize(Long value)
Sets the value of the 'responsePayloadSize' field. |
void |
setSpanID(ID value)
Sets the value of the 'spanID' field. |
void |
setTraceID(ID value)
Sets the value of the 'traceID' field. |
| Methods inherited from class org.apache.avro.specific.SpecificRecordBase |
|---|
compareTo, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Schema SCHEMA$
@Deprecated public ID traceID
@Deprecated public ID spanID
@Deprecated public ID parentSpanID
@Deprecated public CharSequence messageName
@Deprecated public long requestPayloadSize
@Deprecated public long responsePayloadSize
@Deprecated public CharSequence requestorHostname
@Deprecated public CharSequence responderHostname
@Deprecated public List<TimestampedEvent> events
@Deprecated public boolean complete
| Constructor Detail |
|---|
public Span()
| Method Detail |
|---|
public Schema getSchema()
GenericContainer
getSchema in interface GenericContainergetSchema in class SpecificRecordBasepublic Object get(int field$)
IndexedRecordThis method is not meant to be called by user code, but only by DatumWriter implementations.
get in interface IndexedRecordget in class SpecificRecordBase
public void put(int field$,
Object value$)
IndexedRecordThis method is not meant to be called by user code, but only by DatumReader implementations.
put in interface IndexedRecordput in class SpecificRecordBasepublic ID getTraceID()
public void setTraceID(ID value)
value - the value to set.public ID getSpanID()
public void setSpanID(ID value)
value - the value to set.public ID getParentSpanID()
public void setParentSpanID(ID value)
value - the value to set.public CharSequence getMessageName()
public void setMessageName(CharSequence value)
value - the value to set.public Long getRequestPayloadSize()
public void setRequestPayloadSize(Long value)
value - the value to set.public Long getResponsePayloadSize()
public void setResponsePayloadSize(Long value)
value - the value to set.public CharSequence getRequestorHostname()
public void setRequestorHostname(CharSequence value)
value - the value to set.public CharSequence getResponderHostname()
public void setResponderHostname(CharSequence value)
value - the value to set.public List<TimestampedEvent> getEvents()
public void setEvents(List<TimestampedEvent> value)
value - the value to set.public Boolean getComplete()
public void setComplete(Boolean value)
value - the value to set.public static Span.Builder newBuilder()
public static Span.Builder newBuilder(Span.Builder other)
public static Span.Builder newBuilder(Span other)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||