Skip to content

Commit

Permalink
docs: update document template
Browse files Browse the repository at this point in the history
Signed-off-by: Otavio Santana <otaviopolianasantana@gmail.com>
  • Loading branch information
otaviojava committed May 17, 2023
1 parent 40eefec commit 1a0f502
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -61,7 +61,7 @@ public interface DocumentTemplate extends Template {
* @param <T> 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
*/
<T> Stream<T> query(String query);

Expand All @@ -72,7 +72,7 @@ public interface DocumentTemplate extends Template {
* @param <T> 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
*/
<T> Optional<T> singleResult(String query);

Expand All @@ -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);

Expand Down

0 comments on commit 1a0f502

Please sign in to comment.