package io.vertx.sqlclient.impl.command;
import io.vertx.sqlclient.Row;
import io.vertx.sqlclient.Tuple;
import io.vertx.sqlclient.impl.PreparedStatement;
import io.vertx.sqlclient.impl.QueryResultHandler;
import java.util.stream.Collector;
public class ExtendedQueryCommand<T> extends ExtendedQueryCommandBase<T> {
private final Tuple params;
public ExtendedQueryCommand(PreparedStatement ps,
Tuple params,
boolean singleton,
Collector<Row, ?, T> collector,
QueryResultHandler<T> resultHandler) {
this(ps, params, 0, null, false, singleton, collector, resultHandler);
}
public ExtendedQueryCommand(PreparedStatement ps,
Tuple params,
int fetch,
String cursorId,
boolean suspended,
boolean singleton,
Collector<Row, ?, T> collector,
QueryResultHandler<T> resultHandler) {
super(ps, fetch, cursorId, suspended, singleton, collector, resultHandler);
this.params = params;
}
public Tuple params() {
return params;
}
}