Attean::API::BulkUpdatableModel - Role representing models that can perform bulk update operations
This document describes Attean::API::BulkUpdatableModel version 0.022
use v5.14; use Attean;
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.
load_triples
add_iter
add_list
begin_bulk_updates
end_bulk_updates
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.
get_quads
get_bindings
count_quads
get_graphs
subject
predicate
object
graph
Classes consuming this role must provide the following methods:
Indicates that all subsequent updates (until a call to end_bulk_updates) should be performed in bulk.
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.
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/attean/issues.
Gregory Todd Williams <gwilliams@cpan.org>
<gwilliams@cpan.org>
Copyright (c) 2014--2019 Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Attean, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Attean
CPAN shell
perl -MCPAN -e shell install Attean
For more information on module installation, please visit the detailed CPAN module installation guide.