class Immutable extends BinaryAnnotation
The default read-only implementation of BinaryAnnotation. You typically should not need to directly reference this class; instead, use the BinaryAnnotation.apply method to construct new instances.
- Alphabetic
- By Inheritance
- Immutable
- BinaryAnnotation
- Serializable
- ValidatingThriftStruct
- HasThriftStructCodec3
- Product4
- Product
- Equals
- ThriftStruct
- ThriftStructIface
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Immutable(key: String, value: ByteBuffer, annotationType: AnnotationType, host: Option[Endpoint] = _root_.scala.None)
- new Immutable(key: String, value: ByteBuffer, annotationType: AnnotationType, host: Option[Endpoint], _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: String
- Definition Classes
- BinaryAnnotation → Product4
- def _2: ByteBuffer
- Definition Classes
- BinaryAnnotation → Product4
- def _3: AnnotationType
- Definition Classes
- BinaryAnnotation → Product4
- def _4: Option[Endpoint]
- Definition Classes
- BinaryAnnotation → Product4
- def _codec: ValidatingThriftStructCodec3[BinaryAnnotation]
- Definition Classes
- BinaryAnnotation → ValidatingThriftStruct → HasThriftStructCodec3
- val _passthroughFields: Map[Short, TFieldBlob]
- Definition Classes
- Immutable → BinaryAnnotation
- val annotationType: AnnotationType
- Definition Classes
- Immutable → BinaryAnnotation
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def canEqual(other: Any): Boolean
- Definition Classes
- BinaryAnnotation → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def copy(key: String = this.key, value: ByteBuffer = this.value, annotationType: AnnotationType = this.annotationType, host: Option[Endpoint] = this.host, _passthroughFields: Map[Short, TFieldBlob] = this._passthroughFields): BinaryAnnotation
- Definition Classes
- BinaryAnnotation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- BinaryAnnotation → Equals → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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
- BinaryAnnotation
- def getFieldBlobs(ids: TraversableOnce[Short]): Map[Short, TFieldBlob]
Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.Collects TCompactProtocol-encoded field values according to
getFieldBlob
into a map.- Definition Classes
- BinaryAnnotation
- def hashCode(): Int
- Definition Classes
- BinaryAnnotation → AnyRef → Any
- val host: Option[Endpoint]
The host that recorded tag, which allows you to differentiate between multiple tags with the same key.
The host that recorded tag, which allows you to differentiate between multiple tags with the same key. There are two exceptions to this.
When the key is CLIENT_ADDR or SERVER_ADDR, host indicates the source or destination of an RPC. This exception allows zipkin to display network context of uninstrumented services, or clients such as web browsers.
- Definition Classes
- Immutable → BinaryAnnotation
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val key: String
- Definition Classes
- Immutable → BinaryAnnotation
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newBuilder(): StructBuilder[BinaryAnnotation]
- Definition Classes
- BinaryAnnotation
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productArity: Int
- Definition Classes
- Product4 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product4 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def productPrefix: String
- Definition Classes
- BinaryAnnotation → Product
- def setField(_blob: TFieldBlob): BinaryAnnotation
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
- BinaryAnnotation
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- BinaryAnnotation → AnyRef → Any
- def toTuple: (String, ByteBuffer, AnnotationType, Option[Endpoint])
- Definition Classes
- BinaryAnnotation
- def unsetAnnotationType: BinaryAnnotation
- Definition Classes
- BinaryAnnotation
- def unsetField(_fieldId: Short): BinaryAnnotation
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
- BinaryAnnotation
- def unsetHost: BinaryAnnotation
- Definition Classes
- BinaryAnnotation
- def unsetKey: BinaryAnnotation
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
- BinaryAnnotation
- def unsetValue: BinaryAnnotation
- Definition Classes
- BinaryAnnotation
- val value: ByteBuffer
- Definition Classes
- Immutable → BinaryAnnotation
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def write(_oprot: TProtocol): Unit
- Definition Classes
- BinaryAnnotation → ThriftStruct