| ExtConnClass {biodb} | R Documentation |
A class for generating a new connector class.
This class generates a new connector class from given parameters.
The new class can inherit directly from BiodbConn or
BiodbCompounddbConn or BiodbMassdbConn.
It can also be editable and/or writable.
biodb::ExtGenerator -> biodb::ExtFileGenerator -> ExtConnClass
new()Constructor
ExtConnClass$new(...)
...See the constructor of ExtFileGenerator for the parameters.
A new instance.
clone()The objects of this class are cloneable with this method.
ExtConnClass$clone(deep = FALSE)
deepWhether to make a deep clone.
# Generate a new connector class inside R folder:
pkgFolder <- file.path(tempfile(), 'biodbFoo')
dir.create(pkgFolder, recursive=TRUE)
biodb::ExtConnClass$new(path=pkgFolder, dbName='foo.db',
dbTitle='Foo database',
connType='mass', remote=TRUE)$generate()