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:19 UTC
(streampipes) branch hotfix-add-api-description created (now 1f1f9868a)
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a change to branch hotfix-add-api-description
in repository https://gitbox.apache.org/repos/asf/streampipes.git
at 1f1f9868a docs: Add documentation to GenericStorageImpl.find
This branch includes the following new commits:
new 1f1f9868a docs: Add documentation to GenericStorageImpl.find
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(streampipes) 01/01: docs: Add documentation to GenericStorageImpl.find
Posted by ze...@apache.org.
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 {