MetaCPAN::Client::ResultSet(3pm)

MetaCPAN::Client::ResultSet3pm

A result set

Version

version 2.033000

Overview

Object representing a result from Elastic Search. This is used for the complex (as in non-simple) queries to MetaCPAN. It provides easy access to the scroller and aggregations.

Attributes

scroller

An MetaCPAN::Client::Scroll object.

items

An arrayref of items to manually scroll over, instead of a scroller object.

type

The entity of the result set. Available types:

•

author

•

distribution

•

module

•

release

•

favorite

•

file

aggregations

The aggregations available in the Elastic Search response.

Methods

next

Iterator call to fetch the next result set object.

total

Iterator call to fetch the total amount of objects available in result set.

has_scroller

Predicate for ES scroller presence.

Buildargs

Double checks construction of objects. You should never run this yourself.

Build

Validates the object. You should never run this yourself.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Authors

•

Sawyer X <[email protected]>

•

Mickey Nasriachi <[email protected]>

From libmetacpan-client-perl 2.033000-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.