RDF::Trine::Model::Union - Union models for joining multiple stores together


RDF-Trine documentation  | view source Contained in the RDF-Trine distribution.

Index


NAME

Top

RDF::Trine::Model::Union - Union models for joining multiple stores together

VERSION

Top

This document describes RDF::Trine::Model::Union version 0.135

METHODS

Top

Beyond the methods documented below, this class inherits methods from the RDF::Trine::Model class.

new ( @stores )

Returns a new union-model over the list of supplied rdf stores.

add_statement ( $statement [, $context] )

Adds the specified $statement to the first rdf store.

remove_statement ( $statement [, $context])

Removes the specified $statement from all of the rdf stores.

remove_statements ( $subject, $predicate, $object [, $context])

Removes all statements matching the supplied $statement pattern from all of the rdf stores.

count_statements ($subject, $predicate, $object)

Returns a count of all the statements matching the specified subject, predicate and objects. Any of the arguments may be undef to match any value.

get_statements ($subject, $predicate, $object [, $context] )

Returns a stream object of all statements matching the specified subject, predicate and objects from all of the rdf stores. Any of the arguments may be undef to match any value.

AUTHOR

Top

Gregory Todd Williams <gwilliams@cpan.org>

COPYRIGHT

Top


RDF-Trine documentation  | view source Contained in the RDF-Trine distribution.