TraceLens

implicit
class TraceLens[UpperPB](_l: Lens[UpperPB, Trace]) extends ObjectLens[UpperPB, Trace]
class ObjectLens[UpperPB, Trace]
trait Lens[UpperPB, Trace]
class Object
trait Matchable
class Any

Value members

Concrete methods

def cachePolicy: Lens[UpperPB, CachePolicy]
def clientAddress: Lens[UpperPB, String]
def clientName: Lens[UpperPB, String]
def clientReferenceId: Lens[UpperPB, String]
def clientVersion: Lens[UpperPB, String]
def details: Lens[UpperPB, Details]
def durationNs: Lens[UpperPB, Long]
def endTime: Lens[UpperPB, Timestamp]
def forbiddenOperation: Lens[UpperPB, Boolean]
def fullQueryCacheHit: Lens[UpperPB, Boolean]
def http: Lens[UpperPB, HTTP]
def legacySignatureNeedsResigning: Lens[UpperPB, String]
def optionalCachePolicy: Lens[UpperPB, Option[CachePolicy]]
def optionalDetails: Lens[UpperPB, Option[Details]]
def optionalEndTime: Lens[UpperPB, Option[Timestamp]]
def optionalHttp: Lens[UpperPB, Option[HTTP]]
def optionalQueryPlan: Lens[UpperPB, Option[QueryPlanNode]]
def optionalRoot: Lens[UpperPB, Option[Node]]
def optionalStartTime: Lens[UpperPB, Option[Timestamp]]
def persistedQueryHit: Lens[UpperPB, Boolean]
def persistedQueryRegister: Lens[UpperPB, Boolean]
def queryPlan: Lens[UpperPB, QueryPlanNode]
def registeredOperation: Lens[UpperPB, Boolean]
def root: Lens[UpperPB, Node]
def signature: Lens[UpperPB, String]
def startTime: Lens[UpperPB, Timestamp]
def unexecutedOperationBody: Lens[UpperPB, String]
def unexecutedOperationName: Lens[UpperPB, String]

Inherited methods

def :=(a: Trace): () => UpperPB

alias to set

alias to set

Inherited from
Lens
def compose[B](other: Lens[Trace, B]): Lens[UpperPB, B]

Composes two lenses, this enables nesting.

Composes two lenses, this enables nesting.

If our field of type A has a sub-field of type B, then given a lens for it (other: Lens[A, B]) we can create a single lens from Container to B.

Inherited from
Lens
def field[A](getter: Trace => A)(setter: (Trace, A) => Trace): Lens[UpperPB, A]

Creates a sub-lens

Creates a sub-lens

Inherited from
ObjectLens
def field[A](lens: Lens[Trace, A]): Lens[UpperPB, A]

Creates a sub-lens

Creates a sub-lens

Inherited from
ObjectLens
override
def get(u: UpperPB): Trace
Definition Classes
ObjectLens -> Lens
Inherited from
ObjectLens
def modify(f: Trace => Trace): () => UpperPB

Represent an update operator (like x.y += 1 )

Represent an update operator (like x.y += 1 )

Inherited from
Lens
override
def set(c: Trace): () => UpperPB
Definition Classes
ObjectLens -> Lens
Inherited from
ObjectLens
def setIfDefined(aOpt: Option[Trace]): () => UpperPB

Optional assignment.

Optional assignment.

Given a Some[A], assign the Some's value to the field. Given None, the container is unchanged.

Inherited from
Lens
def update(ms: Lens[Trace, Trace] => () => Trace*): () => UpperPB
Inherited from
ObjectLens
def zip[B](other: Lens[UpperPB, B]): Lens[UpperPB, (Trace, B)]

Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

Given two lenses with the same origin, returns a new lens that can mutate both values represented by both lenses through a tuple.

Inherited from
Lens