class Immutable extends Span
The default read-only implementation of Span. You typically should not need to directly reference this class; instead, use the Span.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- Span
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product10
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Immutable(traceId: Long, name: String, id: Long, parentId: Option[Long] = _root_.scala.None, annotations: Seq[Annotation] = ..., binaryAnnotations: Seq[BinaryAnnotation] = ..., debug: Boolean, timestamp: Option[Long] = _root_.scala.None, duration: Option[Long] = _root_.scala.None, traceIdHigh: Option[Long] = _root_.scala.None)
- new Immutable(traceId: Long, name: String, id: Long, parentId: Option[Long], annotations: Seq[Annotation], binaryAnnotations: Seq[BinaryAnnotation], debug: Boolean, timestamp: Option[Long], duration: Option[Long], traceIdHigh: Option[Long], _passthroughFields: Map[Short, TFieldBlob])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
_1: Long
- Definition Classes
- Span → Product10
-
def
_10: Option[Long]
- Definition Classes
- Span → Product10
-
def
_2: String
- Definition Classes
- Span → Product10
-
def
_3: Long
- Definition Classes
- Span → Product10
-
def
_4: Option[Long]
- Definition Classes
- Span → Product10
-
def
_5: Seq[Annotation]
- Definition Classes
- Span → Product10
-
def
_6: Seq[BinaryAnnotation]
- Definition Classes
- Span → Product10
-
def
_7: Boolean
- Definition Classes
- Span → Product10
-
def
_8: Option[Long]
- Definition Classes
- Span → Product10
-
def
_9: Option[Long]
- Definition Classes
- Span → Product10
-
def
_codec: ValidatingThriftStructCodec3[Span]
- Definition Classes
- Span → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- val annotations: Seq[Annotation]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val binaryAnnotations: Seq[BinaryAnnotation]
-
def
canEqual(other: Any): Boolean
- Definition Classes
- Span → Equals
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
copy(traceId: Long = this.traceId, name: String = this.name, id: Long = this.id, parentId: Option[Long] = this.parentId, annotations: Seq[Annotation] = this.annotations, binaryAnnotations: Seq[BinaryAnnotation] = this.binaryAnnotations, debug: Boolean = this.debug, timestamp: Option[Long] = this.timestamp, duration: Option[Long] = this.duration, traceIdHigh: Option[Long] = this.traceIdHigh, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): Span
- Definition Classes
- Span
- val debug: Boolean
- val duration: Option[Long]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(other: Any): Boolean
- Definition Classes
- Span → Equals → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getFieldBlob(_fieldId: Short): Option[TFieldBlob]
Gets a field value encoded as a binary blob using TCompactProtocol.
Gets a field value encoded as a binary blob using TCompactProtocol. If the specified field is present in the passthrough map, that value is returned. Otherwise, if the specified field is known and not optional and set to None, then the field is serialized and returned.
- Definition Classes
- Span
-
def
getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlobinto a map.Collects TCompactProtocol-encoded field values according to
getFieldBlobinto a map.- Definition Classes
- Span
-
def
hashCode(): Int
- Definition Classes
- Span → AnyRef → Any
- val id: Long
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder(): StructBuilder[Span]
- Definition Classes
- Span
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parentId: Option[Long]
-
def
productArity: Int
- Definition Classes
- Product10 → Product
-
def
productElement(n: Int): Any
- Definition Classes
- Product10 → Product
- Annotations
- @throws( ... )
-
def
productIterator: Iterator[Any]
- Definition Classes
- Product
-
def
productPrefix: String
- Definition Classes
- Span → Product
-
def
setField(_blob: TFieldBlob): Span
Sets a field using a TCompactProtocol-encoded binary blob.
Sets a field using a TCompactProtocol-encoded binary blob. If the field is a known field, the blob is decoded and the field is set to the decoded value. If the field is unknown and passthrough fields are enabled, then the blob will be stored in _passthroughFields.
- Definition Classes
- Span
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val timestamp: Option[Long]
-
def
toString(): String
- Definition Classes
- Span → AnyRef → Any
-
def
toTuple: (Long, String, Long, Option[Long], Seq[Annotation], Seq[BinaryAnnotation], Boolean, Option[Long], Option[Long], Option[Long])
- Definition Classes
- Span
- val traceId: Long
- val traceIdHigh: Option[Long]
-
def
unsetAnnotations: Span
- Definition Classes
- Span
-
def
unsetBinaryAnnotations: Span
- Definition Classes
- Span
-
def
unsetDebug: Span
- Definition Classes
- Span
-
def
unsetDuration: Span
- Definition Classes
- Span
-
def
unsetField(_fieldId: Short): Span
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- Span
-
def
unsetId: Span
- Definition Classes
- Span
-
def
unsetName: Span
- Definition Classes
- Span
-
def
unsetParentId: Span
- Definition Classes
- Span
-
def
unsetTimestamp: Span
- Definition Classes
- Span
-
def
unsetTraceId: Span
If the specified field is optional, it is set to None.
If the specified field is optional, it is set to None. Otherwise, if the field is known, it is reverted to its default value; if the field is unknown, it is removed from the passthroughFields map, if present.
- Definition Classes
- Span
-
def
unsetTraceIdHigh: Span
- Definition Classes
- Span
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
write(_oprot: TProtocol): Unit
- Definition Classes
- Span → ThriftStruct