RDF::AllegroGraph::Catalog4 - AllegroGraph catalog handle for AGv4
The constructor will try to connect to the server and will die if fetching the repositories (even the empty list) fails.
die
Removes the named catalog from the server.
NOTE: I have no idea what happens with any repositories in there.
@repos = $cat->repositories
This method returns a list of RDF::AllegroGraph::Repository objects of this catalog.
$repo = $cat->repository ($repo_id [, $mode ])
This method returns an RDF::AllegroGraph::Repository object for the repository with the provided id. That id always has the form /somerepository.
/somerepository
If that repository does not exist in the catalog, then an exception cannot open will be raised. That is, unless the optional mode is provided having the POSIX value O_CREAT. Then the repository will be created.
cannot open
O_CREAT
This method returns the protocol version the catalog supports.
Robert Barta, <rho at devc.at>
<rho at devc.at>
Copyright 20(09|10|11) Robert Barta, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
RDF::AllegroGraph
To install RDF::AllegroGraph::Easy, copy and paste the appropriate command in to your terminal.
cpanm
cpanm RDF::AllegroGraph::Easy
CPAN shell
perl -MCPAN -e shell install RDF::AllegroGraph::Easy
For more information on module installation, please visit the detailed CPAN module installation guide.