Uses of Interface
com.gengoai.function.CheckedBiConsumer
-
Packages that use CheckedBiConsumer Package Description com.gengoai.function Checked and Serializable versions of Java 8's functional elements.com.gengoai.sql com.gengoai.sql.statement -
-
Uses of CheckedBiConsumer in com.gengoai.function
Methods in com.gengoai.function with parameters of type CheckedBiConsumer Modifier and Type Method Description static <T,U>
SerializableBiConsumer<T,U>Unchecked. biConsumer(CheckedBiConsumer<T,U> checked)
Generates a version of BiConsumer that will capture exceptions and rethrow them as runtime exceptions -
Uses of CheckedBiConsumer in com.gengoai.sql
Methods in com.gengoai.sql with parameters of type CheckedBiConsumer Modifier and Type Method Description <T> int
SQLContext. multiThreadedBatch(@NonNull SQLElement sql, @NonNull Stream<? extends T> items, @NonNull CheckedBiConsumer<T,NamedPreparedStatement> consumer, int batchSize)
Multi threaded batch int. -
Uses of CheckedBiConsumer in com.gengoai.sql.statement
Methods in com.gengoai.sql.statement with parameters of type CheckedBiConsumer Modifier and Type Method Description default <T> int
UpdateStatement. batch(@NonNull SQLContext context, @NonNull Collection<? extends T> items, @NonNull CheckedBiConsumer<T,NamedPreparedStatement> statementFiller)
Performs a batch update over a Collection of items filling theNamedPreparedStatement
using the given CheckedBiConsumer.default <T> int
UpdateStatement. batch(@NonNull SQLContext context, @NonNull Collection<? extends T> items, @NonNull CheckedBiConsumer<T,NamedPreparedStatement> statementFiller, int batchSize)
Performs a batch update over a Collection of items filling theNamedPreparedStatement
using the given CheckedBiConsumer.default <T> int
UpdateStatement. batch(@NonNull SQLContext context, @NonNull Stream<? extends T> items, @NonNull CheckedBiConsumer<T,NamedPreparedStatement> statementFiller)
Performs a batch update over a Stream of items filling theNamedPreparedStatement
using the given CheckedBiConsumer.default <T> int
UpdateStatement. batch(@NonNull SQLContext context, @NonNull Stream<? extends T> items, @NonNull CheckedBiConsumer<T,NamedPreparedStatement> statementFiller, int batchSize)
Performs a batch update over a Stream of items filling theNamedPreparedStatement
using the given CheckedBiConsumer.default <T> int
UpdateStatement. update(@NonNull SQLContext context, T value, @NonNull CheckedBiConsumer<? super T,NamedPreparedStatement> statementFiller)
Performs the update s using the givenSQLContext
filling in value placeholders using the given value and the consumer to for filling the statement.
-