Sneak Peek at Spring Data Cassandra

16
Unless otherwise indicated, these slides are © 2013-2016 Pivotal Software, Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Sneak Peek at Spring Data Cassandra John Blum • Mark Paluch @john_blum • @mp911de

Transcript of Sneak Peek at Spring Data Cassandra

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Sneak Peek at Spring Data Cassandra

John Blum • Mark Paluch @john_blum • @mp911de

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Module setup Hopper

3

Commons

Neo4j Gemfire

JPA

Solr

ElasticSearch

REST

CassandraCouchbase

Redis

MongoDB

Communitymodules

Coremodules

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Module setup Ingalls

4

Commons

Neo4j Gemfire

JPA

Solr

ElasticSearch

REST Cassandra

Couchbase

Redis

MongoDB

Communitymodules

Coremodules

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Sneak Peek : Spring Data Cassandra 1.5

5

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Demo

6

Java 8 Features

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Demo

7

Custom Conversions

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Demo

8

Query Derivation

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Wrap-up

• Spring Data Cassandra to become a core module

• Upgrade to Cassandra 3.0

• Support JSR-310/Joda/ThreeTenBackPort Date types

• Support for Optional and Stream

• Custom Conversions• Query Derivation• Projections using Interfaces• Revised Documentation

9

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Try it yourself

10

<dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-cassandra</artifactId> <version>1.5.0.M1</version> </dependency>

<repositories> <repository> <id>spring-milestones</id> <url>https://repo.spring.io/libs-milestone</url> </repository> </repositories>

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Roadmap: Spring Data Cassandra 2.0

• Reactive Data Access

• Split of the synchronous and asynchronous API (AsyncCqlTemplate, AsyncCassandraTemplate)

• Support for UDT mapping and Tuples

• Support for Paging

• Extended support for schema generation

11

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Related Sessions

• Thu, 4th, August, 2016

• 9:00 am – John Blum, Luke ShannonSpring Data and In-Memory Data Management in Action

• Thu, 4th, August, 2016

• 11:10 am – Oliver GierkeAdvanced Spring Data REST

• Thu, 4th, August, 2016

• 11:45 am – Viktor Gamov, Neil StevensonSpring Data Hazelcast: Fluently Accessing Distributed Repositories

12

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Resources

• Slides – mp911.de/s1sdc15

• Spring Data Examples – Repository @ Github

• Spring Data wiki (Release trains, planning) – Wiki

• Spring projects release calendar – Google Calendar

• NEW: Find us on Gitter!

13

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Feedback welcome

14

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Learn More. Stay Connected.

@springcentral spring.io/blog

@pivotal pivotal.io/blog

@pivotalcf http://engineering.pivotal.io

Follow us @SpringDataTalk to us spring-projects/spring-data

Unless o therwise ind ica ted , these s l ides a re © 2013-2016 P ivo ta l So f tware , Inc . and l i censed under a Creat ive Commons At t r ibu t ion -NonCommerc ia l l i cense : h t tp : / /c rea t i vecommons .org / l i censes /by -nc /3 .0 /

Safe Harbor Statement

• The following is intended to outline the general direction of Pivotal's offerings. It is intended for information purposes only and may not be incorporated into any contract. Any information regarding pre-release of Pivotal offerings, future updates or other planned modifications is subject to ongoing evaluation by Pivotal and is subject to change. This information is provided without warranty or any kind, express or implied, and is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions regarding Pivotal's offerings. These purchasing decisions should only be based on features currently available. The development, release, and timing of any features or functionality described for Pivotal's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no obligation to update forward looking information in this presentation.

16