|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avro.data.RecordBuilderBase<T> org.apache.avro.specific.SpecificRecordBuilderBase<Span> org.apache.avro.ipc.trace.Span.Builder
public static class Span.Builder
RecordBuilder for Span instances.
Field Summary |
---|
Fields inherited from class org.apache.avro.data.RecordBuilderBase |
---|
data, fields, fieldSetFlags, schema |
Method Summary | |
---|---|
Span |
build()
Constructs a new instance using the values set in the RecordBuilder. |
Span.Builder |
clearComplete()
Clears the value of the 'complete' field |
Span.Builder |
clearEvents()
Clears the value of the 'events' field |
Span.Builder |
clearMessageName()
Clears the value of the 'messageName' field |
Span.Builder |
clearParentSpanID()
Clears the value of the 'parentSpanID' field |
Span.Builder |
clearRequestorHostname()
Clears the value of the 'requestorHostname' field |
Span.Builder |
clearRequestPayloadSize()
Clears the value of the 'requestPayloadSize' field |
Span.Builder |
clearResponderHostname()
Clears the value of the 'responderHostname' field |
Span.Builder |
clearResponsePayloadSize()
Clears the value of the 'responsePayloadSize' field |
Span.Builder |
clearSpanID()
Clears the value of the 'spanID' field |
Span.Builder |
clearTraceID()
Clears the value of the 'traceID' field |
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 |
ID |
getSpanID()
Gets the value of the 'spanID' field |
ID |
getTraceID()
Gets the value of the 'traceID' field |
boolean |
hasComplete()
Checks whether the 'complete' field has been set |
boolean |
hasEvents()
Checks whether the 'events' field has been set |
boolean |
hasMessageName()
Checks whether the 'messageName' field has been set |
boolean |
hasParentSpanID()
Checks whether the 'parentSpanID' field has been set |
boolean |
hasRequestorHostname()
Checks whether the 'requestorHostname' field has been set |
boolean |
hasRequestPayloadSize()
Checks whether the 'requestPayloadSize' field has been set |
boolean |
hasResponderHostname()
Checks whether the 'responderHostname' field has been set |
boolean |
hasResponsePayloadSize()
Checks whether the 'responsePayloadSize' field has been set |
boolean |
hasSpanID()
Checks whether the 'spanID' field has been set |
boolean |
hasTraceID()
Checks whether the 'traceID' field has been set |
Span.Builder |
setComplete(boolean value)
Sets the value of the 'complete' field |
Span.Builder |
setEvents(List<TimestampedEvent> value)
Sets the value of the 'events' field |
Span.Builder |
setMessageName(CharSequence value)
Sets the value of the 'messageName' field |
Span.Builder |
setParentSpanID(ID value)
Sets the value of the 'parentSpanID' field |
Span.Builder |
setRequestorHostname(CharSequence value)
Sets the value of the 'requestorHostname' field |
Span.Builder |
setRequestPayloadSize(long value)
Sets the value of the 'requestPayloadSize' field |
Span.Builder |
setResponderHostname(CharSequence value)
Sets the value of the 'responderHostname' field |
Span.Builder |
setResponsePayloadSize(long value)
Sets the value of the 'responsePayloadSize' field |
Span.Builder |
setSpanID(ID value)
Sets the value of the 'spanID' field |
Span.Builder |
setTraceID(ID value)
Sets the value of the 'traceID' field |
Methods inherited from class org.apache.avro.data.RecordBuilderBase |
---|
equals, getDefaultValue, hashCode, isValidValue, validate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ID getTraceID()
public Span.Builder setTraceID(ID value)
public boolean hasTraceID()
public Span.Builder clearTraceID()
public ID getSpanID()
public Span.Builder setSpanID(ID value)
public boolean hasSpanID()
public Span.Builder clearSpanID()
public ID getParentSpanID()
public Span.Builder setParentSpanID(ID value)
public boolean hasParentSpanID()
public Span.Builder clearParentSpanID()
public CharSequence getMessageName()
public Span.Builder setMessageName(CharSequence value)
public boolean hasMessageName()
public Span.Builder clearMessageName()
public Long getRequestPayloadSize()
public Span.Builder setRequestPayloadSize(long value)
public boolean hasRequestPayloadSize()
public Span.Builder clearRequestPayloadSize()
public Long getResponsePayloadSize()
public Span.Builder setResponsePayloadSize(long value)
public boolean hasResponsePayloadSize()
public Span.Builder clearResponsePayloadSize()
public CharSequence getRequestorHostname()
public Span.Builder setRequestorHostname(CharSequence value)
public boolean hasRequestorHostname()
public Span.Builder clearRequestorHostname()
public CharSequence getResponderHostname()
public Span.Builder setResponderHostname(CharSequence value)
public boolean hasResponderHostname()
public Span.Builder clearResponderHostname()
public List<TimestampedEvent> getEvents()
public Span.Builder setEvents(List<TimestampedEvent> value)
public boolean hasEvents()
public Span.Builder clearEvents()
public Boolean getComplete()
public Span.Builder setComplete(boolean value)
public boolean hasComplete()
public Span.Builder clearComplete()
public Span build()
RecordBuilder
build
in interface RecordBuilder<Span>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |