Commit Graph

1057 Commits

Author SHA1 Message Date
Christoph Strobl
dfdb2fb394 DATACASS-612 - Prepare next development iteration. 2018-12-11 11:07:51 +01:00
Christoph Strobl
b3e1f81358 DATACASS-612 - Release version 2.2 M1 (Moore). 2018-12-11 10:53:53 +01:00
Christoph Strobl
f64e851ac2 DATACASS-612 - Prepare 2.2 M1 (Moore). 2018-12-11 10:53:11 +01:00
Christoph Strobl
42a833887f DATACASS-612 - Updated changelog. 2018-12-11 10:53:07 +01:00
Mark Paluch
63747cef1f DATACASS-613 - Simplify reference documentation setup. 2018-12-10 10:04:26 +01:00
Mark Paluch
7c08eba31d DATACASS-605 - Updated changelog. 2018-11-27 14:54:05 +01:00
Mark Paluch
44b2e50c10 DATACASS-602 - Updated changelog. 2018-11-27 12:36:45 +01:00
Mark Paluch
3584efbd4c DATACASS-603 - Updated changelog. 2018-11-27 11:27:19 +01:00
Mark Paluch
70262b8e9f DATACASS-607 - Polishing.
Reformat code.
2018-11-13 15:07:19 +01:00
Mark Paluch
95fc0a55b4 DATACASS-607 - Consider custom conversion for collections based on read converter.
We now apply custom conversions for collection elements if a read converter is registered. Previously, we used the presence/absence of a write converter to initiate conversion for collections.
2018-11-13 15:06:53 +01:00
Mark Paluch
ada4bc0ab1 DATACASS-601 - Updated changelog. 2018-10-29 14:32:04 +01:00
Mark Paluch
795ae8fa18 DATACASS-598 - Updated changelog. 2018-10-15 11:37:19 +02:00
Mark Paluch
18f5025e64 DATACASS-600 - Use template implementation classes as bean type in configuration support.
cassandraTemplate(…) and cqlTemplate(…) bean methods now use the template implementation class as their return type to provide the most specific type information for the bean declaration.

Previously, we declared the bean type using their interface which made it impossible to resolve beans using the template class.
2018-10-12 15:06:48 +02:00
Mark Paluch
f3115017d4 DATACASS-588 - After release cleanups. 2018-09-21 07:45:28 -04:00
Mark Paluch
d6e44f63d7 DATACASS-588 - Prepare next development iteration. 2018-09-21 07:45:27 -04:00
Mark Paluch
634192c6a3 DATACASS-588 - Release version 2.1 GA (Lovelace). 2018-09-21 07:08:38 -04:00
Mark Paluch
a11785ad42 DATACASS-588 - Prepare 2.1 GA (Lovelace). 2018-09-21 07:07:50 -04:00
Mark Paluch
bfaf7fb31d DATACASS-588 - Updated changelog. 2018-09-21 07:07:44 -04:00
Mark Paluch
5e8925e4fe DATACASS-597 - Polishing.
Reformat test code, remove superflous blank lines.
2018-09-19 22:17:02 +02:00
Mark Paluch
ab87850e5d DATACASS-597 - Upgrade to Cassandra Driver 3.6.0. 2018-09-19 22:15:26 +02:00
Mark Paluch
69a6f9b1b9 DATACASS-596 - Include documentation about Object Mapping Fundamentals.
Related ticket: DATACMNS-1374.
2018-09-18 13:04:01 +02:00
Mark Paluch
a0943ec027 DATACASS-595 - Polishing.
Add ticket references to tests.
2018-09-13 14:04:38 +02:00
Mark Paluch
95041946db DATACASS-595 - Fix Kotlin Query extension.
We now accept CriteriaDefinition when creating a single-criteria query in the Kotlin extension. Previously, we only accepted Criteria which is a concrete implementation type.
2018-09-13 14:02:39 +02:00
Mark Paluch
6286761ce1 DATACASS-583 - Updated changelog. 2018-09-10 14:15:49 +02:00
Mark Paluch
bfc85d9e7e DATACASS-584 - Updated changelog. 2018-09-10 10:20:53 +02:00
Oliver Gierke
38a772a3c9 DATACASS-582 - After release cleanups. 2018-08-20 10:56:52 +02:00
Oliver Gierke
80daf3ddb7 DATACASS-582 - Prepare next development iteration. 2018-08-20 10:56:51 +02:00
Oliver Gierke
4fb84e15fd DATACASS-582 - Release version 2.1 RC2 (Lovelace). 2018-08-20 10:40:11 +02:00
Oliver Gierke
090ae848a1 DATACASS-582 - Prepare 2.1 RC2 (Lovelace). 2018-08-20 10:39:43 +02:00
Oliver Gierke
ea53863855 DATACASS-582 - Updated changelog. 2018-08-20 10:39:32 +02:00
Mark Paluch
99ddd0c367 DATACASS-587 - Adapt tests to AssertJ changes.
Update stubbing to call interface default methods for a mocked ResultSet to allow spliterator()/Stream usage.
2018-08-16 12:24:22 +02:00
Mark Paluch
8055890ac5 DATACASS-574 - Polishing.
Reduce visibility of ReactiveCassandraBatchTemplate to package-private. Move registration of stream subscription to a deferred Mono to allow multiple execute calls and only prevent multiple subscriptions.

