From 664ba968f072c02d1d14d13445659ce6b6d65724 Mon Sep 17 00:00:00 2001 From: Chaouki Dhib Date: Sun, 2 Jun 2019 21:35:17 +0200 Subject: [PATCH] DATACASS-660 - Fix typo regarding the usage of Query objects. Original pull request: #161. --- src/main/asciidoc/reference/cassandra.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/asciidoc/reference/cassandra.adoc b/src/main/asciidoc/reference/cassandra.adoc index b67ad696b..fd56b39f2 100644 --- a/src/main/asciidoc/reference/cassandra.adoc +++ b/src/main/asciidoc/reference/cassandra.adoc @@ -1286,12 +1286,11 @@ The `Query` class has some additional methods that you can use to provide option The `Query` class has the following methods that return rows: * `List` *select* `(Query query, Class entityClass)`: Query for a list of objects of type `T` from the table. -* `T` *selectOneById* `(Query query, Class entityClass)`: Query for a single object of type `T` from the table. -* `Slice` *slice* `(Query query, Class entityClass)`: Starts or continues paging by querying for a `Slice` of objects of type `T` from the table. * `T` *selectOne* `(Query query, Class entityClass)`: Query for a single object of type `T` from the table. +* `Slice` *slice* `(Query query, Class entityClass)`: Starts or continues paging by querying for a `Slice` of objects of type `T` from the table. * `Stream` *stream* `(Query query, Class entityClass)`: Query for a stream of objects of type `T` from the table. * `List` *select* `(String cql, Class entityClass)`: Ad-hoc query for a list of objects of type `T` from the table by providing a CQL statement. -* `T` *selectOneById* `(String cql, Class entityClass)`: Ad-hoc query for a single object of type `T` from the table by providing a CQL statement. +* `T` *selectOne* `(String cql, Class entityClass)`: Ad-hoc query for a single object of type `T` from the table by providing a CQL statement. * `Stream` *stream* `(String cql, Class entityClass)`: Ad-hoc query for a stream of objects of type `T` from the table by providing a CQL statement. The query methods must specify the target type `T` that is returned.