RDF::Trine::Parser::LineProtocol3pm
Rdf lineprotocol parser
Usage
use RDF::Trine::Parser::LineProtocol;my $serializer = RDF::Trine::Parser::LineProtocol->new();
Version
This document describes RDF::Trine::Parser::LineProtocol version 1.019
Overview
The RDF::Trine::Parser::LineProtocol class provides A line-based protocol for querying and updating triple/quad stores.
Methods
- "handle_op ( $op, $handler, $lineno )"
-
Handles the RDF::Trine::Parser::RDFPatch::Op operation object. For 'A'dd operations, the
$handlercallback is called with the RDF statement. Otherwise an exception is thrown.
- "parse_line ( $line, $base )"
-
Parses the Line Protocol string
$lineand returns the corresponding RDF::Trine::Parser::RDFPatch::Op object.
- "execute_line ( $line, $model, $out )"
-
Parses the Line Protocol string
$lineand executes the parsed operation using the supplied$model. If the operation returns results (in the case of a Query operation), they are printed to the$outfile handle.
Releases
6 releases since Debian 8 (Jessie); the text changed 4 times.