Skip to main content
Rust4PM

ExtractionReport

What extract(super::extract::extract) produced, beyond the OCEL itself.

Serializable but not deserializable: ExtractionError carries &'static str fields (a
borrow no deserializer can manufacture), so this only ever crosses a bindings boundary
outbound, as a #[register_binding] return value.
Used as Input

0

functions accept this type

Used as Output

2

functions return this type

Type Definition

271 nested items
ExtractionReport— What extract(super::extract::extract) produced, beyond the OCEL itself.
errors*:Vec<ExtractionError>— Non-fatal problems collected while running: a policy configured to error
errors_suppressed*:u64— Non-fatal problems the run hit past MAX_REPORTED_ERRORS, which
finalize*:FinalizeReport— What a sink did during ExtractionSink::finalize, folded into
duplicates_removed*:u64— Repeated entity ids removed at finalize: a deferring sink's share of
objects_created*:u64— Objects synthesized at finalize under on_missing_endpoint: Create, for deferred
resolved_relations*:u64— Relations written against a Resolution::Deferred endpoint that resolved to a real
unresolved_endpoints*:u64— Relations whose deferred endpoint did not resolve. An eager sink counts these per mapping
per_mapping*:Vec<MappingStats>— One entry per mapping executed, in desugared blueprint order: the order the author wrote
pushdown_declined*:Vec<PushdownDeclined>— Nodes whose source could have executed the whole node but the compiler declined to build
rows_materialized*:u64— Rows every Join/Union materialization this run performed produced, summed across
timing:Option<ExtractionTiming>— Where the run's wall-clock time went.
variant 2:()

Example JSON Value

json
{
  "errors": [
    {
      "Invalid": [
        {
          "found": 1,
          "supported": 1,
          "type": "unsupported-version"
        }
      ]
    }
  ],
  "errors_suppressed": 1,
  "finalize": {
    "duplicates_removed": 1,
    "objects_created": 1,
    "resolved_relations": 1,
    "unresolved_endpoints": 1
  },
  "per_mapping": [
    {
      "deduplicated": 1,
      "dropped": {
        "something": 1
      },
      "entities_emitted": 1,
      "mapping": {
        "describes": "example",
        "index": 1,
        "path": "example"
      },
      "rows_read": 1
    }
  ],
  "pushdown_declined": [
    {
      "node": "example",
      "reason": {
        "SynthesizedId": {
          "field": "example"
        }
      }
    }
  ],
  "rows_materialized": 1
}

Functions Returning This Type(2)