What types of statements are included in"ALL" in question below from quiz?
#3 - Are all statements use paging by default ?
ANSWER: Yes, and you can override with fetchSize per request
Question 3 of the week 3 quiz refers to the driver interface Statement
which allows you to execute CQL queries whose implementations include:
SimpleStatement
BoundStatement
(PreparedStatement
)BatchStatement
Technically the question does not apply to BATCH
statements since the result set gets paged by default for reads only (SELECT
queries).
You can find out more about the Java Statement
interface in the Java core driver Statements page. For other drivers, see the relevant documentation in the DataStax Drivers matrix. Cheers!
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use