Skip to content

MCRuleComparison

Detailed information about the comparison logic of a Monte Carlo rule.

Complete reference

This is a complete reference for the MCRuleComparison struct in Atlan, showing all of its embedded properties. For an introduction, you probably want to start with:

  • Snippets — small, atomic examples of single-step use cases.
  • Patterns — walkthroughs of common multi-step implementation patterns.

Embedded properties

These are the attributes embedded within each instance of the MCRuleComparison struct in an asset:

mcRuleComparisonType

Type of comparison, for example threshold.

mcRuleComparisonField

Field being compared.

mcRuleComparisonMetric

Metric being compared.

mcRuleComparisonOperator

Operator used for the comparison, for example greater than (GT).

mcRuleComparisonThreshold

Threshold being compared.

mcRuleComparisonIsThresholdRelative

Whether the threshold comparison is relative (true) or absolute (false).