This is an automated email from the ASF dual-hosted git repository.
sk0x50 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 3c03e789b23 IGNITE-26170 Update criteria query example (#6393)
3c03e789b23 is described below
commit 3c03e789b23b9f9b099e88c15975d3361a3e4d15
Author: IgGusev <[email protected]>
AuthorDate: Wed Aug 13 11:35:37 2025 +0400
IGNITE-26170 Update criteria query example (#6393)
---
.../api/src/main/java/org/apache/ignite/table/criteria/Criteria.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/modules/api/src/main/java/org/apache/ignite/table/criteria/Criteria.java
b/modules/api/src/main/java/org/apache/ignite/table/criteria/Criteria.java
index af756921e54..ff8f0b5a051 100644
--- a/modules/api/src/main/java/org/apache/ignite/table/criteria/Criteria.java
+++ b/modules/api/src/main/java/org/apache/ignite/table/criteria/Criteria.java
@@ -27,8 +27,8 @@ import org.jetbrains.annotations.Nullable;
* Represents a criteria query predicate.
*
* <pre>{@code
- * public ClosableCursor<Product> uncategorizedProducts() {
- * return products.recordView(Product.class).queryCriteria(null,
columnValue("category", nullValue()));
+ * public ClosableCursor<Customer> findCustomerByName(String
customerName) {
+ * return customers.recordView(Customer.class).query(null,
columnValue("name", equalTo(customerName)));
* }
* }</pre>
*