Gregory Williams > RDF-Query > RDF::Query::Plan

Download:
RDF-Query-2.200.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
Report a bug
Module Version: 2.200   Source  

NAME ^

RDF::Query::Plan - Executable query plan nodes.

VERSION ^

This document describes RDF::Query::Plan version 2.200, released 6 August 2009.

METHODS ^

new
execute ( $execution_context )
next
get_all

Returns all remaining rows.

close
state ( [ $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_keys
sse
serialize

Return a serialization of the query plan.

referenced_variables

Returns 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.

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_labels
generate_plans ( $algebra, $execution_context, %args )

Returns a list of equivalent query plan objects for the given algebra object.

prune_plans ( $context, @plans )
plan_node_name

Returns the string name of this plan node, suitable for use in serialization.

plan_prototype

Returns a list of scalar identifiers for the type of the content (children) nodes of this plan node. These identifiers are recognized:

* 'P' - A RDF::Query::Plan object * 'T' - An RDF::Trine::Statement object * 'Q' - An RDF::Trine::Statement::Quad object * 'N' - An RDF node * 'W' - An RDF node or wildcard ('*') * 'E' - An expression (either an RDF::Query::Expression object or an RDF node) * 'J' - A valid Project node (an RDF::Query::Expression object or an Variable node) * 'V' - A variable binding set (an object of type RDF::Query::VariableBindings) * 'u' - A valid URI string * 'i' - An integer * 'b' - A boolean integer value (0 or 1) * 's' - A string * 'w' - A bareword string * '\X' - An array reference of X nodes (where X is another identifier scalar) * '*X' - A list of X nodes (where X is another identifier scalar)

plan_node_data

Returns the data for this plan node that corresponds to the values described by the signature returned by plan_prototype.

AUTHOR ^

 Gregory Todd Williams <gwilliams@cpan.org>