Pg::Explain::Analyzer - Some helper methods to analyze explains
Version 0.97
This is to be used in analysis/statistical tools. Sample usage:
use Pg::Explain; use Pg::Explain::Analyzer; use Data::Dumper; my $explain = Pg::Explain->new('source_file' => 'some_file.out'); my $analyzer = Pg::Explain::Analyzer->new( $explain ); print Dumper($analyzer->all_node_types);
Object constructor.
Takes one argument - Pg::Explain object.
Getter/setter of explain object.
Returns list (arrayref) with names of all nodes in analyzed explain.
Returns list (arrayref) where each element is array of node types from top level to "current".
Elements in final arrays are node types.
hubert depesz lubaczewski, <depesz at depesz.com>
<depesz at depesz.com>
Please report any bugs or feature requests to depesz at depesz.com.
depesz at depesz.com
You can find documentation for this module with the perldoc command.
perldoc Pg::Explain
Copyright 2008-2015 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.
To install Pg::Explain, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pg::Explain
CPAN shell
perl -MCPAN -e shell install Pg::Explain
For more information on module installation, please visit the detailed CPAN module installation guide.