You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2024/01/04 10:03:20 UTC
(streampipes) 01/01: docs: Add documentation to GenericStorageImpl.find
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch hotfix-add-api-description
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 1f1f9868a8f09fed671009c8016ccff1bf2c70f3
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Thu Jan 4 11:03:01 2024 +0100
docs: Add documentation to GenericStorageImpl.find
---
.../apache/streampipes/storage/couchdb/impl/GenericStorageImpl.java | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/streampipes-storage-couchdb/src/main/java/org/apache/streampipes/storage/couchdb/impl/GenericStorageImpl.java b/streampipes-storage-couchdb/src/main/java/org/apache/streampipes/storage/couchdb/impl/GenericStorageImpl.java
index f8f6942ef..3cd2ea720 100644
--- a/streampipes-storage-couchdb/src/main/java/org/apache/streampipes/storage/couchdb/impl/GenericStorageImpl.java
+++ b/streampipes-storage-couchdb/src/main/java/org/apache/streampipes/storage/couchdb/impl/GenericStorageImpl.java
@@ -71,6 +71,10 @@ public class GenericStorageImpl implements IGenericStorage {
return result;
}
+ /**
+ * This endpoint uses /db/_find endpoint of CouchDB to query documents.
+ * You can find the docuemntation for the parameters at https://docs.couchdb.org/en/stable/api/database/find.html
+ */
@Override
public List<Map<String, Object>> find(String appDocType,
Map<String, Object> query) throws IOException {