Packages

class PreparedQuery extends AnyRef

A prepared query.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PreparedQuery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PreparedQuery(_asJava: AnyRef)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asJava: AnyRef
  6. def batch(argsList: Buffer[Tuple], handler: Handler[AsyncResult[RowSet[Row]]]): PreparedQuery

    Execute a batch.

    Execute a batch. * @param argsList the list of tuple for the batch

    returns

    the createBatch

  7. def batchFuture(argsList: Buffer[Tuple]): Future[RowSet[Row]]

    Like batch but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def close(completionHandler: Handler[AsyncResult[Unit]]): Unit

    Like io.vertx.scala.sqlclient.PreparedQuery#close but notifies the completionHandler when it's closed.

  10. def close(): Unit

    Close the prepared query and release its resources.

  11. def closeFuture(): Future[Unit]

    Like close but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  12. def createStream(fetch: Int, args: Tuple): RowStream[Row]

    Execute the prepared query with a cursor and createStream the result.

    Execute the prepared query with a cursor and createStream the result. The createStream opens a cursor with a fetch size to fetch the results.

    Note: this requires to be in a transaction, since cursors require it. * @param fetch the cursor fetch size

    args

    the prepared query arguments

    returns

    the createStream

  13. def cursor(args: Tuple): Cursor

    Create a cursor with the provided arguments.

    Create a cursor with the provided arguments. * @param args the list of arguments

    returns

    the query

  14. def cursor(): Cursor

    returns

    create a query cursor with a fetch size and empty arguments

  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. def execute(args: Tuple, handler: Handler[AsyncResult[RowSet[Row]]]): PreparedQuery

    Create a cursor with the provided arguments.

    Create a cursor with the provided arguments. * @param args the list of arguments

    returns

    the query

  18. def execute(handler: Handler[AsyncResult[RowSet[Row]]]): PreparedQuery

    Calls io.vertx.scala.sqlclient.PreparedQuery#execute with an empty tuple argument.

  19. def executeFuture(args: Tuple): Future[RowSet[Row]]

    Like execute but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  20. def executeFuture(): Future[RowSet[Row]]

    Like execute but returns a scala.concurrent.Future instead of taking an AsyncResultHandler.

  21. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped