1Attean::API::BulkUpdataUbsleerMoCdoenlt(r3i)buted Perl DAotctuemaenn:t:aAtPiIo:n:BulkUpdatableModel(3)
2
3
4

NAME

6       Attean::API::BulkUpdatableModel - Role representing models that can
7       perform bulk update operations
8

VERSION

10       This document describes Attean::API::BulkUpdatableModel version 0.030
11

SYNOPSIS

13         use v5.14;
14         use Attean;
15

DESCRIPTION

17       This is a Moo role for Attean::API::MutableModels that can perform bulk
18       update operations.
19
20       Model-provided mutating methods (e.g. "load_triples", "add_iter", and
21       "add_list") are automatically wrapped in matching "begin_bulk_updates"
22       and "end_bulk_updates" calls.
23
24       Read-only model methods (e.g. "get_quads", "get_bindings",
25       "count_quads", "get_graphs", "subject", "predicate", "object", and
26       "graph") are automatically preceded by a "end_bulk_updates" call.
27

REQUIRED METHODS

29       Classes consuming this role must provide the following methods:
30
31       "begin_bulk_updates"
32           Indicates that all subsequent updates (until a call to
33           "end_bulk_updates") should be performed in bulk.
34
35       "end_bulk_updates"
36           Indicates that pending bulk updates should be performed. The model
37           must allow calls to this method, even when no matching call to
38           "begin_bulk_updates" was made.
39

BUGS

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

SEE ALSO

AUTHOR

46       Gregory Todd Williams  "<gwilliams@cpan.org>"
47
49       Copyright (c) 2014--2020 Gregory Todd Williams.  This program is free
50       software; you can redistribute it and/or modify it under the same terms
51       as Perl itself.
52
53
54
55perl v5.34.0                      2022-01-20Attean::API::BulkUpdatableModel(3)
Impressum