org.cg.monadic.transformer

Transformer

trait Transformer[OUT] extends LazyLogging

A monadic type transformer that can be used to chain in for-comprehension Implementations can be Case class so that parameters can be passed in class level

Self Type
Transformer[OUT]
Linear Supertypes
LazyLogging, Logging, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Transformer
  2. LazyLogging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def transform(): OUT

    Override to perform transformation and return the desired type

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  8. def filter(p: (OUT) ⇒ Boolean): Transformer[OUT]

    Shouldn't be required in for-comprehension Known issue: https://issues.

    Shouldn't be required in for-comprehension Known issue: https://issues.scala-lang.org/browse/SI-1336

  9. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def flatMap[NEXT](f: (OUT) ⇒ Transformer[NEXT]): Transformer[NEXT]

    monadic operation that can chain another transformer (will be called implicitly in for-comprehension )

  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    Transformer → LazyLogging → Logging
  15. def map[NEXT](f: (OUT) ⇒ NEXT): Transformer[NEXT]

    monadic operation that can yield the last transformer (will be called implicitly at the end of for-comprehension )

  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  20. def toString(): String

    Definition Classes
    AnyRef → Any
  21. def validateInput(): Unit

    Override this to do input validation

    Override this to do input validation

    Attributes
    protected
  22. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. def zip[ANOTHER_OUT](that: Transformer[ANOTHER_OUT]): Transformer[(OUT, ANOTHER_OUT)]

    can be used to chain transformers that can run in parallel

Inherited from LazyLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped