From 1a0f5020671855482bad20d722c9ede6677d9232 Mon Sep 17 00:00:00 2001 From: Otavio Santana Date: Wed, 17 May 2023 11:31:39 +0100 Subject: [PATCH] docs: update document template Signed-off-by: Otavio Santana --- .../main/java/jakarta/nosql/document/DocumentTemplate.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/nosql-document/src/main/java/jakarta/nosql/document/DocumentTemplate.java b/api/nosql-document/src/main/java/jakarta/nosql/document/DocumentTemplate.java index aa9aab176..3d03ed15d 100644 --- a/api/nosql-document/src/main/java/jakarta/nosql/document/DocumentTemplate.java +++ b/api/nosql-document/src/main/java/jakarta/nosql/document/DocumentTemplate.java @@ -61,7 +61,7 @@ public interface DocumentTemplate extends Template { * @param the entity type * @return the result as {@link Stream} * @throws NullPointerException when the query is null - * @throws UnsupportedOperationException if the specified template does not support this operation + * @throws UnsupportedOperationException when the provider does not support query by text */ Stream query(String query); @@ -72,7 +72,7 @@ public interface DocumentTemplate extends Template { * @param the entity type * @return the result as {@link Optional} * @throws NullPointerException when the query is null - * @throws UnsupportedOperationException if the specified template does not support this operation + * @throws UnsupportedOperationException when the provider does not support query by text */ Optional singleResult(String query); @@ -82,7 +82,7 @@ public interface DocumentTemplate extends Template { * @param query the query * @return a {@link PreparedStatement} instance * @throws NullPointerException when the query is null - * @throws UnsupportedOperationException if the specified template does not support this operation + * @throws UnsupportedOperationException when the provider does not support query by text */ PreparedStatement prepare(String query);