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

NAME

Data::Seek::Search::Result - Data::Seek Search Result Class

VERSION

version 0.09

SYNOPSIS

    use Data::Seek::Search::Result;

DESCRIPTION

Data::Seek::Search::Result is a class within Data::Seek which provides access to the search results produced by Data::Seek::Search.

ATTRIBUTES

datasets

    my $datasets = $result->datasets;

Perform the search and introspection using the search object, Data::Seek::Search, and cache the resulting data set. This attribute returns a Data::Object::Array object.

    my $search = $result->search;

Reference the search object, Data::Seek::Search, which the resulting data set is derived from.

METHODS

data

    my $data = $result->data;

Produce a Data::Object::Hash object, i.e. a hash reference, comprised of only the nodes matching the criteria used in the search.

nodes

    my $nodes = $result->nodes;

Produce a Data::Object::Array object, comprised of only the node keys/paths matching the criteria used in the search.

values

    my $values = $result->values;

Produce a Data::Object::Array object, comprised of only the values matching the criteria used in the search.

AUTHOR

Al Newkirk <anewkirk@ana.io>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Al Newkirk.

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