The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pg::Explain::From - Base class for parsers of non-text explain formats.

VERSION

Version 0.68

SYNOPSIS

It's internal class to wrap some work. It should be used by Pg::Explain, and not directly.

FUNCTIONS

new

Object constructor.

parse_source

Function which parses actual plan, and constructs Pg::Explain::Node objects which represent it.

Returns Top node of query plan.

normalize_node_struct

Simple function to let subclasses change the real keys that should be used when parsing structure.

This is (currently) useful only for XML parser.

make_node_from

Converts single node from structure obtained from source into Pg::Explain::Node class.

Recurses when necessary to get subnodes.

AUTHOR

hubert depesz lubaczewski, <depesz at depesz.com>

BUGS

Please report any bugs or feature requests to depesz at depesz.com.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Pg::Explain

COPYRIGHT & LICENSE

Copyright 2008 hubert depesz lubaczewski, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.