Data::AnyXfer::Elastic::Import::Storage::TarFile - Tar-based import storage
my $storage = Data::AnyXfer::Elastic::Import::Storage::TarFile->new( file => Path::Class::file('myfile.tar') ); $storage->set( company => 'Limited', address => 'Building One, Chiswick Park, 566 Chiswick High Road, London W4 5BE', regno => 1680058, ); $storage->save;
This module implements Data::AnyXfer::Elastic::Import::Storage, based on Archive::Tar::File tar files.
The tar file is created on "save" in Data::AnyXfer::Elastic::Import::Storage.
It represents items as single files within the tar file, and can only store printable characters (i.e. any complex content should be serialised to a representable format before being passed to this module to store).
Optional. The final file that data should be persisted to.
Please see Data::AnyXfer::Elastic::Import::Storage and Data::AnyXfer::Elastic::Import::Storage::Directory for the interface definition and information.
Shorthand for Path::Class::File::open
Path::Class::File::open
This software is copyright (c) 2019, Anthony Lucas.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Data::AnyXfer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::AnyXfer
CPAN shell
perl -MCPAN -e shell install Data::AnyXfer
For more information on module installation, please visit the detailed CPAN module installation guide.