Uses of Class
com.hazelcast.jet.pipeline.JdbcSinkBuilder
Packages that use 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
Methods in com.hazelcast.jet.pipeline that return JdbcSinkBuilderModifier 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 aPreparedStatementcreated with the query set withupdateQuery(String).JdbcSinkBuilder.dataConnectionRef(DataConnectionRef dataConnectionRef) Sets the reference to the configured data connection ofDataConnectionReffrom which the instance of theDataSourcewill be retrieved.JdbcSinkBuilder.dataSourceSupplier(SupplierEx<? extends CommonDataSource> dataSourceSupplier) Sets the supplier ofDataSourceorXADataSource.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.