Instance Constructors
-
new
SqlResult(resultSet: ResultSet)
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
as[A]()(implicit arg0: RowParser[A]): A
-
def
asCollection[U, T[_]](parser: (SqlRow) ⇒ U, maxRows: Long)(implicit cbf: CanBuildFrom[T[U], U, T[U]]): T[U]
-
def
asCollection[U, T[_]](maxRows: Long)(implicit arg0: RowParser[U], cbf: CanBuildFrom[T[U], U, T[U]]): T[U]
-
def
asCollection[U, T[_]]()(implicit arg0: RowParser[U], cbf: CanBuildFrom[T[U], U, T[U]]): T[U]
-
def
asCollection[U, T[_]](parser: (SqlRow) ⇒ U)(implicit cbf: CanBuildFrom[T[U], U, T[U]]): T[U]
-
final
def
asInstanceOf[T0]: T0
-
def
asIterable[A](parser: (SqlRow) ⇒ A): Iterable[A]
-
def
asIterable[A]()(implicit arg0: RowParser[A]): Iterable[A]
-
def
asList[A](parser: (SqlRow) ⇒ A): List[A]
-
def
asList[A]()(implicit arg0: RowParser[A]): List[A]
-
def
asMap[U, V](parser: (SqlRow) ⇒ (U, V)): Map[U, V]
-
def
asMap[U, V]()(implicit p: RowParser[(U, V)]): Map[U, V]
-
def
asMultiMap[U, V](parser: (SqlRow) ⇒ (U, V)): Map[U, Set[V]]
-
def
asMultiMap[U, V]()(implicit p: RowParser[(U, V)]): Map[U, Set[V]]
-
def
asPairCollection[U, V, T[_, _]](parser: (SqlRow) ⇒ (U, V), maxRows: Long)(implicit cbf: CanBuildFrom[T[U, V], (U, V), T[U, V]]): T[U, V]
-
def
asPairCollection[U, V, T[_, _]](maxRows: Long)(implicit p: RowParser[(U, V)], cbf: CanBuildFrom[T[U, V], (U, V), T[U, V]]): T[U, V]
-
def
asPairCollection[U, V, T[_, _]](parser: (SqlRow) ⇒ (U, V))(implicit cbf: CanBuildFrom[T[U, V], (U, V), T[U, V]]): T[U, V]
-
def
asPairCollection[U, V, T[_, _]]()(implicit p: RowParser[(U, V)], cbf: CanBuildFrom[T[U, V], (U, V), T[U, V]]): T[U, V]
-
def
asScalar[A](): A
-
def
asScalarOption[A](): Option[A]
-
def
asSeq[A](parser: (SqlRow) ⇒ A): Seq[A]
-
def
asSeq[A]()(implicit arg0: RowParser[A]): Seq[A]
-
def
asSet[A](parser: (SqlRow) ⇒ A): Set[A]
-
def
asSet[A]()(implicit arg0: RowParser[A]): Set[A]
-
def
asSingle[A](parser: (SqlRow) ⇒ A): A
-
def
asSingle[A]()(implicit arg0: RowParser[A]): A
-
def
asSingleOption[A](parser: (SqlRow) ⇒ A): Option[A]
-
def
asSingleOption[A]()(implicit arg0: RowParser[A]): Option[A]
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
getMetaData(): ResultSetMetaData
-
def
hasColumn(column: String): Boolean
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
def
next(): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
val
resultSet: ResultSet
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
wasNull(): Boolean
-
def
withResultSet[A](f: (ResultSet) ⇒ A): A
Inherited from AnyRef
Inherited from Any
The SqlResult class is a wrapper around Java's ResultSet class.
It provides methods to allows users to retrieve specific columns by name and datatype, but also provides methods that can, given a RowParser, parse the entire result set as a collection of records returned by the parser. These methods are also defined in the Sql trait, and are most conveniently used when chained with parameter insertion. For how to do this, see the Sql trait documentation.
The extraction methods (int, string, long, etc.) also have "strict" counterparts. The "strict" methods are slightly faster, but do not do type checking or handle null values.