From bf9c3dc1f9b0abb5cbd7babf06800a2f82ad3f44 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 b02be3f9b..5e27d2d79 100644 --- a/src/main/asciidoc/reference/cassandra.adoc +++ b/src/main/asciidoc/reference/cassandra.adoc @@ -1247,12 +1247,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.