io.github.sinri.keel.mysql.statement.AbstractReadStatement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Keel Show documentation
Show all versions of Keel Show documentation
A website framework with VERT.X for ex-PHP-ers, exactly Ark Framework Users.
The newest version!
package io.github.sinri.keel.mysql.statement;
import io.github.sinri.keel.mysql.NamedMySQLConnection;
import io.github.sinri.keel.mysql.matrix.ResultRow;
import io.vertx.core.Future;
import io.vertx.sqlclient.SqlConnection;
import javax.annotation.Nonnull;
import java.util.List;
import java.util.Map;
import java.util.function.Function;
/**
* @since 1.10
*/
public abstract class AbstractReadStatement extends AbstractStatement {
/**
* @since 3.0.11
* @since 3.0.18 Finished Technical Preview.
*/
public Future queryForOneRow(@Nonnull NamedMySQLConnection namedMySQLConnection,@Nonnull Class classT) {
return queryForOneRow(namedMySQLConnection.getSqlConnection(), classT);
}
/**
* @since 3.0.11
* @since 3.0.18 Finished Technical Preview.
*/
public Future> queryForRowList(@Nonnull NamedMySQLConnection namedMySQLConnection, @Nonnull Class classT) {
return queryForRowList(namedMySQLConnection.getSqlConnection(), classT);
}
/**
* @since 3.0.11
* @since 3.0.18 Finished Technical Preview.
*/
public Future
© 2015 - 2024 Weber Informatics LLC | Privacy Policy