Class BatchBuilderImpl

    • Constructor Detail

      • BatchBuilderImpl

        public BatchBuilderImpl()
        Constructs a BatchBuilderImpl
      • BatchBuilderImpl

        public BatchBuilderImpl​(int jdbcBatchSize)
        Constructs a BatchBuilderImpl
        Parameters:
        jdbcBatchSize - The batch jdbcBatchSize to use.
    • Method Detail

      • getJdbcBatchSize

        public int getJdbcBatchSize()
      • setJdbcBatchSize

        public void setJdbcBatchSize​(int jdbcBatchSize)
      • buildBatch

        public Batch buildBatch​(BatchKey key,
                                JdbcCoordinator jdbcCoordinator)
        Description copied from interface: BatchBuilder
        Build a batch.
        Specified by:
        buildBatch in interface BatchBuilder
        Parameters:
        key - Value to uniquely identify a batch
        jdbcCoordinator - The JDBC coordinator with which to coordinate efforts
        Returns:
        The built batch