| RDF-Query documentation | view source | Contained in the RDF-Query distribution. |
newexecute ( $execution_context )nextget_allclosestate ( [ $state ] )logging_keysexplainsseserializereferenced_variablesas_iterator ( $context )is_updatelabel ( $label => $value )graph_labelsgenerate_plans ( $algebra, $execution_context, %args )plan_node_nameplan_prototypeplan_node_data
RDF::Query::Plan - Executable query plan nodes.
This document describes RDF::Query::Plan version 2.907.
newexecute ( $execution_context )nextget_allReturns all remaining rows.
closestate ( [ $state ] )Returns the current state of the plan (either READY, OPEN, or CLOSED).
If $state is provided, updates the plan to a new state.
logging_keysexplainReturns a string serialization of the query plan appropriate for display on the command line.
sseserializeReturn a serialization of the query plan.
referenced_variablesReturns a list of variable names that are referenced by this plan.
as_iterator ( $context )Returns an RDF::Trine::Iterator object for the current (already executed) plan.
is_updateReturns true if the plan represents an update operation.
label ( $label => $value )Sets the named $label to $value for this plan object.
If no $value is given, returns the current label value, or undef if none
exists.
graph_labelsgenerate_plans ( $algebra, $execution_context, %args )Returns a list of equivalent query plan objects for the given algebra object.
plan_node_nameReturns the string name of this plan node, suitable for use in serialization.
plan_prototypeReturns a list of scalar identifiers for the type of the content (children) nodes of this plan node. These identifiers are recognized:
* 'A' - An RDF::Query::Algebra object
* 'b' - A boolean integer value (0 or 1)
* 'E' - An expression (either an RDF::Query::Expression object or an RDF node)
* 'i' - An integer
* 'J' - A valid Project node (an RDF::Query::Expression object or an Variable node)
* 'N' - An RDF node
* 'P' - A RDF::Query::Plan object
* 'q' - A RDF::Query object
* 'Q' - An RDF::Trine::Statement::Quad object
* 's' - A string
* 'T' - An RDF::Trine::Statement object
* 'u' - A valid URI string
* 'V' - A variable binding set (an object of type RDF::Query::VariableBindings)
* 'w' - A bareword string
* 'W' - An RDF node or wildcard ('*')
* '*X' - A list of X nodes (where X is another identifier scalar)
* '\X' - An array reference of X nodes (where X is another identifier scalar)
plan_node_dataReturns the data for this plan node that corresponds to the values described by
the signature returned by plan_prototype.
Gregory Todd Williams <gwilliams@cpan.org>
| RDF-Query documentation | view source | Contained in the RDF-Query distribution. |