Skip to content

Commit

Permalink
docs: update column template with unsupported operation exception
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 93c4d84 commit 40eefec
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public interface ColumnTemplate 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 @@ -71,7 +71,7 @@ public interface ColumnTemplate 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 @@ -81,7 +81,7 @@ public interface ColumnTemplate 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 40eefec

Please sign in to comment.