Convert spaces to tabs, formatting, javadoc, author and since tags.

Original pull request: #134.
2018-08-03 14:03:26 +02:00
Oleh Dokuka
d7a48f2529 DATACASS-574 - Add reactive batch operations.
Original pull request: #134.
2018-08-03 14:03:26 +02:00
Mark Paluch
c61683cae5 DATACASS-566 - Updated changelog. 2018-07-27 11:45:20 +02:00
Mark Paluch
e6f4cb562b DATACASS-567 - Updated changelog. 2018-07-26 16:23:51 +02:00
Mark Paluch
a9d29f771d DATACASS-554 - After release cleanups. 2018-07-26 12:32:27 +02:00
Mark Paluch
3d243c8d44 DATACASS-554 - Prepare next development iteration. 2018-07-26 12:32:24 +02:00
Mark Paluch
820ffebdba DATACASS-554 - Release version 2.1 RC1 (Lovelace). 2018-07-26 12:06:34 +02:00
Mark Paluch
31c6d209ed DATACASS-554 - Prepare 2.1 RC1 (Lovelace). 2018-07-26 12:04:30 +02:00
Mark Paluch
8da68a03a9 DATACASS-554 - Updated changelog. 2018-07-26 12:04:21 +02:00
Mark Paluch
0e8bccd4a2 DATACASS-579 - Remove Google Guava from dependencies.
Remove Google Guava as dependency so it can be pulled in as transitive dependency of cassandra-driver-core. We are no longer in charge of managing the actual Guava version.
2018-07-24 15:58:25 +02:00
Mark Paluch
b8a0617cac DATACASS-580 - Upgrade to Cassandra Driver 3.5.1. 2018-07-24 12:32:08 +02:00
Mark Paluch
e01c8b91c8 DATACASS-581 - Fix test conditions in DefaultBridgedReactiveSessionUnitTests.
Report completed future to adapt to Guava's future state checking in newer library versions.
2018-07-24 12:32:08 +02:00
Mark Paluch
fbcf50e27a DATACASS-573 - Add mutation support for immutable types.
We now return new instances that are potentially created by wither/Kotlin copy(…) methods when reading immutable properties.
2018-07-12 10:36:15 +02:00
Mark Paluch
c843293fa5 DATACASS-529 - Polishing.
Introduce ReactiveResultSet.availableRows() to fetch rows without transparent paging. Refactor QueryUtils to extract a Slice from an Iterable. Add slice(Query, Class) to ReactiveCassandraOperations to expose a consistent API. Convert space indentation to tab indentation. Add tests. Add since tags. Add documentation. Reformat code.

Original pull request: #128.
2018-06-18 11:54:16 +02:00
Hleb Albau
d261301e9e DATACASS-529 - Allow slice queries using reactive repositories.
We now support Slice queries using reactive Cassandra repositories. Repository query methods can declare Mono<Slice<T>> as their return type to query for slices without applying transparent paging. The resulting Mono always completes with a value. An empty query result returns a Mono emitting an empty Slice.

interface UserRepository extends CrudRepository<User, String> {

  Mono<Slice<User>> findByLastname(String firstname, Pageable pageable);
}

Mono<Slice<User>> result =repository.findByLastname("White", CassandraPageRequest.first(1));

Original pull request: #128.
2018-06-18 11:54:16 +02:00
Mark Paluch
34903b7350 DATACASS-569 - Apply UpdateOptions.ifExists through CassandraTemplate.update(…).
We now consider the ifExists option for UPDATE statements when updating an entity using CassandraTemplate.update(…).
2018-06-14 13:48:16 +02:00
Mark Paluch
9474b3de91 DATACASS-568 - Guard BasicCassandraPersistentProperty.findAnnotatedType(…) against non-parameterized types.
We now check whether the inspected property type is a AnnotatedParameterizedType one before attempting to extract type parameters. Map-like and Collection-like properties can be generic typed, untyped or subtype of either one and we restrict annotation scanning to generic typed ones.

Previously, we applied a downcast without checking for the actual type which lead to a ClassCastException.
2018-06-14 11:42:57 +02:00
Mark Paluch
7e64eddbfd DATACASS-552 - Updated changelog. 2018-06-13 21:39:49 +02:00
Mark Paluch
ac0f0c3bcc DATACASS-551 - Updated changelog. 2018-06-13 15:01:55 +02:00