Packages

c

io.scalaland.chimney.syntax

TransformationMapPathOps

implicit final class TransformationMapPathOps[M[_, _], K, V] extends AnyVal

Allow key/value extraction from maps when selecting path to override in Chimney DSL.

M

type of the map

K

type of keys in the map

V

type of values in the map

Since

1.0.0

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TransformationMapPathOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new TransformationMapPathOps(cc: M[K, V])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def everyMapKey(implicit ev: Of[M[K, V], K, V]): K

    Allows paths like _.map.everyMapKey.field when selecting the target fields to override in Chimney DSL.

    Allows paths like _.map.everyMapKey.field when selecting the target fields to override in Chimney DSL.

    It can only be used within .withField* methods where the macros reads it and erases it from the final code!

    returns

    stubs a key extracted from the map

    Annotations
    @compileTimeOnly( ... )
    Since

    1.0.0

  6. def everyMapValue(implicit ev: Of[M[K, V], K, V]): V

    Allows paths like _.map.everyMapValue.field when selecting the target fields to override in Chimney DSL.

    Allows paths like _.map.everyMapValue.field when selecting the target fields to override in Chimney DSL.

    It can only be used within .withField* methods where the macros reads it and erases it from the final code!

    returns

    stubs a value extracted from the map

    Annotations
    @compileTimeOnly( ... )
    Since

    1.0.0

  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped