SpanValue

org.llm4s.trace.model.SpanValue
See theSpanValue companion object
sealed trait SpanValue extends Product, Serializable

Typed value stored in a span's attribute map.

Use the as* accessors (via SpanValueOps) to safely extract a specific type.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes

Members list

Value members

Concrete methods

def asBoolean: Option[Boolean]
Implicitly added by SpanValueOps
def asDouble: Option[Double]
Implicitly added by SpanValueOps
def asLong: Option[Long]
Implicitly added by SpanValueOps
def asString: Option[String]
Implicitly added by SpanValueOps
def asStringList: Option[List[String]]
Implicitly added by SpanValueOps

Inherited methods

def productElementName(n: Int): String

Attributes

Inherited from:
Product
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def productPrefix: String

Attributes

Inherited from:
Product

Inherited and Abstract methods

def canEqual(that: Any): Boolean

Attributes

Inherited from:
Equals
def productArity: Int

Attributes

Inherited from:
Product
def productElement(n: Int): Any

Attributes

Inherited from:
Product

Concrete fields

val sv: SpanValue
Implicitly added by SpanValueOps