object AkkaStream
Anorm companion for the http://doc.akka.io/docs/akka/2.4.4/scala/stream/.
- Alphabetic
- By Inheritance
- AkkaStream
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
source(sql: ⇒ Sql)(implicit m: Materializer, connnection: Connection): Source[Row, Future[Int]]
Returns the result rows from the
sql
query as an enumerator.Returns the result rows from the
sql
query as an enumerator. This is equivalent tosource[Row](sql, RowParser.successful, ColumnAliaser.empty)
.It materializes a scala.concurrent.Future of scala.Int containing the number of rows read from the source upon completion, and a possible exception if row parsing failed.
- sql
the SQL query
- m
the stream materializer
-
def
source(sql: ⇒ Sql, as: ColumnAliaser)(implicit m: Materializer, connnection: Connection): Source[Row, Future[Int]]
Returns the result rows from the
sql
query as an enumerator.Returns the result rows from the
sql
query as an enumerator. This is equivalent tosource[Row](sql, RowParser.successful, as)
.It materializes a scala.concurrent.Future of scala.Int containing the number of rows read from the source upon completion, and a possible exception if row parsing failed.
- sql
the SQL query
- as
the column aliaser
- m
the stream materializer
-
def
source[T](sql: ⇒ Sql, parser: RowParser[T])(implicit m: Materializer, con: Connection): Source[T, Future[Int]]
Returns the rows parsed from the
sql
query as a reactive source.Returns the rows parsed from the
sql
query as a reactive source.It materializes a scala.concurrent.Future of scala.Int containing the number of rows read from the source upon completion, and a possible exception if row parsing failed.
- T
the type of the result elements
- sql
the SQL query
- parser
the result (row) parser
- m
the stream materializer
- Annotations
- @SuppressWarnings()
-
def
source[T](sql: ⇒ Sql, parser: RowParser[T], as: ColumnAliaser)(implicit m: Materializer, con: Connection): Source[T, Future[Int]]
Returns the rows parsed from the
sql
query as a reactive source.Returns the rows parsed from the
sql
query as a reactive source.It materializes a scala.concurrent.Future of scala.Int containing the number of rows read from the source upon completion, and a possible exception if row parsing failed.
- T
the type of the result elements
- sql
the SQL query
- parser
the result (row) parser
- as
the column aliaser
- m
the stream materializer
- Annotations
- @SuppressWarnings()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )