public interface ReactiveBulkWriter extends AutoCloseable
Methods of this interface all return a Publisher of write results.
| Modifier and Type | Method and Description |
|---|---|
Publisher<WriteResult> |
writeReactive(Iterable<? extends Statement<?>> statements)
Executes the given iterable of write statements reactively.
|
Publisher<WriteResult> |
writeReactive(Publisher<? extends Statement<?>> statements)
Executes the given publisher of write statements reactively.
|
Publisher<WriteResult> |
writeReactive(Statement<?> statement)
Executes the given write statement reactively.
|
Publisher<WriteResult> |
writeReactive(Stream<? extends Statement<?>> statements)
Executes the given stream of write statements reactively.
|
default Publisher<WriteResult> |
writeReactive(String statement)
Executes the given write statement reactively.
|
closedefault Publisher<WriteResult> writeReactive(String statement) throws BulkExecutionException
statement - The statement to execute.publisher that will emit one single write result.BulkExecutionException - if the operation cannot complete normally.Publisher<WriteResult> writeReactive(Statement<?> statement) throws BulkExecutionException
statement - The statement to execute.publisher that will emit one single write result.BulkExecutionException - if the operation cannot complete normally.Publisher<WriteResult> writeReactive(Stream<? extends Statement<?>> statements) throws BulkExecutionException
statements - The statements to execute.publisher of write results.BulkExecutionException - if the operation cannot complete normally.Publisher<WriteResult> writeReactive(Iterable<? extends Statement<?>> statements) throws BulkExecutionException
statements - The statements to execute.publisher of write results.BulkExecutionException - if the operation cannot complete normally.Publisher<WriteResult> writeReactive(Publisher<? extends Statement<?>> statements) throws BulkExecutionException
statements - The statements to execute.publisher of write results.BulkExecutionException - if the operation cannot complete normally.Copyright © 2017–2021 DataStax. All rights reserved.