dev.constructive.eo.avro.AvroTraversal
See theAvroTraversal companion class
object AvroTraversal
Attributes
- Companion
- class
- Source
- AvroTraversal.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
AvroTraversal.type
Members list
Extensions
Extensions
extension [A](t: AvroTraversal[A])
transparent inline def field[B](inline selector: A => B)(using codecB: AvroCodec[B]): AvroTraversal[B]
.field(_.x) sugar — extend the suffix by a named field.
extension [A](t: AvroTraversal[A])
.fieldNamed[B]("schema_name") — drill by EXPLICIT schema field name (issue #35 escape hatch), the traversal counterpart of AvroPrism.fieldNamed.
.fieldNamed[B]("schema_name") — drill by EXPLICIT schema field name (issue #35 escape hatch), the traversal counterpart of AvroPrism.fieldNamed.
Attributes
- Source
- AvroTraversal.scala
extension [A](t: AvroTraversal[A])
.at(i) sugar — extend the suffix by an array index.
extension [A](t: AvroTraversal[A])
.union[Branch] — narrow the per-element focus to one union alternative.
.union[Branch] — narrow the per-element focus to one union alternative.
Attributes
- Source
- AvroTraversal.scala
extension [A](t: AvroTraversal[A])
.fields(_.a, _.b, ...) — focus a NamedTuple per element.
In this article