KiokuDB::Entry(3pm) | User Contributed Perl Documentation | KiokuDB::Entry(3pm) |
KiokuDB::Entry - An entry in the database
version 0.57
KiokuDB::Entry->new( id => ..., data => ... );
This object provides the meta data for a single storage entry.
If there is no ID then the entry is intrinsic.
In the future this might be a complex structure for anonymous classes, e.g. the class and the runtime roles.
"data" is assumed to be a reference or an intrinsic entry for the object driving the tied structure (e.g. the "tied(%hash)").
The last entry that was loaded from the store, or successfully written to the store for a given UUID is kept in the live object set.
The collapser creates transient Entry objects, which if written to the store successfully replace the previous one.
For instance, this is used in the CouchDB backend to track entry revisions for the opportunistic locking, and in KiokuDB::Backend::BDB::GIN to to store extracted keys.
Deletion entries can be generated using the "deletion_entry" method, which creates a new derived entry with no data but retaining the ID.
Yuval Kogman <nothingmuch@woobling.org>
This software is copyright (c) 2014 by Yuval Kogman, Infinity Interactive.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
2022-05-23 | perl v5.34.0 |