object PartialTransformer
- Alphabetic
- By Inheritance
- PartialTransformer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
def
apply[From, To](f: (From) ⇒ Result[To]): PartialTransformer[From, To]
Construct ad-hoc instance of partial transformer from transforming function returning partial result.
Construct ad-hoc instance of partial transformer from transforming function returning partial result.
- From
type of input value
- To
type of output value
- f
transforming function returning partial result
- returns
io.scalaland.chimney.PartialTransformer type class instance
- Since
0.7.0
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
define[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
-
implicit macro
def
derive[From, To]: PartialTransformer[From, To]
Provides io.scalaland.chimney.PartialTransformer derived with the default settings.
Provides io.scalaland.chimney.PartialTransformer 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.PartialTransformer type class definition
- Since
0.7.0
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fromFunction[From, To](f: (From) ⇒ To): PartialTransformer[From, To]
Construct ad-hoc instance of partial transformer from transforming function returning target value.
Construct ad-hoc instance of partial transformer from transforming function returning target value.
- From
type of input value
- To
type of output value
- f
transforming function returning target value
- returns
io.scalaland.chimney.PartialTransformer type class instance
- Since
0.7.0
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
liftTotal[From, To](t: Transformer[From, To]): PartialTransformer[From, To]
Lifts total transformer to partial transformer
Lifts total transformer to partial transformer
- From
type of input value
- To
type of output value
- t
instance of total transformer
- returns
io.scalaland.chimney.PartialTransformer type class instance
- Since
0.7.0
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated