RDF::AllegroGraph::Catalog4 - AllegroGraph catalog handle for AGv4


RDF-AllegroGraph-Easy documentation  | view source Contained in the RDF-AllegroGraph-Easy distribution.

Index


NAME

Top

RDF::AllegroGraph::Catalog4 - AllegroGraph catalog handle for AGv4

INTERFACE

Top

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

Top

Robert Barta, <rho at devc.at>

COPYRIGHT & LICENSE

Top


RDF-AllegroGraph-Easy documentation  | view source Contained in the RDF-AllegroGraph-Easy distribution.