Class ExtendedQueryCommand<R>
java.lang.Object
io.vertx.sqlclient.spi.protocol.CommandBase<Boolean>
io.vertx.sqlclient.spi.protocol.QueryCommandBase<R>
io.vertx.sqlclient.spi.protocol.ExtendedQueryCommand<R>
- Author:
- Julien Viet
-
Method Summary
Modifier and TypeMethodDescriptionstatic <R> ExtendedQueryCommand<R> createBatch(String sql, PrepareOptions options, io.vertx.sqlclient.internal.PreparedStatement ps, List<Tuple> tuples, boolean autoCommit, Collector<Row, ?, R> collector, io.vertx.sqlclient.internal.QueryResultHandler<R> resultHandler) static <R> ExtendedQueryCommand<R> createQuery(String sql, PrepareOptions options, io.vertx.sqlclient.internal.PreparedStatement ps, Tuple tuple, boolean autoCommit, Collector<Row, ?, R> collector, io.vertx.sqlclient.internal.QueryResultHandler<R> resultHandler) static <R> ExtendedQueryCommand<R> createQuery(String sql, PrepareOptions options, io.vertx.sqlclient.internal.PreparedStatement ps, Tuple tuple, int fetch, String cursorId, boolean suspended, boolean autoCommit, Collector<Row, ?, R> collector, io.vertx.sqlclient.internal.QueryResultHandler<R> resultHandler) cursorId()intfetch()booleanisBatch()booleanoptions()io.vertx.sqlclient.internal.TupleBaseparams()List<io.vertx.sqlclient.internal.TupleBase> prepare(io.vertx.sqlclient.internal.PreparedStatement ps) Prepare and validate the tuple.io.vertx.sqlclient.internal.PreparedStatementsql()Methods inherited from class QueryCommandBase
autoCommit, collector, resultHandler
-
Method Details
-
createQuery
public static <R> ExtendedQueryCommand<R> createQuery(String sql, PrepareOptions options, io.vertx.sqlclient.internal.PreparedStatement ps, Tuple tuple, boolean autoCommit, Collector<Row, ?, R> collector, io.vertx.sqlclient.internal.QueryResultHandler<R> resultHandler) -
createQuery
public static <R> ExtendedQueryCommand<R> createQuery(String sql, PrepareOptions options, io.vertx.sqlclient.internal.PreparedStatement ps, Tuple tuple, int fetch, String cursorId, boolean suspended, boolean autoCommit, Collector<Row, ?, R> collector, io.vertx.sqlclient.internal.QueryResultHandler<R> resultHandler) -
createBatch
public static <R> ExtendedQueryCommand<R> createBatch(String sql, PrepareOptions options, io.vertx.sqlclient.internal.PreparedStatement ps, List<Tuple> tuples, boolean autoCommit, Collector<Row, ?, R> collector, io.vertx.sqlclient.internal.QueryResultHandler<R> resultHandler) -
options
-
prepare
Prepare and validate the tuple.- Returns:
nullif the tuple preparation was successfull otherwise the validation error
-
isBatch
public boolean isBatch() -
paramsList
- Returns:
- the list of parameters for batch execution
-
parameterTypes
-
params
public io.vertx.sqlclient.internal.TupleBase params()- Returns:
- the parameters for query execution
-
preparedStatement
public io.vertx.sqlclient.internal.PreparedStatement preparedStatement() -
fetch
public int fetch() -
cursorId
-
isSuspended
public boolean isSuspended() -
sql
- Specified by:
sqlin classQueryCommandBase<R>
-