Official methods IO::Adapter provides currently follow:
new() open() close() get_next_key() add(KEY) delete(KEY) getpos() setpos(NUM) eof() touch() find(REGEXP, $args)
KEY is a primary key to handle database access. In almost cases, the primary key is a mail address. REGEXP is a regular expression (regexp), this is usually also a mail address.
Unification of all types of IO needs that we should implement least methods.
The currently implemented methods are selected by test and our operations. If could, we refer SQL IO more than file IO as an abstraction base model of IO::Adapter. It introduces difference between fml4 and fml8 but it is mandatory for further abstraction.
Copyright (C) 1993-2018 Ken'ichi Fukamachi mail:< fukachan at fml.org >