sqlest.extractor

MappedExtractor

Related Doc: package extractor

case class MappedExtractor[Row, A, B](inner: Extractor[Row, A], func: (A) ⇒ B, unapplyMethod: Option[(B) ⇒ Option[Any]] = None) extends Extractor[Row, B] with SimpleExtractor[Row, B] with SingleRowExtractor[Row, B] with Product with Serializable

An extractor that behaves as inner but pipes its emitted values through func.

Linear Supertypes
Serializable, Serializable, Product, Equals, SingleRowExtractor[Row, B], SimpleExtractor[Row, B], Extractor[Row, B], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MappedExtractor
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. SingleRowExtractor
  7. SimpleExtractor
  8. Extractor
  9. AnyRef
  10. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MappedExtractor(inner: Extractor[Row, A], func: (A) ⇒ B, unapplyMethod: Option[(B) ⇒ Option[Any]] = None)

Type Members

  1. type Accumulator = Extractor.Accumulator

    Definition Classes
    MappedExtractorExtractor
  2. type SingleResult = B

    Definition Classes
    SimpleExtractor

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. def accumulate(accumulator: Extractor.Accumulator, row: Row): Extractor.Accumulator

    Definition Classes
    MappedExtractorExtractor
  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def asList: ListMultiRowExtractor[Row, B]

    Definition Classes
    SingleRowExtractor
  7. def asOption: OptionExtractor[Row, B]

    Definition Classes
    Extractor
  8. def checkNullValueAndGet[T](t: Option[T]): T

    Attributes
    protected
    Definition Classes
    Extractor
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def emit(accumulator: Extractor.Accumulator): Option[B]

    Definition Classes
    MappedExtractorExtractor
  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def extractAll(rows: Iterable[Row]): List[B]

    Definition Classes
    SimpleExtractor
  13. def extractHeadOption(rows: Iterable[Row]): Option[B]

    Definition Classes
    SimpleExtractor
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. val func: (A) ⇒ B

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

    Definition Classes
    AnyRef → Any
  17. def groupBy[B](groupBy: Extractor[Row, B]): GroupedExtractor[Row, B, B]

    Definition Classes
    SimpleExtractor
  18. def initialize(row: Row): Extractor.Accumulator

    Definition Classes
    MappedExtractorExtractor
  19. val inner: Extractor[Row, A]

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def map[B](func: (B) ⇒ B, unapplyFunc: (B) ⇒ Option[Any]): MappedExtractor[Row, B, B]

    Definition Classes
    Extractor
  22. def map[B](func: (B) ⇒ B): MappedExtractor[Row, B, B]

    Definition Classes
    Extractor
  23. final def ne(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef
  27. val unapplyMethod: Option[(B) ⇒ Option[Any]]

  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from SingleRowExtractor[Row, B]

Inherited from SimpleExtractor[Row, B]

Inherited from Extractor[Row, B]

Inherited from AnyRef

Inherited from Any

Ungrouped