Object

doobie.hi

resultset

Related Doc: package hi

Permalink

object resultset

Module of high-level constructors for ResultSetIO actions.

Annotations
@SuppressWarnings()
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. def absolute(row: Int): hi.ResultSetIO[Boolean]

    Permalink

  5. def accumulate[G[_], A](implicit arg0: Alternative[G], arg1: util.composite.Composite[A]): hi.ResultSetIO[G[A]]

    Permalink

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

  6. val afterLast: hi.ResultSetIO[Unit]

    Permalink

  7. final def asInstanceOf[T0]: T0

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

    Permalink

  9. def build[F[_], A](implicit C: CanBuildFrom[Nothing, A, F[A]], A: util.composite.Composite[A]): hi.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.

    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.

    Annotations
    @SuppressWarnings()
  10. def buildMap[F[_], A, B](f: (A) ⇒ B)(implicit C: CanBuildFrom[Nothing, B, F[B]], A: util.composite.Composite[A]): hi.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.

    Annotations
    @SuppressWarnings()
  11. val cancelRowUpdates: hi.ResultSetIO[Unit]

    Permalink

  12. val clearWarnings: hi.ResultSetIO[Unit]

    Permalink

  13. def clone(): AnyRef

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

    Permalink

    Non-strict unit for capturing effects.

  15. val deleteRow: hi.ResultSetIO[Unit]

    Permalink

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

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

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

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

    Permalink

  20. def get[A](implicit A: util.composite.Composite[A]): hi.ResultSetIO[A]

    Permalink

    Read a value of type A starting at column 1.

  21. def get[A](n: Int)(implicit A: util.composite.Composite[A]): hi.ResultSetIO[A]

    Permalink

    Read a value of type A starting at column n.

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

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

    Permalink

  24. val getFetchSize: hi.ResultSetIO[Int]

    Permalink

  25. val getHoldability: hi.ResultSetIO[Holdability]

    Permalink

  26. val getMetaData: hi.ResultSetIO[ResultSetMetaData]

    Permalink

  27. def getNext[A](implicit arg0: util.composite.Composite[A]): hi.ResultSetIO[Option[A]]

    Permalink

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

  28. def getNextChunk[A](chunkSize: Int)(implicit arg0: util.composite.Composite[A]): hi.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.

  29. def getNextChunkV[A](chunkSize: Int)(implicit A: util.composite.Composite[A]): hi.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.

    Annotations
    @SuppressWarnings()
  30. def getOption[A](implicit arg0: util.composite.Composite[A]): hi.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

  31. val getRow: hi.ResultSetIO[Int]

    Permalink

  32. def getUnique[A](implicit arg0: util.composite.Composite[A]): hi.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

  33. val getWarnings: hi.ResultSetIO[Option[SQLWarning]]

    Permalink

  34. def hashCode(): Int

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

    Permalink

  36. val isAfterLast: hi.ResultSetIO[Boolean]

    Permalink

  37. val isBeforeFirst: hi.ResultSetIO[Boolean]

    Permalink

  38. val isFirst: hi.ResultSetIO[Boolean]

    Permalink

  39. final def isInstanceOf[T0]: Boolean

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

    Permalink

  41. val last: hi.ResultSetIO[Boolean]

    Permalink

  42. def list[A](implicit arg0: util.composite.Composite[A]): hi.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.

  43. val moveToCurrentRow: hi.ResultSetIO[Unit]

    Permalink

  44. val moveToInsertRow: hi.ResultSetIO[Unit]

    Permalink

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

    Permalink
    Definition Classes
    AnyRef
  46. def nel[A](implicit arg0: util.composite.Composite[A]): hi.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

  47. val next: hi.ResultSetIO[Boolean]

    Permalink

  48. final def notify(): Unit

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

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

    Permalink

  51. def process[A](chunkSize: Int)(implicit arg0: util.composite.Composite[A]): Stream[hi.ResultSetIO, A]

    Permalink

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

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

  52. val refreshRow: hi.ResultSetIO[Unit]

    Permalink

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

    Permalink

  54. val rowDeleted: hi.ResultSetIO[Boolean]

    Permalink

  55. val rowInserted: hi.ResultSetIO[Boolean]

    Permalink

  56. val rowUpdated: hi.ResultSetIO[Boolean]

    Permalink

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

    Permalink

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

    Permalink

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

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

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

    Permalink

    Updates a value of type A starting at column 1.

  62. def update[A](n: Int, a: A)(implicit A: util.composite.Composite[A]): hi.ResultSetIO[Unit]

    Permalink

    Updates a value of type A starting at column n.

  63. def vector[A](implicit arg0: util.composite.Composite[A]): hi.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.

  64. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Constructors (Lifting)

Cursor Control

Properties

Results

Updating

Warnings

Ungrouped