Interface CouchbaseDocumentManager
- All Superinterfaces:
AutoCloseable,org.eclipse.jnosql.communication.semistructured.DatabaseManager
public interface CouchbaseDocumentManager
extends org.eclipse.jnosql.communication.semistructured.DatabaseManager
The couchbase implementation of
DatabaseManager-
Method Summary
Modifier and TypeMethodDescriptionStream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity>Executes the n1qlquery plain query and then result que resultStream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity>Executes the N1QL with params and then result que resultMethods inherited from interface org.eclipse.jnosql.communication.semistructured.DatabaseManager
close, count, count, delete, deleteAndCount, exists, insert, insert, insert, insert, name, prepare, prepare, query, query, select, selectCursor, singleResult, update, update, update
-
Method Details
-
n1qlQuery
Stream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity> n1qlQuery(String n1ql, com.couchbase.client.java.json.JsonObject params) throws NullPointerException Executes the N1QL with params and then result que result- Parameters:
n1ql- the queryparams- the params- Returns:
- the query result
- Throws:
NullPointerException- when either n1ql or params are null
-
n1qlQuery
Stream<org.eclipse.jnosql.communication.semistructured.CommunicationEntity> n1qlQuery(String n1ql) throws NullPointerException Executes the n1qlquery plain query and then result que result- Parameters:
n1ql- the query- Returns:
- the query result
- Throws:
NullPointerException- when either n1ql or params are null
-