public PreparedBatch add() {
        final PreparedBinding currentBinding = getBinding();
        if (currentBinding.isEmpty()) {
            throw new IllegalStateException("Attempt to add() an empty batch, you probably didn't mean to do this "
                    + "- call add() *after* setting batch parameters");
        }
        bindings.add(currentBinding);
        getContext().setBinding(new PreparedBinding(getContext()));
        return this;
    }
Add the current binding as a saved batch and clear the binding.
@return this
core/src/main/java/org/jdbi/v3/core/statement/PreparedBatch.java