Uses of Class
com.hazelcast.jet.pipeline.JdbcSinkBuilder
Package
Description
The Pipeline API is Jet's high-level API to build and execute
distributed computation jobs.
-
Uses of JdbcSinkBuilder in com.hazelcast.jet.pipeline
Modifier and TypeMethodDescriptionJdbcSinkBuilder.batchLimit
(int batchLimit) Sets the batch size limit for the sink.JdbcSinkBuilder.bindFn
(BiConsumerEx<PreparedStatement, T> bindFn) Set the function to bind values to aPreparedStatement
created with the query set withupdateQuery(String)
.JdbcSinkBuilder.dataConnectionRef
(DataConnectionRef dataConnectionRef) Sets the reference to the configured data connection ofDataConnectionRef
from which the instance of theDataSource
will be retrieved.JdbcSinkBuilder.dataSourceSupplier
(SupplierEx<? extends CommonDataSource> dataSourceSupplier) Sets the supplier ofDataSource
orXADataSource
.JdbcSinkBuilder.exactlyOnce
(boolean enabled) Sets whether the exactly-once mode is enabled for the sink.static <T> JdbcSinkBuilder<T>
Sinks.jdbcBuilder()
Returns a builder to build a sink that connects to a JDBC database, prepares an SQL statement and executes it for each item.Sets the connection URL for the target database.JdbcSinkBuilder.updateQuery
(String updateQuery) The query to execute for each item.