1RDF::Query::Plan::ServiUcsee(r3)Contributed Perl DocumenRtDaFt:i:oQnuery::Plan::Service(3)
2
3
4
6 RDF::Query::Plan::Service - Executable query plan for remote SPARQL
7 queries.
8
10 This document describes RDF::Query::Plan::Service version 2.918.
11
13 Beyond the methods documented below, this class inherits methods from
14 the RDF::Query::Plan class.
15
16 "new ( $endpoint, $plan, $silent, $sparql, [ \%logging_keys ] )"
17 Returns a new SERVICE (remote endpoint call) query plan object.
18 "<$endpoint"> is the URL of the endpoint (as a node object).
19 "<$plan"> is the query plan representing the query to be sent to
20 the remote endpoint (needed for cost estimates). "<$sparql"> is the
21 serialized SPARQL query to be sent to the remote endpoint. Finally,
22 if present, "<%logging_keys"> is a HASH containing the keys to use
23 in logging the execution of this plan. Valid HASH keys are:
24
25 * bf - The bound/free string representing C<<$plan>>
26
27 "new_from_plan ( $endpoint, $plan, $context )"
28 Returns a new SERVICE query plan object. "<$endpoint"> is the URL
29 of the endpoint (as a string). "<$plan"> is the query plan
30 representing the query to be sent to the remote endpoint. The exact
31 SPARQL serialization that will be used is obtained by getting the
32 originating RDF::Query::Algebra object from "<$plan">, and
33 serializing it (with the aid of the RDF::Query::ExecutionContext
34 object "<$context">).
35
36 "execute ( $execution_context )"
37 "next"
38 "close"
39 "endpoint"
40 "sparql"
41 Returns the SPARQL query (as a string) that will be sent to the
42 remote endpoint.
43
44 "lhs"
45 "silent"
46 Returns a boolean value indicating whether the service plan will
47 ignore errors.
48
49 "pattern"
50 Returns the query plan that will be used in the remote service
51 call.
52
53 "distinct"
54 Returns true if the pattern is guaranteed to return distinct
55 results.
56
57 "ordered"
58 Returns true if the pattern is guaranteed to return ordered
59 results.
60
61 "plan_node_name"
62 Returns the string name of this plan node, suitable for use in
63 serialization.
64
65 "plan_prototype"
66 Returns a list of scalar identifiers for the type of the content
67 (children) nodes of this plan node. See RDF::Query::Plan for a list
68 of the allowable identifiers.
69
70 "plan_node_data"
71 Returns the data for this plan node that corresponds to the values
72 described by the signature returned by "plan_prototype".
73
74 "graph ( $g )"
75 "explain"
76 Returns a string serialization of the query plan appropriate for
77 display on the command line.
78
80 Gregory Todd Williams <gwilliams@cpan.org>
81
82
83
84perl v5.36.0 2023-01-20 RDF::Query::Plan::Service(3)