filehashDB1-class {filehash} | R Documentation |
An implementation of filehash databases using a single large file
## S4 method for signature 'filehashDB1,character'
dbInsert(db, key, value, ...)
## S4 method for signature 'filehashDB1,character'
dbFetch(db, key, ...)
## S4 method for signature 'filehashDB1,character'
dbMultiFetch(db, key, ...)
## S4 method for signature 'filehashDB1,character'
dbExists(db, key, ...)
## S4 method for signature 'filehashDB1'
dbList(db, ...)
## S4 method for signature 'filehashDB1,character'
dbDelete(db, key, ...)
## S4 method for signature 'filehashDB1'
dbUnlink(db, ...)
## S4 method for signature 'filehashDB1'
dbReorganize(db, ...)
db |
a filehashDB1 object |
key |
character, the name of an R object in the database |
value |
an R object |
... |
arguments passed to other methods |
For dbMultiFetch
, key
is a character vector of keys.
dbInsert(db = filehashDB1, key = character)
: Insert an R object into a filehashDB1 database
dbFetch(db = filehashDB1, key = character)
: Retrieve an object from a filehash DB1 database
dbMultiFetch(db = filehashDB1, key = character)
: Retrieve multiple objects from a filehash DB1 database
dbExists(db = filehashDB1, key = character)
: Determine if a key exists in a filehash DB1 database
dbList(filehashDB1)
: Return a character vector containing all keys in a database
dbDelete(db = filehashDB1, key = character)
: Delete a key and it's corresponding object from a filehashDB1 database
dbUnlink(filehashDB1)
: Delete an entire filehashDB1 database
dbReorganize(filehashDB1)
: Reorganize and compactify a filehahsDB1 database
datafile
full path to the database file (filehashDB1 only)
meta
list containing an environment for database metadata (filehashDB1 only)