logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

AtteanX::Store::LMDB - LMDB-based RDF store

Author

       Gregory Todd Williams  "<gwilliams@cpan.org>"

Bugs

       Please   report   any   bugs   or   feature   requests   to   through   the   GitHub   web  interface  at
       <https://github.com/kasei/perlrdf2/issues>.

Description

       AtteanX::Store::LMDB provides a persistent quad-store based on LMDB.

Methods

       Beyond the methods documented below, this class inherits methods from the Attean::API::QuadStore class.

       "new ()"
           Returns a new LMDB-backed store object.

       "size"
           Returns the number of quads in the store.

       "get_quads ( $subject, $predicate, $object, $graph )"
           Returns  a  stream  object  of  all statements matching the specified subject, predicate, object, and
           graph. Any of the arguments may be undef to match any value.

       "get_graphs"
           Returns an iterator over the Attean::API::Term objects comprising the set of  graphs  of  the  stored
           quads.

       "add_quad ( $quad )"
           Adds the specified $quad to the underlying model.

       "remove_quad ( $statement )"
           Removes the specified $statement from the underlying model.

       create_graph( $graph )
           This is a no-op function for the memory quad-store.

       drop_graph( $graph )
           Removes all quads with the given $graph.

       clear_graph( $graph )
           Removes all quads with the given $graph.

Name

       AtteanX::Store::LMDB - LMDB-based RDF store

See Also

       •   Diomede <https://github.com/kasei/diomede/> is a Swift LMDB-based quadstore that shares the same file
           format as this module.

Synopsis

        use AtteanX::Store::LMDB;

Version

       This document describes AtteanX::Store::LMDB version 0.001

See Also