Data::Beacon::DBI - Stores a BEACON in a database
The current version is just a draft.
...may return undef...
Get and/or set one or more meta fields. Returns a hash (no arguments), or string or undef (one argument), or croaks on invalid arguments.
Return all meta fields, serialized and sorted as string. This method is derived from Data::Beacon.
Returns the number of links in this Beacon, or zero.
Always returns zero.
Returns the last error message (if any). This method is derived from Data::Beacon.
Returns the current number of errors or zero.
Iterate over all links.
You can pass a
Return the next link when iterating (as array reference), or undef.
Returns the last valid link, that has been read. Implemented in Data::Beacon.
Expand an link with PREFIX and TARGET,
Does not call
meta but uses the cached meta values.
Returns an array instead of an array reference!
TODO: Should be moved to Data::Beacon.
The following methods are not implemented yet.
Insert, replace or remove links.
Copyright (C) 2010 by Verbundzentrale Goettingen (VZG) and Jakob Voss
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
In addition you may fork this library under the terms of the GNU Affero General Public License.