---
name: "AtteanX::Store::LMDB"
section: "3pm"
platform: "linux"
package: "libatteanx-store-lmdb-perl"
version: "0.001-3"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/AtteanX::Store::LMDB"
---

# 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  `"<gwilliams@cpan.org>"`

## 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.
