@@ -252,7 +252,10 @@ public RetryPolicy getRetryPolicy() {
252252 * value in practice as it will yield very poor performance. If in doubt, leaving the default is
253253 * probably a good idea.
254254 *
255- * <p>Only {@code SELECT} queries only ever make use of that setting.
255+ * <p>Only {@code SELECT} queries only ever make use of this setting.
256+ *
257+ * <p>Note that unlike other configuration, when this statement is prepared {@link
258+ * BoundStatement}s created off of {@link PreparedStatement} do not inherit this configuration.
256259 *
257260 * <p>Note: Paging is not supported with the native protocol version 1. If you call this method
258261 * with {@code fetchSize > 0} and {@code fetchSize != Integer.MAX_VALUE} and the protocol
@@ -299,6 +302,9 @@ public int getFetchSize() {
299302 * If none of these apply, no timestamp will be sent with the query and Cassandra will generate a
300303 * server-side one (similar to the pre-V3 behavior).
301304 *
305+ * <p>Note that unlike other configuration, when this statement is prepared {@link
306+ * BoundStatement}s created off of {@link PreparedStatement} do not inherit this configuration.
307+ *
302308 * @param defaultTimestamp the default timestamp for this query (must be strictly positive).
303309 * @return this {@code Statement} object.
304310 * @see Cluster.Builder#withTimestampGenerator(TimestampGenerator)
@@ -324,6 +330,9 @@ public long getDefaultTimestamp() {
324330 * <p>You should override this only for statements for which the coordinator may allow a longer
325331 * server-side timeout (for example aggregation queries).
326332 *
333+ * <p>Note that unlike other configuration, when this statement is prepared {@link
334+ * BoundStatement}s created off of {@link PreparedStatement} do not inherit this configuration.
335+ *
327336 * @param readTimeoutMillis the timeout to set. Negative values are not allowed. If it is 0, the
328337 * read timeout will be disabled for this statement.
329338 * @return this {@code Statement} object.
@@ -628,6 +637,9 @@ public Host getHost() {
628637 * distance {@link HostDistance#IGNORED} or there is no active connectivity to the host, the
629638 * request will fail with a {@link NoHostAvailableException}.
630639 *
640+ * <p>Note that unlike other configuration, when this statement is prepared {@link
641+ * BoundStatement}s created off of {@link PreparedStatement} do not inherit this configuration.
642+ *
631643 * @param host The host that should be used to handle executions of this statement or null to
632644 * delegate to the configured load balancing policy.
633645 * @return this {@code Statement} object.
0 commit comments