Reference

AtteanX::Store::LMDB(3pm)

LMDB-based RDF store

NAME

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

VERSION

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

SYNOPSIS

 use AtteanX::Store::LMDB;

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.

BUGS

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

AUTHOR

Gregory Todd Williams "<[email protected]>"

SEE ALSO

•

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

COPYRIGHT

Copyright (c) 2020 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

History