The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WARC::Index::Volatile - in-memory volume index for WARC library

SYNOPSIS

  use WARC::Index::Volatile;

  # using default column list
  $index = attach WARC::Index::Volatile ($warc_file);
  $index = attach WARC::Index::Volatile ($volume);

  # specifying columns to index
  $index = build WARC::Index::Volatile
    (from => [$warc_file, ...], columns => [ ... ]);
  # NOTE:  This use of build is unique to WARC::Index::Volatile!

DESCRIPTION

The WARC::Index::Volatile class provides an in-memory index implementation suitable for small-scale applications. Unusally for index systems, a volatile index object is also its own index builder.

Loading this module also registers a handler that allows WARC volumes to be treated as indexes when assembling a WARC::Collection.

AUTHOR

Jacob Bachmeyer, <jcb@cpan.org>

SEE ALSO

WARC, WARC::Index

COPYRIGHT AND LICENSE

Copyright (C) 2020 by Jacob Bachmeyer

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.