Skip navigation links
B C D E F G H M O Q R S T 

B

batch(SqlConsumer<PreparedStatement>) - Method in interface me.lucko.helper.sql.batch.BatchBuilder
Adds an additional handler to be executed when this batch is finished.
batch(String) - Method in class me.lucko.helper.sql.plugin.HelperSql
 
batch(SqlConsumer<PreparedStatement>) - Method in class me.lucko.helper.sql.plugin.HelperSqlBatchBuilder
 
batch(String) - Method in interface me.lucko.helper.sql.Sql
Gets a BatchBuilder for the provided statement.
BatchBuilder - Interface in me.lucko.helper.sql.batch
Represents a statement meant to be executed more than a single time.

C

close() - Method in class me.lucko.helper.sql.plugin.HelperSql
 

D

DatabaseCredentials - Class in me.lucko.helper.sql
Represents the credentials for a remote database.

E

enable() - Method in class me.lucko.helper.sql.plugin.HelperSqlPlugin
 
equals(Object) - Method in class me.lucko.helper.sql.DatabaseCredentials
 
execute() - Method in interface me.lucko.helper.sql.batch.BatchBuilder
Executes the statement for this batch, with the handlers used to prepare it.
execute(String, SqlConsumer<PreparedStatement>) - Method in class me.lucko.helper.sql.plugin.HelperSql
 
execute() - Method in class me.lucko.helper.sql.plugin.HelperSqlBatchBuilder
 
execute(String) - Method in interface me.lucko.helper.sql.Sql
Executes a database statement with no preparation.
execute(String, SqlConsumer<PreparedStatement>) - Method in interface me.lucko.helper.sql.Sql
Executes a database statement with preparation.
executeAsync() - Method in interface me.lucko.helper.sql.batch.BatchBuilder
Executes the statement for this batch, with the handlers used to prepare it.
executeAsync() - Method in class me.lucko.helper.sql.plugin.HelperSqlBatchBuilder
 
executeAsync(String) - Method in interface me.lucko.helper.sql.Sql
Executes a database statement with no preparation.
executeAsync(String, SqlConsumer<PreparedStatement>) - Method in interface me.lucko.helper.sql.Sql
Executes a database statement with preparation.
executeBatch(BatchBuilder) - Method in class me.lucko.helper.sql.plugin.HelperSql
 
executeBatch(BatchBuilder) - Method in interface me.lucko.helper.sql.Sql
Executes a batched database execution.
executeBatchAsync(BatchBuilder) - Method in interface me.lucko.helper.sql.Sql
Executes a batched database execution.

F

fromConfig(ConfigurationSection) - Static method in class me.lucko.helper.sql.DatabaseCredentials
 

G

getAddress() - Method in class me.lucko.helper.sql.DatabaseCredentials
 
getConnection() - Method in class me.lucko.helper.sql.plugin.HelperSql
 
getConnection() - Method in interface me.lucko.helper.sql.Sql
Gets a connection from the datasource.
getDatabase() - Method in class me.lucko.helper.sql.DatabaseCredentials
 
getGlobalCredentials() - Method in class me.lucko.helper.sql.plugin.HelperSqlPlugin
 
getGlobalCredentials() - Method in interface me.lucko.helper.sql.SqlProvider
Gets the global database credentials being used for the global datasource.
getHandlers() - Method in interface me.lucko.helper.sql.batch.BatchBuilder
Gets a Collection of handlers for this statement.
getHandlers() - Method in class me.lucko.helper.sql.plugin.HelperSqlBatchBuilder
 
getHikari() - Method in class me.lucko.helper.sql.plugin.HelperSql
 
getHikari() - Method in interface me.lucko.helper.sql.Sql
Gets the Hikari instance backing the datasource
getPassword() - Method in class me.lucko.helper.sql.DatabaseCredentials
 
getPort() - Method in class me.lucko.helper.sql.DatabaseCredentials
 
getSql() - Method in class me.lucko.helper.sql.plugin.HelperSqlPlugin
 
getSql(DatabaseCredentials) - Method in class me.lucko.helper.sql.plugin.HelperSqlPlugin
 
getSql() - Method in interface me.lucko.helper.sql.SqlProvider
Gets the global datasource.
getSql(DatabaseCredentials) - Method in interface me.lucko.helper.sql.SqlProvider
Constructs a new datasource using the given credentials.
getStatement() - Method in interface me.lucko.helper.sql.batch.BatchBuilder
Gets the statement to be executed when this batch is finished.
getStatement() - Method in class me.lucko.helper.sql.plugin.HelperSqlBatchBuilder
 
getUsername() - Method in class me.lucko.helper.sql.DatabaseCredentials
 

H

hashCode() - Method in class me.lucko.helper.sql.DatabaseCredentials
 
HelperSql - Class in me.lucko.helper.sql.plugin
 
HelperSql(DatabaseCredentials) - Constructor for class me.lucko.helper.sql.plugin.HelperSql
 
HelperSqlBatchBuilder - Class in me.lucko.helper.sql.plugin
 
HelperSqlBatchBuilder(Sql, String) - Constructor for class me.lucko.helper.sql.plugin.HelperSqlBatchBuilder
 
HelperSqlPlugin - Class in me.lucko.helper.sql.plugin
 
HelperSqlPlugin() - Constructor for class me.lucko.helper.sql.plugin.HelperSqlPlugin
 

M

me.lucko.helper.sql - package me.lucko.helper.sql
 
me.lucko.helper.sql.batch - package me.lucko.helper.sql.batch
 
me.lucko.helper.sql.plugin - package me.lucko.helper.sql.plugin
 

O

of(String, int, String, String, String) - Static method in class me.lucko.helper.sql.DatabaseCredentials
 

Q

query(String, SqlConsumer<PreparedStatement>, SqlFunction<ResultSet, R>) - Method in class me.lucko.helper.sql.plugin.HelperSql
 
query(String, SqlFunction<ResultSet, R>) - Method in interface me.lucko.helper.sql.Sql
Executes a database query with no preparation.
query(String, SqlConsumer<PreparedStatement>, SqlFunction<ResultSet, R>) - Method in interface me.lucko.helper.sql.Sql
Executes a database query with preparation.
queryAsync(String, SqlFunction<ResultSet, R>) - Method in interface me.lucko.helper.sql.Sql
Executes a database query with no preparation.
queryAsync(String, SqlConsumer<PreparedStatement>, SqlFunction<ResultSet, R>) - Method in interface me.lucko.helper.sql.Sql
Executes a database query with preparation.

R

reset() - Method in interface me.lucko.helper.sql.batch.BatchBuilder
Resets this BatchBuilder, making it possible to re-use for multiple situations.
reset() - Method in class me.lucko.helper.sql.plugin.HelperSqlBatchBuilder
 

S

Sql - Interface in me.lucko.helper.sql
Represents an individual SQL datasource, created by the library.
SqlProvider - Interface in me.lucko.helper.sql
Provides Sql instances.
stream() - Method in class me.lucko.helper.sql.plugin.HelperSql
 
stream() - Method in interface me.lucko.helper.sql.Sql
Gets a SqlStream instance for this Sql.

T

toString() - Method in class me.lucko.helper.sql.DatabaseCredentials
 
B C D E F G H M O Q R S T 
Skip navigation links

Copyright © 2019. All rights reserved.