io.scalaland.chimney.integrations

Members list

Type members

Classlikes

@FunctionalInterface
trait DefaultValue[Value]

Tells Chimney how to provide default value of type Value if flag allows them but field does not define it.

Tells Chimney how to provide default value of type Value if flag allows them but field does not define it.

Type parameters

Value

type of default value

Attributes

See also
Since

1.2.0

Supertypes
class Object
trait Matchable
class Any
trait OptionalValue[Optional, Value]

Tells Chimney how to interact with Optional type to align its behavior with Option of Value.

Tells Chimney how to interact with Optional type to align its behavior with Option of Value.

Type parameters

Optional

type storing optional Value - has to be proper type, not higher-kinded type

Value

type of internal value (if present)

Attributes

See also
Since

1.0.0

Supertypes
class Object
trait Matchable
class Any
trait PartialOuterTransformer[From, To, InnerFrom, InnerTo]

Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type sometimes cannot be constructed.

Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type sometimes cannot be constructed.

Type parameters

From

whole outer source type (with all possible type parameters applied)

InnerFrom

type of the value(s) inside From that Chimney can derive conversion from

InnerTo

type of the value(s) inside To that Chimney can derive conversion to

To

whole outer target type (with all possible type parameters applied)

Attributes

Since

1.5.0

Supertypes
class Object
trait Matchable
class Any
trait PartiallyBuildIterable[Collection, Item]

Tells Chimney how to interact with Collection type to align its behavior with e.g. NonEmpty* collections of Items.

Tells Chimney how to interact with Collection type to align its behavior with e.g. NonEmpty* collections of Items.

It's factory should perform validation of a collection once all its elements has been obtained.

Type parameters

Collection

type storing collection of Items - has to be proper type, not higher-kinded type

Item

type of internal items

Attributes

See also
Since

1.0.0

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait PartiallyBuildMap[Mapp, Key, Value]
trait PartiallyBuildMap[Mapp, Key, Value] extends PartiallyBuildIterable[Mapp, (Key, Value)]

Tells Chimney how to interact with Collection type to align its behavior with e.g. NonEmptyMap.

Tells Chimney how to interact with Collection type to align its behavior with e.g. NonEmptyMap.

It's factory should perform validation of a collection once all its elements has been obtained.

Type parameters

Key

type of internal keys

Mapp

type storing collection of Key-Value pairs - has to be proper type, not higher-kinded type

Value

type of internal values

Attributes

See also
Since

1.0.0

Supertypes
trait PartiallyBuildIterable[Mapp, (Key, Value)]
class Object
trait Matchable
class Any
trait TotalOuterTransformer[From, To, InnerFrom, InnerTo]

Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type can be always constructed.

Tells Chimney how to convert some outer types/wrappers/collections where conversions for their inner values/items could be derived, when the type can be always constructed.

Type parameters

From

whole outer source type (with all possible type parameters applied)

InnerFrom

type of the value(s) inside From that Chimney can derive conversion from

InnerTo

type of the value(s) inside To that Chimney can derive conversion to

To

whole outer target type (with all possible type parameters applied)

Attributes

Since

1.5.0

Supertypes
class Object
trait Matchable
class Any
trait TotallyBuildIterable[Collection, Item]

Tells Chimney how to interact with Collection type to align its behavior with Seq of Items.

Tells Chimney how to interact with Collection type to align its behavior with Seq of Items.

Type parameters

Collection

type storing collection of Items - has to be proper type, not higher-kinded type

Item

type of internal items

Attributes

See also
Since

1.0.0

Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait TotallyBuildMap[Mapp, Key, Value]
trait TotallyBuildMap[Mapp, Key, Value] extends TotallyBuildIterable[Mapp, (Key, Value)]

Tells Chimney how to interact with Collection type to align its behavior with e.g. Map.

Tells Chimney how to interact with Collection type to align its behavior with e.g. Map.

Type parameters

Key

type of internal keys

Mapp

type storing collection of Key-Value pairs - has to be proper type, not higher-kinded type

Value

type of internal values

Attributes

See also
Since

1.0.0

Supertypes
trait TotallyBuildIterable[Mapp, (Key, Value)]
class Object
trait Matchable
class Any