filehashSQLite: Filehash SQLite Class

filehashSQLiteR Documentation

Filehash SQLite Class

Description

Filehash SQLite Class

Slots

datafile

character, full path to the file in which the database should be stored

dbcon

Object of class “SQLiteConnection”, a SQLite connection

drv

‘SQLite’ driver

name

character, the name of the database

Note

“filehashSQLite” databases have a "[" method that can be used to extract multiple elements in an efficient manner. The return value is a list with names equal to the keys passed to "[". If there are keys passed to "[" that do not exist in the database, a warning is given.

The “SQLite” format for filehash uses an ASCII serialization of the data which could result in some rounding error for floating point numbers.

Note that if you use keys that are numbers coerced to character vectors, then you may have trouble with them being coerced to numeric. The SQLite database will see these key values and automatically convert them to numbers.


rdpeng/filehashsqlite documentation built on May 18, 2022, 5:52 a.m.