Skip navigation links
A B C E F G H I L M N P Q R S T U V W 

A

accept(T) - Method in interface be.bendem.sqlstreams.util.SqlConsumer
Performs this operation on the given argument.
apply(T1, T2) - Method in interface be.bendem.sqlstreams.util.SqlBiFunction
Applies this function to the given arguments.
apply(T) - Method in interface be.bendem.sqlstreams.util.SqlFunction
Applies this function to the given argument.

B

BatchUpdate - Interface in be.bendem.sqlstreams
 
batchUpdate(String) - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
batchUpdate(String) - Method in interface be.bendem.sqlstreams.SqlStream
Prepares a DML statement to provide it multiple batches of parameters.
be.bendem.sqlstreams - package be.bendem.sqlstreams
This package contains the public API for the sql-streams package.
be.bendem.sqlstreams.impl - package be.bendem.sqlstreams.impl
 
be.bendem.sqlstreams.util - package be.bendem.sqlstreams.util
 
bind(Statement, Object[], int) - Method in class be.bendem.sqlstreams.impl.SqlBindings
 
bind(PreparedStatement, int, T) - Method in class be.bendem.sqlstreams.impl.SqlBindings
 
bind(PreparedStatement, int, T) - Method in interface be.bendem.sqlstreams.PreparedStatementBinderByIndex
 
Bindings(ResultSetRetrieverByIndex<T>, ResultSetRetrieverByName<T>) - Constructor for class be.bendem.sqlstreams.impl.SqlBindings.Bindings
 

C

call(String) - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
call(String) - Method in interface be.bendem.sqlstreams.SqlStream
Prepares a call and provides it the given parameters.
close() - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
close() - Method in interface be.bendem.sqlstreams.SqlStream
Closes the underlying DataSource.
close() - Method in interface be.bendem.sqlstreams.StatementHolder
Closes the statement held by this object.
close() - Method in interface be.bendem.sqlstreams.Transaction
Closes the current transaction, rolling back any changes not committed.
close() - Method in interface be.bendem.sqlstreams.util.Closeable
 
close() - Method in class be.bendem.sqlstreams.util.SingleConnectionDataSource
 
Closeable - Interface in be.bendem.sqlstreams.util
 
closeConnectionAfterAction() - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
commit() - Method in interface be.bendem.sqlstreams.Transaction
Commits the current transaction.
connect(Connection) - Static method in interface be.bendem.sqlstreams.SqlStream
Constructs a SqlStream instance holding a single connection.
connect(DataSource) - Static method in interface be.bendem.sqlstreams.SqlStream
Constructs a SqlStream instance retrieving new Connections from the provided DataSource as needed.
count() - Method in interface be.bendem.sqlstreams.BatchUpdate
Executes the query and return the sum of the amount of rows modified by each batch.
count() - Method in interface be.bendem.sqlstreams.Update
Executes the query and return the amount of rows modified by this query.
counts() - Method in interface be.bendem.sqlstreams.BatchUpdate
Executes the query and return the amount of rows modified by this query.

E

exec(String, Object...) - Method in interface be.bendem.sqlstreams.SqlStream
Execute<Statement extends PreparedStatement> - Interface in be.bendem.sqlstreams
 
execute() - Method in interface be.bendem.sqlstreams.Execute
Executes this statement.
execute(String) - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
execute(String) - Method in interface be.bendem.sqlstreams.SqlStream
Prepares a query.
execute() - Method in interface be.bendem.sqlstreams.StatementHolder
Executes the statement held by this object.
execute() - Method in interface be.bendem.sqlstreams.util.SqlAction
Performs this action.
execute(SqlAction) - Static method in class be.bendem.sqlstreams.util.Wrap
Executes a possibly throwing code, wrapping any SQLException into a UncheckedSqlException.

F

first(SqlFunction<ResultSet, R>) - Method in interface be.bendem.sqlstreams.Query
Returns the first row of the current query using the provided mapping function.
first(String, SqlFunction<ResultSet, R>, Object...) - Method in interface be.bendem.sqlstreams.SqlStream

G

get() - Method in interface be.bendem.sqlstreams.util.SqlSupplier
Gets a result.
get(SqlSupplier<T>) - Static method in class be.bendem.sqlstreams.util.Wrap
Executes a possibly throwing code and returns the result, wrapping any SQLException into a UncheckedSqlException.
getCause() - Method in exception be.bendem.sqlstreams.UncheckedSqlException
 
getConnection() - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
getConnection() - Method in interface be.bendem.sqlstreams.Transaction
Gets the underlying Connection of this transaction.
getConnection() - Method in class be.bendem.sqlstreams.util.SingleConnectionDataSource
 
