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 the NamedPreparedStatement 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 the NamedPreparedStatement using the given
CheckedBiConsumer.
|
default int |
UpdateStatement.batch(@NonNull SQLContext context,
@NonNull Collection<Map<String,?>> items) |
Performs a batch update over a Collection of Maps whose keys are column names and values of the column.
|
default int |
UpdateStatement.batch(@NonNull SQLContext context,
@NonNull Collection<Map<String,?>> items,
int batchSize) |
Performs a batch update over a Collection of Maps whose keys are column names and values of the column.
|
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 the NamedPreparedStatement 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 the NamedPreparedStatement using the given
CheckedBiConsumer.
|
boolean |
QueryStatement.exists(@NonNull SQLContext context) |
Runs the query returning true if there is at least on result.
|
ResultSet |
QueryStatement.query(@NonNull SQLContext context) |
Runs the query on the given context returning a ResultSet
|
<T> Stream<T> |
QueryStatement.query(@NonNull SQLContext context,
@NonNull ResultSetMapper<? extends T> resultSetMapper) |
|
<T> Stream<T> |
QueryStatement.query(@NonNull SQLContext context,
@NonNull List<?> values,
@NonNull ResultSetMapper<? extends T> resultSetMapper) |
Performs the query specified in this statement using the given SQLContext filling in indexed value
placeholders using the given List of values and returning the results as a ResultSetIterator * using the
given ResultSetMapper to map ResultSet to objects
|
<T> Stream<T> |
QueryStatement.query(@NonNull SQLContext context,
@NonNull Map<String,?> values,
@NonNull ResultSetMapper<? extends T> resultSetMapper) |
Performs the query specified in this statement using the given SQLContext filling in named value
placeholders using the given Map of values and returning the results as a ResultSetIterator using the
given ResultSetMapper to map ResultSet to objects
|
<T> Stream<T> |
Select.queryParallel(@NonNull SQLContext context,
@NonNull ResultSetMapper<? extends T> mapper,
@NonNull String partitionColumn) |
|
<T> Stream<T> |
Select.queryParallel(@NonNull SQLContext context,
@NonNull ResultSetMapper<? extends T> mapper,
@NonNull String partitionColumn,
int numPartitions) |
|
<T> Stream<T> |
Select.queryParallel(@NonNull SQLContext context,
@NonNull List<?> values,
@NonNull ResultSetMapper<? extends T> mapper,
@NonNull String partitionColumn,
int numPartitions) |
Performs this Select query using the given SQLContext filling in indexed value placeholders using the
given Map of values and returning the results as a ResultSetIterator using the given ResultSetMapper * to map ResultSet to objects.
|
<T> Stream<T> |
Select.queryParallel(@NonNull SQLContext context,
@NonNull List<Object> values,
@NonNull ResultSetMapper<? extends T> mapper,
@NonNull String partitionColumn) |
Performs this Select query using the given SQLContext filling in indexed value placeholders using the
given Map of values and returning the results as a ResultSetIterator using the given ResultSetMapper to map ResultSet to objects.
|
<T> Stream<T> |
Select.queryParallel(@NonNull SQLContext context,
@NonNull Map<String,?> values,
@NonNull ResultSetMapper<? extends T> mapper,
@NonNull String partitionColumn) |
Performs this Select query using the given SQLContext filling in named value placeholders using the given
Map of values and returning the results as a ResultSetIterator using the given ResultSetMapper * to
map ResultSet to objects.
|
<T> Stream<T> |
Select.queryParallel(@NonNull SQLContext context,
@NonNull Map<String,?> values,
@NonNull ResultSetMapper<? extends T> mapper,
@NonNull String partitionColumn,
int numPartitions) |
Performs this Select query using the given SQLContext filling in named value placeholders using the given
Map of values and returning the results as a ResultSetIterator using the given ResultSetMapper to
map ResultSet to objects.
|
<T> T |
QueryStatement.queryScalar(@NonNull SQLContext context,
@NonNull Class<T> tClass) |
Performs this query on the given SQLContext which expects a single value for a single column to return.
|
Double |
QueryStatement.queryScalarDouble(@NonNull SQLContext context) |
Performs this query on the given SQLContext which expects a single value for a single column to return.
|
Long |
QueryStatement.queryScalarLong(@NonNull SQLContext context) |
Performs this query on the given SQLContext which expects a single value for a single column to return.
|
String |
QueryStatement.queryScalarString(@NonNull SQLContext context) |
Performs this query on the given SQLContext which expects a single value for a single column to return.
|
default int |
UpdateStatement.update(@NonNull SQLContext context) |
|
default int |
UpdateStatement.update(@NonNull SQLContext context,
@NonNull List<Object> values) |
Performs the update using the given SQLContext filling in indexed value placeholders using the given List
of values.
|
default int |
UpdateStatement.update(@NonNull SQLContext context,
@NonNull Map<String,Object> values) |
Performs the update using the given SQLContext filling in named value placeholders using the given Map of
values.
|
default <T> int |
UpdateStatement.update(@NonNull SQLContext context,
T value,
@NonNull CheckedBiConsumer<? super T,NamedPreparedStatement> statementFiller) |
Performs the update s using the given SQLContext filling in value placeholders using the given value and
the consumer to for filling the statement.
|