PreparedQuery

A prepared query.

@author <a href="mailto:julien@julienviet.com">Julien Viet</a>

Members

Functions

batch
PreparedQuery batch(List!(Tuple) argsList, RowSetHandler handler)

Execute a batch.

close
void close()

Close the prepared query and release its resources.

close
void close(AsyncVoidHandler completionHandler)

Like {@link #close()} but notifies the {@code completionHandler} when it's closed.

cursor
Cursor cursor()

@return create a query cursor with a {@code fetch} size and empty arguments

cursor
Cursor cursor(Tuple args)

Create a cursor with the provided {@code arguments}.

execute
PreparedQuery execute(RowSetHandler handler)

Calls {@link #execute(Tuple, Handler)} with an empty tuple argument.

execute
PreparedQuery execute(Tuple args, RowSetHandler handler)

Create a cursor with the provided {@code arguments}.

getPreparedStatement
PreparedStatement getPreparedStatement()
Undocumented in source.

Meta