Search in sources :

Example 1 with DocumentStore

use of net.ravendb.client.documents.DocumentStore in project jnosql-diana-driver by eclipse.

the class RavenDBDocumentCollectionManagerFactory method get.

@Override
public RavenDBDocumentCollectionManager get(String database) {
    Objects.requireNonNull(database, "database is required");
    DocumentStore documentStore = new DocumentStore(hosts, database);
    return new RavenDBDocumentCollectionManager(documentStore);
}
Also used : DocumentStore(net.ravendb.client.documents.DocumentStore)

Aggregations

DocumentStore (net.ravendb.client.documents.DocumentStore)1