getStatement() - Method in interface be.bendem.sqlstreams.StatementHolder
Returns the underlying statement handled by this object.

H

hasBinder(Class<T>) - Method in class be.bendem.sqlstreams.impl.SqlBindings
 

I

isolationLevel - Variable in enum be.bendem.sqlstreams.Transaction.IsolationLevel
 

L

largeCount() - Method in interface be.bendem.sqlstreams.BatchUpdate
Executes the query and return the sum of the amount of rows modified by each batch.
largeCount() - Method in interface be.bendem.sqlstreams.Update
Executes the query and return the amount of rows modified by this query as a long.
largeCounts() - Method in interface be.bendem.sqlstreams.BatchUpdate
Executes the query and return the amount of rows modified by this query as a long.

M

map(SqlFunction<ResultSet, R>) - Method in interface be.bendem.sqlstreams.Query
Maps each row returned by this query using the provided mapping function.

N

next() - Method in interface be.bendem.sqlstreams.BatchUpdate
Ends the current batch of parameters.
next(String) - Method in interface be.bendem.sqlstreams.BatchUpdate
Ends the current batch of parameters.

P

ParameterProvider<Provider extends ParameterProvider<Provider,Statement>,Statement extends PreparedStatement> - Interface in be.bendem.sqlstreams
Represents an object holding a PreparedStatement and providing methods to set it up for a sql query.
prepare(SqlConsumer<Statement>) - Method in interface be.bendem.sqlstreams.ParameterProvider
Prepares an instance of PreparedStatement to be executed.
PreparedStatementBinderByIndex<T> - Interface in be.bendem.sqlstreams
 

Q

query(SqlFunction<Connection, PreparedStatement>) - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
Query - Interface in be.bendem.sqlstreams
 
query(SqlFunction<Connection, PreparedStatement>) - Method in interface be.bendem.sqlstreams.SqlStream
Manually prepares a query from a Connection.
query(String) - Method in interface be.bendem.sqlstreams.SqlStream
Prepares a query to be executed.

R

registerCustomBinding(Class<T>, PreparedStatementBinderByIndex<T>) - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
registerCustomBinding(Class<T>, PreparedStatementBinderByIndex<T>) - Method in interface be.bendem.sqlstreams.SqlStream
 
ResultSetRetrieverByIndex<T> - Interface in be.bendem.sqlstreams
 
ResultSetRetrieverByName<T> - Interface in be.bendem.sqlstreams
 
ResultSetSpliterator<T> - Class in be.bendem.sqlstreams.impl
 
retrieve(ResultSet, int, Class<T>) - Method in class be.bendem.sqlstreams.impl.SqlBindings
 
retrieve(ResultSet, String, Class<T>) - Method in class be.bendem.sqlstreams.impl.SqlBindings
 
retrieve(ResultSet, int) - Method in interface be.bendem.sqlstreams.ResultSetRetrieverByIndex
 
retrieve(ResultSet, String) - Method in interface be.bendem.sqlstreams.ResultSetRetrieverByName
 
rollback() - Method in interface be.bendem.sqlstreams.Transaction
Rollbacks the current transaction.

S

