Database Class

Format

An R6Class generator object

Public fields

id

integer [optional]

param

Parameter

prefix

character

version

character

uri

character

Methods


Method new()

Create a Database

Usage

Database$new(param, prefix, version, uri, id = NULL, ...)

Arguments

param

Parameter defining the database Parameter.

prefix

Database prefix.

version

Database version.

uri

External database URI.

id

Database id.

...

local optional variable arguments


Method toJSON()

Serialize to list object suitable for jsonlite

Usage

Database$toJSON()


Method fromJSON()

Deserialize from jsonlite list object

Usage

Database$fromJSON(DatabaseJson)

Arguments

DatabaseJson

list object.


Method toJSONString()

Serialize to JSON string.

Usage

Database$toJSONString()


Method fromJSONString()

Deserialize from JSON string

Usage

Database$fromJSONString(DatabaseJson)

Arguments

DatabaseJson

JSON string


Method toDataFrame()

Serialize to data frame

Usage

Database$toDataFrame()


Method fromDataFrame()

Deserialize from database data frame

Usage

Database$fromDataFrame(DatabaseDataFrame)

Arguments

DatabaseDataFrame

database data frame


Method clone()

The objects of this class are cloneable with this method.

Usage

Database$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.