Object/Trait

com.lucidchart.open.relate

RowParser

Related Docs: trait RowParser | package relate

Permalink

object RowParser

The RowParser companion object allows creation of arbitrary RowParsers with its apply method.

import com.lucidchart.open.relate.RowParser

val rowParser = (row: SqlResult) =>
  (row.long("id"), row.string("name"))
}
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RowParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def bigInt(columnLabel: String): (SqlResult) ⇒ BigInt

    Permalink

    Shorthand for creating a RowParser that takes only a BigInt column from the result set

    Shorthand for creating a RowParser that takes only a BigInt column from the result set

    columnLabel

    the column name to extract

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def date(columnLabel: String): (SqlResult) ⇒ Date

    Permalink

    Shorthand for creating a RowParser that takes only a date column from the result set

    Shorthand for creating a RowParser that takes only a date column from the result set

    columnLabel

    the column name to extract

  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def int(columnLabel: String): (SqlResult) ⇒ Int

    Permalink

    Shorthand for creating a RowParser that takes only an int column from the result set

    Shorthand for creating a RowParser that takes only an int column from the result set

    columnLabel

    the column name to extract

  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def long(columnLabel: String): (SqlResult) ⇒ Long

    Permalink

    Shorthand for creating a RowParser that takes only a long column from the result set

    Shorthand for creating a RowParser that takes only a long column from the result set

    columnLabel

    the column name to extract

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def string(columnLabel: String): (SqlResult) ⇒ String

    Permalink

    Shorthand for creating a RowParser that takes only a string column from the result set

    Shorthand for creating a RowParser that takes only a string column from the result set

    columnLabel

    the column name to extract

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def apply[A](f: (SqlResult) ⇒ A): RowParser[A]

    Permalink

    Create a new RowParser by passing in a function that takes a SqlResult and returns a concrete type

    Create a new RowParser by passing in a function that takes a SqlResult and returns a concrete type

    f

    the function that will do the parsing

    Annotations
    @deprecated
    Deprecated

    (Since version 1.7.0) Use plain SqlResult => A instead

Inherited from AnyRef

Inherited from Any

Ungrouped