set(int, Object) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter based on the type of the parameter given.
setArray(int, Array) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Array.
setAsciiStream(int, InputStream) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given InputStream.
setAsciiStream(int, InputStream, int) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given InputStream.
setAsciiStream(int, InputStream, long) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given InputStream.
setBigDecimal(int, BigDecimal) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given BigDecimal.
setBinaryStream(int, InputStream) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given InputStream.
setBinaryStream(int, InputStream, int) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given InputStream.
setBinaryStream(int, InputStream, long) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given InputStream.
setBlob(int, Blob) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Blob.
setBlob(int, InputStream) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given InputStream.
setBlob(int, InputStream, long) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given InputStream.
setBoolean(int, boolean) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given boolean.
setByte(int, byte) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given byte.
setBytes(int, byte[]) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given byte[].
setCharacterStream(int, Reader) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setCharacterStream(int, Reader, int) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setCharacterStream(int, Reader, long) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setClob(int, Clob) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Clob.
setClob(int, Reader) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setClob(int, Reader, long) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setDate(int, Date) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Date.
setDate(int, Date, Calendar) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Date.
setDouble(int, double) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given double.
setFloat(int, float) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given float.
setInt(int, int) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given int.
setLong(int, long) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given long.
setNCharacterStream(int, Reader) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setNCharacterStream(int, Reader, long) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setNClob(int, NClob) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given NClob.
setNClob(int, Reader) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setNClob(int, Reader, long) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Reader.
setNString(int, String) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given String.
setNull(int, int) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given int.
setNull(int, int, String) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given int.
setObject(int, Object) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Object.
setObject(int, Object, int) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Object.
setObject(int, Object, int, int) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Object.
setObject(int, Object, SQLType) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Object.
setObject(int, Object, SQLType, int) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Object.
setRef(int, Ref) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Ref.
setRowId(int, RowId) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given RowId.
setShort(int, short) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given short.
setSQLXML(int, SQLXML) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given SQLXML.
setString(int, String) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given String.
setTime(int, Time) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Time.
setTime(int, Time, Calendar) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Time.
setTimestamp(int, Timestamp) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Timestamp.
setTimestamp(int, Timestamp, Calendar) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given Timestamp.
setURL(int, URL) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets the designated parameter to the given URL.
SingleConnectionDataSource - Class in be.bendem.sqlstreams.util
Wraps a single connection that is reused each time SingleConnectionDataSource.getConnection() is called.
SingleConnectionDataSource(Connection) - Constructor for class be.bendem.sqlstreams.util.SingleConnectionDataSource
Creates a single single connection datasource.
SqlAction - Interface in be.bendem.sqlstreams.util
Represents an action.
SqlBiFunction<T1,T2,R> - Interface in be.bendem.sqlstreams.util
Represents a function that accepts two arguments and produces a result.
SqlBindings - Class in be.bendem.sqlstreams.impl
Provides type based bindings for ResultSet and PreparedStatement parameters.
SqlBindings.Bindings<T> - Class in be.bendem.sqlstreams.impl
 
SqlConsumer<T> - Interface in be.bendem.sqlstreams.util
Represents an operation that accepts a single input argument and returns no result.
SqlFunction<T,R> - Interface in be.bendem.sqlstreams.util
Represents a function that accepts one argument and produces a result.
SqlImpl - Class in be.bendem.sqlstreams.impl
 
SqlImpl(DataSource) - Constructor for class be.bendem.sqlstreams.impl.SqlImpl
 
SqlStream - Interface in be.bendem.sqlstreams
This class is the main entry point from this library.
SqlSupplier<T> - Interface in be.bendem.sqlstreams.util
Represents a supplier of data.
StatementHolder<Statement extends PreparedStatement> - Interface in be.bendem.sqlstreams
Represents an object holding an instance of PreparedStatement.

T

transaction() - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
transaction(Transaction.IsolationLevel) - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
transaction() - Method in interface be.bendem.sqlstreams.SqlStream
Opens a new transaction bound to a single connection.
transaction(Transaction.IsolationLevel) - Method in interface be.bendem.sqlstreams.SqlStream
Opens a new transaction bound to a single connection.
Transaction - Interface in be.bendem.sqlstreams
Represents a transaction bound to a specific Connection.
Transaction.IsolationLevel - Enum in be.bendem.sqlstreams
 
tryAdvance(Consumer<? super T>) - Method in class be.bendem.sqlstreams.impl.ResultSetSpliterator
 

U

UncheckedSqlException - Exception in be.bendem.sqlstreams
Wraps a SQLException into an unchecked exception.
UncheckedSqlException(SQLException) - Constructor for exception be.bendem.sqlstreams.UncheckedSqlException
 
UncheckedSqlException(String, SQLException) - Constructor for exception be.bendem.sqlstreams.UncheckedSqlException
 
update(SqlFunction<Connection, PreparedStatement>) - Method in class be.bendem.sqlstreams.impl.SqlImpl
 
update(SqlFunction<Connection, PreparedStatement>) - Method in interface be.bendem.sqlstreams.SqlStream
Manually prepares a DML query from a Connection.
update(String) - Method in interface be.bendem.sqlstreams.SqlStream
Prepares a DML sql statement.
Update - Interface in be.bendem.sqlstreams
 

V

valueOf(String) - Static method in enum be.bendem.sqlstreams.Transaction.IsolationLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum be.bendem.sqlstreams.Transaction.IsolationLevel
Returns an array containing the constants of this enum type, in the order they are declared.

W

with(Object...) - Method in interface be.bendem.sqlstreams.ParameterProvider
Sets multiple parameters using magic bindings.
Wrap - Class in be.bendem.sqlstreams.util
Utility to execute code that might throw a checked SQLException so that it throws UncheckedSqlException instead.
A B C E F G H I L M N P Q R S T U V W 
Skip navigation links

Copyright © 2019. All rights reserved.