Spring Data for Apache Cassandra - Reference Documentation

Spring Data for Apache Cassandra - Reference Documentation

Spring Data for Apache Cassandra - Reference Documentation David Webb, Matthew Adams, John Blum, Mark Paluch Version 2.0.2.RELEASE, 2017-11-27 Table of Contents Preface. 2 1. Knowing Spring . 3 2. Knowing NoSQL and Cassandra. 4 3. Requirements . 5 4. Additional Help Resources. 6 4.1. Support . 6 4.1.1. Community Forum . 6 4.1.2. Professional Support . 6 4.2. Following Development . 6 4.3. Project Metadata. 6 5. New & Noteworthy . 8 5.1. What’s new in Spring Data for Apache Cassandra 2.0 . 8 5.2. What’s new in Spring Data for Apache Cassandra 1.5 . 8 6. Dependencies . 9 6.1. Dependency management with Spring Boot. 10 6.2. Spring Framework. 10 7. Working with Spring Data Repositories . 11 7.1. Core concepts . 11 7.2. Query methods . 13 7.3. Defining repository interfaces . 15 7.3.1. Fine-tuning repository definition. 15 7.3.2. Null handling of repository methods. 15 7.3.3. Using Repositories with multiple Spring Data modules . 18 7.4. Defining query methods. 21 7.4.1. Query lookup strategies . 21 7.4.2. Query creation . 22 7.4.3. Property expressions. 23 7.4.4. Special parameter handling. 23 7.4.5. Limiting query results. 24 7.4.6. Streaming query results . 25 7.4.7. Async query results . 26 7.5. Creating repository instances . 26 7.5.1. XML configuration . 26 7.5.2. JavaConfig . 27 7.5.3. Standalone usage . 28 7.6. Custom implementations for Spring Data repositories . 28 7.6.1. Customizing individual repositories . 29 7.6.2. Customize the base repository . 33 7.7. Publishing events from aggregate roots. 34 7.8. Spring Data extensions . 35 7.8.1. Querydsl Extension . 35 7.8.2. Web support . 36 7.8.3. Repository populators . 42 7.8.4. Legacy web support. 44 Reference Documentation . 47 8. Introduction . 48 8.1. Spring CQL and Spring Data for Apache Cassandra modules . 48 8.1.1. Choosing an approach for Cassandra database access . 48 9. Cassandra support. 50 9.1. Getting Started . 50 9.2. Examples Repository. 54 9.3. Connecting to Cassandra with Spring . 54 9.3.1. Registering a Session instance using Java-based metadata . 54 9.3.2. XML Configuration. 57 9.4. Schema Management . 60 9.4.1. Keyspaces and Lifecycle scripts . 60 9.4.2. Tables and User-defined types . 63 9.5. CqlTemplate. ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    134 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us