Robert Barta > RDF-AllegroGraph-Easy > RDF::AllegroGraph::Catalog4

Download:
RDF-AllegroGraph-Easy-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View/Report Bugs
Module Version: 0.04   Source   Latest Release: RDF-AllegroGraph-Easy-0.09

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 value O_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.

RDF::AllegroGraph

syntax highlighting: