| RDF-AllegroGraph-Easy documentation | view source | Contained in the RDF-AllegroGraph-Easy distribution. |
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.
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.
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.
This method returns the protocol version the catalog supports.
Robert Barta, <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-Easy documentation | view source | Contained in the RDF-AllegroGraph-Easy distribution. |