DAOS API: daos_filter_t Struct Reference

| DAOS API (v2.1 - dev)

Loading...
Searching...
No Matches
daos_filter_t Struct Reference

`#include <daos_pipeline.h>`

## Data Fields
d_iov_t | filter_type
uint32_t | num_parts
daos_filter_part_t ** | parts

## Detailed Description

A filter object, used to build a pipeline.

Definition at line 116 of file daos_pipeline.h.

## Field Documentation

## ◆ filter_type

d_iov_t filter_type

Filter type can be any of the following: – DAOS_FILTER_CONDITION: Records in, and records (meeting condition) out – DAOS_FILTER_AGGREGATION: Records in, a single value out (see aggregation functions above)

NOTE: Pipeline nodes can only be chained the following way: (condition) --> (condition) (condition) --> (aggregation) (aggregation) --> (aggregation)*

*chained aggregations are actually done in parallel. For example, the following pipeline: (condition) --> (aggregation1) --> (aggregation2) is actually executed as: -> (aggregation1) (condition) -| -> (aggregation2)

Definition at line 137 of file daos_pipeline.h.

## ◆ num_parts

uint32_t num_parts

Number of filter parts inside this pipeline filter

Definition at line 141 of file daos_pipeline.h.

## ◆ parts

daos_filter_part_t** parts

Array of filter parts for this filter object

Definition at line 145 of file daos_pipeline.h.

The documentation for this struct was generated from the following file:

- src/include/daos_pipeline.h