object resultset
- Grouped
- Alphabetic
- By Inheritance
- resultset
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def absolute(row: Int): free.resultset.ResultSetIO[Boolean]
- def accumulate[G[_], A](implicit arg0: Alternative[G], arg1: util.Read[A]): free.resultset.ResultSetIO[G[A]]
Like
getNext
but loops until the end of the resultset, gathering results in aMonadPlus
. - val afterLast: free.resultset.ResultSetIO[Unit]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val beforeFirst: free.resultset.ResultSetIO[Unit]
- def build[F[_], A](implicit F: Factory[A, F[A]], A: util.Read[A]): free.resultset.ResultSetIO[F[A]]
Consumes the remainder of the resultset, reading each row as a value of type
A
and accumulating them in a standard library collection viaCanBuildFrom
.Consumes the remainder of the resultset, reading each row as a value of type
A
and accumulating them in a standard library collection viaCanBuildFrom
.- Annotations
- @SuppressWarnings()
- def buildMap[F[_], A, B](f: (A) => B)(implicit F: Factory[B, F[B]], A: util.Read[A]): free.resultset.ResultSetIO[F[B]]
Consumes the remainder of the resultset, reading each row as a value of type
A
, mapping toB
, and accumulating them in a standard library collection viaCanBuildFrom
.Consumes the remainder of the resultset, reading each row as a value of type
A
, mapping toB
, and accumulating them in a standard library collection viaCanBuildFrom
. This unusual constructor is a workaround for the CanBuildFrom not having a sensible contravariant functor instance.- Annotations
- @SuppressWarnings()
- def buildPair[F[_, _], A, B](implicit F: Factory[(A, B), F[A, B]], A: util.Read[(A, B)]): free.resultset.ResultSetIO[F[A, B]]
Consumes the remainder of the resultset, reading each row as a value of type
(A, B)
and accumulating them in a standard library collection viaCanBuildFrom
.Consumes the remainder of the resultset, reading each row as a value of type
(A, B)
and accumulating them in a standard library collection viaCanBuildFrom
.- Annotations
- @SuppressWarnings()
- val cancelRowUpdates: free.resultset.ResultSetIO[Unit]
- val clearWarnings: free.resultset.ResultSetIO[Unit]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def delay[A](a: => A): free.resultset.ResultSetIO[A]
Non-strict unit for capturing effects.
- val deleteRow: free.resultset.ResultSetIO[Unit]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val first: free.resultset.ResultSetIO[Boolean]
- def get[A](implicit A: util.Read[A]): free.resultset.ResultSetIO[A]
Read a value of type
A
. - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val getFetchDirection: free.resultset.ResultSetIO[FetchDirection]
- val getFetchSize: free.resultset.ResultSetIO[Int]
- val getHoldability: free.resultset.ResultSetIO[Holdability]
- val getMetaData: free.resultset.ResultSetIO[ResultSetMetaData]
- def getNext[A](implicit arg0: util.Read[A]): free.resultset.ResultSetIO[Option[A]]
Similar to
next >> get
but lifted intoOption
; returnsNone
when no more rows are available. - def getNextChunk[A](chunkSize: Int)(implicit arg0: util.Read[A]): free.resultset.ResultSetIO[Seq[A]]
Similar to
getNext
but readschunkSize
rows at a time (the final chunk in a resultset may be smaller).Similar to
getNext
but readschunkSize
rows at a time (the final chunk in a resultset may be smaller). A non-positivechunkSize
yields an emptySeq
and consumes no rows. This method delegates togetNextChunkV
and widens toSeq
for easier interoperability with streaming libraries that likeSeq
better. - def getNextChunkV[A](chunkSize: Int)(implicit A: util.Read[A]): free.resultset.ResultSetIO[Vector[A]]
Similar to
getNext
but readschunkSize
rows at a time (the final chunk in a resultset may be smaller).Similar to
getNext
but readschunkSize
rows at a time (the final chunk in a resultset may be smaller). A non-positivechunkSize
yields an emptyVector
and consumes no rows.- Annotations
- @SuppressWarnings()
- def getOption[A](implicit arg0: util.Read[A]): free.resultset.ResultSetIO[Option[A]]
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
doobie.util.invariant.UnexpectedContinuation
if there is more than one row remaining
- val getRow: free.resultset.ResultSetIO[Int]
- def getUnique[A](implicit arg0: util.Read[A]): free.resultset.ResultSetIO[A]
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
doobie.util.invariant.UnexpectedCursorPosition
if there is not exactly one row remaining
- val getWarnings: free.resultset.ResultSetIO[Option[SQLWarning]]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val insertRow: free.resultset.ResultSetIO[Unit]
- val isAfterLast: free.resultset.ResultSetIO[Boolean]
- val isBeforeFirst: free.resultset.ResultSetIO[Boolean]
- val isFirst: free.resultset.ResultSetIO[Boolean]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isLast: free.resultset.ResultSetIO[Boolean]
- val last: free.resultset.ResultSetIO[Boolean]
- def list[A](implicit arg0: util.Read[A]): free.resultset.ResultSetIO[List[A]]
Consumes the remainder of the resultset, reading each row as a value of type
A
and accumulating them in aList
. - val moveToCurrentRow: free.resultset.ResultSetIO[Unit]
- val moveToInsertRow: free.resultset.ResultSetIO[Unit]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nel[A](implicit arg0: util.Read[A]): free.resultset.ResultSetIO[NonEmptyList[A]]
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
doobie.util.invariant.UnexpectedEnd
if there is not at least one row remaining
- val next: free.resultset.ResultSetIO[Boolean]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val previous: free.resultset.ResultSetIO[Boolean]
- val refreshRow: free.resultset.ResultSetIO[Unit]
- def relative(n: Int): free.resultset.ResultSetIO[Boolean]
- val rowDeleted: free.resultset.ResultSetIO[Boolean]
- val rowInserted: free.resultset.ResultSetIO[Boolean]
- val rowUpdated: free.resultset.ResultSetIO[Boolean]
- def setFetchDirection(fd: FetchDirection): free.resultset.ResultSetIO[Unit]
- def setFetchSize(n: Int): free.resultset.ResultSetIO[Unit]
- def stream[A](chunkSize: Int)(implicit arg0: util.Read[A]): Stream[free.resultset.ResultSetIO, A]
Stream that reads from the
ResultSet
and returns a stream ofA
s.Stream that reads from the
ResultSet
and returns a stream ofA
s. This is the preferred mechanism for dealing with query results. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update[A](a: A)(implicit A: util.Write[A]): free.resultset.ResultSetIO[Unit]
Updates a value of type
A
. - def vector[A](implicit arg0: util.Read[A]): free.resultset.ResultSetIO[Vector[A]]
Consumes the remainder of the resultset, reading each row as a value of type
A
and accumulating them in aVector
. - final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated