| CompCsvFileConn {biodb} | R Documentation |
Compound CSV File connector class.
Compound CSV File connector class.
This is the connector class for a Compound CSV file database.
biodb::BiodbConnBase -> biodb::BiodbConn -> biodb::CsvFileConn -> CompCsvFileConn
new()New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.
CompCsvFileConn$new(...)
...All parameters are passed to the super class initializer.
Nothing.
clone()The objects of this class are cloneable with this method.
CompCsvFileConn$clone(deep = FALSE)
deepWhether to make a deep clone.
Super class CsvFileConn.
# Create an instance with default settings:
mybiodb <- biodb::newInst()
# Get a connector:
chebi_file <- system.file("extdata", "chebi_extract.tsv", package="biodb")
conn <- mybiodb$getFactory()$createConn('comp.csv.file', url=chebi_file)
# Get an entry
e <- conn$getEntry('')
# Terminate instance.
mybiodb$terminate()