Table of Contents

Class QueryItem

Namespace
Opossum.Core
Assembly
Opossum.dll

A single filter clause within a Query.

public record QueryItem : IEquatable<QueryItem>
Inheritance
QueryItem
Implements
Inherited Members

Remarks

Within one QueryItem:

  • EventTypes entries are combined with OR — an event matches if it has any of the listed types.
  • Tags entries are combined with AND — an event must carry all listed tags.
  • When both EventTypes and Tags are present the two groups are AND-ed together.

Multiple QueryItems in a Query are combined with OR.

Properties

EventTypes

Event types to match. An event matches if it has ANY of these types (OR logic).

public IReadOnlyList<string> EventTypes { get; init; }

Property Value

IReadOnlyList<string>

Tags

Tags to match. An event matches if it has ALL of these tags (AND logic).

public IReadOnlyList<Tag> Tags { get; init; }

Property Value

IReadOnlyList<Tag>