A prepared statement with values bound to the bind variables.
Once values has been provided for the variables of the {@link PreparedStatement}it has been created from, such BoundStatement can be executed (through {@link Session#execute(Statement)}).
The values of a BoundStatement can be set by either index or name. When setting them by name, names follow the case insensitivity rules explained in {@link ColumnDefinitions} but with the difference that if multiple bindvariables have the same name, setting that name will set all the variables for that name.
All the variables of the statement must be bound. If you don't explicitly set a value for a variable, an {@code IllegalStateException} will bethrown when submitting the statement. If you want to set a variable to {@code null}, use {@link #setToNull(int) setToNull}.