CompCsvFileConn: Compound CSV File connector class.

CompCsvFileConnR Documentation

Compound CSV File connector class.

Description

Compound CSV File connector class.

Compound CSV File connector class.

Details

This is the connector class for a Compound CSV file database.

Super classes

biodb::BiodbConnBase -> biodb::BiodbConn -> biodb::CsvFileConn -> CompCsvFileConn

Methods

Public methods

Inherited methods

Method new()

New instance initializer. Connector classes must not be instantiated directly. Instead, you must use the createConn() method of the factory class.

Usage
CompCsvFileConn$new(...)
Arguments
...

All parameters are passed to the super class initializer.

Returns

Nothing.


Method clone()

The objects of this class are cloneable with this method.

Usage
CompCsvFileConn$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

See Also

Super class CsvFileConn.

Examples

# 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()


pkrog/biodb documentation built on Nov. 29, 2022, 4:24 a.m.