NoSQLResourceResolver {resourcer}R Documentation

NoSQL Database Resource resolver

Description

NoSQL Database Resource resolver

NoSQL Database Resource resolver

Format

A R6 object of class NoSQLResourceResolver

Details

The resource is NoSQL database such as mongodb (elasticsearch, redis, couchdb, sqlite are not supported yet).

Super class

resourcer::ResourceResolver -> NoSQLResourceResolver

Methods

Public methods

Inherited methods

Method isFor()

Check that the provided resource has a URL that locates a nodbi object: the URL scheme must be one of "mongodb", "mongodb+srv". Other NoSQL databases "elasticsearch", "redis", "couchdb", "sqlite" are not supported yet.

Usage
NoSQLResourceResolver$isFor(x)
Arguments
x

The resource object to validate.

Returns

A logical.


Method newClient()

Creates a NoSQLResourceClient instance from provided resource.

Usage
NoSQLResourceResolver$newClient(x)
Arguments
x

A valid resource object.

Returns

A NoSQLResourceClient object.


Method clone()

The objects of this class are cloneable with this method.

Usage
NoSQLResourceResolver$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


[Package resourcer version 1.4.0 Index]