Attean::API::BulkUpdatableModel(3pm)

Attean::API::BulkUpdatableModel3pm

Role representing models that can perform bulk update operations

Usage

  use v5.14;
  use Attean;

Version

This document describes Attean::API::BulkUpdatableModel version 0.035

Overview

This is a Moo role for Attean::API::MutableModels that can perform bulk update operations.

Model-provided mutating methods (e.g. "load_triples", "add_iter", and "add_list") are automatically wrapped in matching "begin_bulk_updates" and "end_bulk_updates" calls.

Read-only model methods (e.g. "get_quads", "get_bindings", "count_quads", "get_graphs", "subject", "predicate", "object", and "graph") are automatically preceded by a "end_bulk_updates" call.

Required methods

Classes consuming this role must provide the following methods:

"begin_bulk_updates"

Indicates that all subsequent updates (until a call to "end_bulk_updates") should be performed in bulk.

"end_bulk_updates"

Indicates that pending bulk updates should be performed. The model must allow calls to this method, even when no matching call to "begin_bulk_updates" was made.

Releases

6 releases since Debian 8 (Jessie); the text changed 5 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

Bugs

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

Author

Gregory Todd Williams "<[email protected]>"

From libattean-perl 0.035-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.