Object

doobie.hi

resultset

Related Doc: package hi

Permalink

object resultset

Module of high-level constructors for ResultSetIO actions.

Source
resultset.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. resultset
  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. implicit val CatchableResultSetIO: Suspendable[free.resultset.ResultSetIO] with Catchable[free.resultset.ResultSetIO]

    Permalink

  5. def absolute(row: Int): ResultSetIO[Boolean]

    Permalink

  6. def accumulate[G[_], A](implicit arg0: MonadCombine[G], arg1: Composite[A]): ResultSetIO[G[A]]

    Permalink

    Like getNext but loops until the end of the resultset, gathering results in a MonadPlus.

  7. val afterLast: ResultSetIO[Unit]

    Permalink

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. val beforeFirst: ResultSetIO[Unit]

    Permalink

  10. def build[F[_], A](implicit C: CanBuildFrom[Nothing, A, F[A]], A: Composite[A]): ResultSetIO[F[A]]

    Permalink

    Consumes the remainder of the resultset, reading each row as a value of type A and accumulating them in a standard library collection via CanBuildFrom.

  11. def buildMap[F[_], A, B](f: (A) ⇒ B)(implicit C: CanBuildFrom[Nothing, B, F[B]], A: Composite[A]): ResultSetIO[F[B]]

    Permalink

    Consumes the remainder of the resultset, reading each row as a value of type A, mapping to B, and accumulating them in a standard library collection via CanBuildFrom.

    Consumes the remainder of the resultset, reading each row as a value of type A, mapping to B, and accumulating them in a standard library collection via CanBuildFrom. This unusual constructor is a workaround for the CanBuildFrom not having a sensible contravariant functor instance.

  12. val cancelRowUpdates: ResultSetIO[Unit]

    Permalink

  13. val clearWarnings: ResultSetIO[Unit]

    Permalink

  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def delay[A](a: ⇒ A): ResultSetIO[A]

    Permalink

    Non-strict unit for capturing effects.

  16. val deleteRow: ResultSetIO[Unit]

    Permalink

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. val first: ResultSetIO[Boolean]

    Permalink

  21. def get[A](implicit A: Composite[A]): ResultSetIO[A]

    Permalink

    Read a value of type A starting at column 1.

  22. def get[A](n: Int)(implicit A: Composite[A]): ResultSetIO[A]

    Permalink

    Read a value of type A starting at column n.

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

    Permalink
    Definition Classes
    AnyRef → Any
  24. val getFetchDirection: ResultSetIO[FetchDirection]

    Permalink

  25. val getFetchSize: ResultSetIO[Int]

    Permalink

  26. val getHoldability: ResultSetIO[Holdability]

    Permalink

  27. val getMetaData: ResultSetIO[ResultSetMetaData]

    Permalink

  28. def getNext[A](implicit arg0: Composite[A]): ResultSetIO[Option[A]]

    Permalink

    Similar to next >> get but lifted into Option; returns None when no more rows are available.

  29. def getNextChunk[A](chunkSize: Int)(implicit arg0: Composite[A]): ResultSetIO[Seq[A]]

    Permalink

    Similar to getNext but reads chunkSize rows at a time (the final chunk in a resultset may be smaller).

    Similar to getNext but reads chunkSize rows at a time (the final chunk in a resultset may be smaller). A non-positive chunkSize yields an empty Seq and consumes no rows. This method delegates to getNextChunkV and widens to Seq for easier interoperability with streaming libraries that like Seq better.

  30. def getNextChunkV[A](chunkSize: Int)(implicit A: Composite[A]): ResultSetIO[Vector[A]]

    Permalink

    Similar to getNext but reads chunkSize rows at a time (the final chunk in a resultset may be smaller).

    Similar to getNext but reads chunkSize rows at a time (the final chunk in a resultset may be smaller). A non-positive chunkSize yields an empty Vector and consumes no rows.

  31. def getOption[A](implicit arg0: Composite[A]): ResultSetIO[Option[A]]

    Permalink

    Equivalent to getNext, but verifies that there is at most one row remaining.

    Equivalent to getNext, but verifies that there is at most one row remaining.

    Exceptions thrown

    `UnexpectedContinuation` if there is more than one row remaining

  32. val getRow: ResultSetIO[Int]

    Permalink

  33. def getUnique[A](implicit arg0: Composite[A]): ResultSetIO[A]

    Permalink

    Equivalent to getNext, but verifies that there is exactly one row remaining.

    Equivalent to getNext, but verifies that there is exactly one row remaining.

    Exceptions thrown

    `UnexpectedCursorPosition` if there is not exactly one row remaining

  34. val getWarnings: ResultSetIO[Option[SQLWarning]]

    Permalink

  35. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  36. val insertRow: ResultSetIO[Unit]

    Permalink

  37. val isAfterLast: ResultSetIO[Boolean]

    Permalink

  38. val isBeforeFirst: ResultSetIO[Boolean]

    Permalink

  39. val isFirst: ResultSetIO[Boolean]

    Permalink

  40. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  41. val isLast: ResultSetIO[Boolean]

    Permalink

  42. val last: ResultSetIO[Boolean]

    Permalink

  43. def list[A](implicit arg0: Composite[A]): ResultSetIO[List[A]]

    Permalink

    Consumes the remainder of the resultset, reading each row as a value of type A and accumulating them in a List.

  44. val moveToCurrentRow: ResultSetIO[Unit]

    Permalink

  45. val moveToInsertRow: ResultSetIO[Unit]

    Permalink

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

    Permalink
    Definition Classes
    AnyRef
  47. def nel[A](implicit arg0: Composite[A]): ResultSetIO[NonEmptyList[A]]

    Permalink

    Consumes the remainder of the resultset, but verifies that there is at least one row remaining.

    Consumes the remainder of the resultset, but verifies that there is at least one row remaining.

    Exceptions thrown

    `UnexpectedEnd` if there is not at least one row remaining

  48. val next: ResultSetIO[Boolean]

    Permalink

  49. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  51. val previous: ResultSetIO[Boolean]

    Permalink

  52. def process[A](chunkSize: Int)(implicit arg0: Composite[A]): Stream[ResultSetIO, A]

    Permalink

    Process that reads from the ResultSet and returns a stream of As.

    Process that reads from the ResultSet and returns a stream of As. This is the preferred mechanism for dealing with query results.

  53. val refreshRow: ResultSetIO[Unit]

    Permalink

  54. def relative(n: Int): ResultSetIO[Boolean]

    Permalink

  55. val rowDeleted: ResultSetIO[Boolean]

    Permalink

  56. val rowInserted: ResultSetIO[Boolean]

    Permalink

  57. val rowUpdated: ResultSetIO[Boolean]

    Permalink

  58. def setFetchDirection(fd: FetchDirection): ResultSetIO[Unit]

    Permalink

  59. def setFetchSize(n: Int): ResultSetIO[Unit]

    Permalink

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  62. def update[A](a: A)(implicit A: Composite[A]): ResultSetIO[Unit]

    Permalink

    Updates a value of type A starting at column 1.

  63. def update[A](n: Int, a: A)(implicit A: Composite[A]): ResultSetIO[Unit]

    Permalink

    Updates a value of type A starting at column n.

  64. def vector[A](implicit arg0: Composite[A]): ResultSetIO[Vector[A]]

    Permalink

    Consumes the remainder of the resultset, reading each row as a value of type A and accumulating them in a Vector.

  65. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Constructors (Lifting)

Cursor Control

Properties

Results

Typeclass Instances

Updating

Warnings

Ungrouped