While the number of {@code values} cannot be greater than the number of boundvariables, the number of {@code values} may be fewer than the number of boundvariables. In that case, the remaining variables will have to be bound to values by another mean because the resulting {@code BoundStatement}being executable.
This method is a convenience for {@code new BoundStatement(this).bind(...)}. @param values the values to bind to the variables of the newly createdBoundStatement. @return the newly created {@code BoundStatement} with its variablesbound to {@code values}. @throws IllegalArgumentException if more {@code values} are providedthan there is of bound variables in this statement. @throws InvalidTypeException if any of the provided value is not ofcorrect type to be bound to the corresponding bind variable. @throws NullPointerException if one of {@code values} is a collection(List, Set or Map) containing a null value. Nulls are not supported in collections by CQL. @see BoundStatement#bind
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|