All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rx.jdbc.JdbcExecutable Maven / Gradle / Ivy

package org.rx.jdbc;

import lombok.NonNull;
import org.rx.bean.$;
import org.rx.util.function.BiFunc;

import java.sql.ResultSet;
import java.util.List;

public interface JdbcExecutable {
    ResultSet executeQuery(String sql, Object[] params);

    ResultSet executeQuery(String sql, Object[] params, long executeTimeoutMillis);

     T executeQuery(String sql, Object[] params, BiFunc func);

     T executeQuery(String sql, Object[] params, BiFunc func, long executeTimeoutMillis);

    int execute(String sql, Object[] params);

    int execute(String sql, Object[] params, long executeTimeoutMillis);

    int execute(String sql, Object[] params, int generatedKeys, $ lastInsertId);

    int execute(String sql, Object[] params, long executeTimeoutMillis, int generatedKeys, $ lastInsertId);

    int[] executeBatch(String sql, List batchParams);

    int[] executeBatch(String sql, @NonNull List batchParams, long executeTimeoutMillis);

    ResultSet executeQuery(String sql);

    ResultSet executeQuery(String sql, long executeTimeoutMillis);

     T executeQuery(String sql, BiFunc func);

     T executeQuery(String sql, BiFunc func, long executeTimeoutMillis);

    int execute(String sql);

    int execute(String sql, long executeTimeoutMillis);

    int execute(String sql, int generatedKeys, $ lastInsertId);

    int execute(String sql, long executeTimeoutMillis, int generatedKeys, $ lastInsertId);

    int[] executeBatch(List batchSql);

    int[] executeBatch(@NonNull List batchSql, long executeTimeoutMillis);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy