NAME
RDF::AllegroGraph::Catalog4 - AllegroGraph catalog handle for AGv4
INTERFACE
Constructor
The constructor will try to connect to the server and will die
if fetching the repositories (even the empty list) fails.
Methods
- disband
-
Removes the named catalog from the server.
NOTE: I have no idea what happens with any repositories in there.
- repositories
-
@repos = $cat->repositories
This method returns a list of RDF::AllegroGraph::Repository objects of this catalog.
- repository
-
$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 valueO_CREAT
. Then the repository will be created. - protocol
-
This method returns the protocol version the catalog supports.
AUTHOR
Robert Barta, <rho at devc.at>
COPYRIGHT & LICENSE
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.