object Transformer extends TransformerCompanionPlatform
Companion of io.scalaland.chimney.Transformer.
- Since
0.2.0
- See also
https://chimney.readthedocs.io/supported-transformations/#total-transformers-vs-partialtransformers
- Alphabetic
- By Inheritance
- Transformer
- TransformerCompanionPlatform
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait AutoDerived[From, To] extends AnyRef
Type class used when you want o allow using automatically derived transformations.
Type class used when you want o allow using automatically derived transformations.
When we want to only allow semiautomatically derived/manually defined instances you should use io.scalaland.chimney.Transformer.
- From
type of input value
- To
type of output value
- Since
0.8.0
- See also
https://chimney.readthedocs.io/cookbook/#automatic-semiautomatic-and-inlined-derivation for more details
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def define[From, To]: TransformerDefinition[From, To, Empty, Default]
Creates an empty io.scalaland.chimney.dsl.TransformerDefinition that you can customize to derive io.scalaland.chimney.Transformer.
Creates an empty io.scalaland.chimney.dsl.TransformerDefinition that you can customize to derive io.scalaland.chimney.Transformer.
- From
type of input value
- To
type of output value
- returns
io.scalaland.chimney.dsl.TransformerDefinition with defaults
- Since
0.4.0
- See also
io.scalaland.chimney.dsl.TransformerDefinition for available settings
- def definePartial[From, To]: PartialTransformerDefinition[From, To, Empty, Default]
Creates an empty io.scalaland.chimney.dsl.PartialTransformerDefinition that you can customize to derive io.scalaland.chimney.PartialTransformer.
Creates an empty io.scalaland.chimney.dsl.PartialTransformerDefinition that you can customize to derive io.scalaland.chimney.PartialTransformer.
- From
type of input value
- To
type of output value
- returns
io.scalaland.chimney.dsl.PartialTransformerDefinition with defaults
- Since
0.7.0
- See also
io.scalaland.chimney.dsl.PartialTransformerDefinition for available settings
- macro def derive[From, To]: Transformer[From, To]
Provides io.scalaland.chimney.Transformer derived with the default settings.
Provides io.scalaland.chimney.Transformer derived with the default settings.
When transformation can't be derived, it results with compilation error.
- From
type of input value
- To
type of output value
- returns
io.scalaland.chimney.Transformer type class instance
- Definition Classes
- TransformerCompanionPlatform
- Since
0.2.0
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- object AutoDerived extends TransformerAutoDerivedCompanionPlatform
- Since
0.8.0