Skip to main content

PathSchemaDiscovery

Result of discover_path_schemas.
Used as Input

0

functions accept this type

Used as Output

1

function return this type

Type Definition

44 nested items
PathSchemaDiscoveryResult of discover_path_schemas.
equivalence_classes*:Vec<ConnectionEquivalenceClass>Connection-equivalence classes over the enumerated schemas.
schemas*:Vec<DiscoveredSchema>Enumerated schemas with their stats.
source_type*:StringSource entity type the query started from.
total_sources*:i64<uint>Total number of source-type entities.

Example JSON Value

{
  "equivalence_classes": [
    {
      "connection_count": 1,
      "representative": "example",
      "schemas": [
        "example"
      ]
    }
  ],
  "schemas": [
    {
      "equivalence_class": 1,
      "index": 1,
      "is_dead": false,
      "length": 1,
      "limit_reached": false,
      "schema": "example",
      "selectivity_pruned": false,
      "source": {
        "Event": "example"
      },
      "stats": {
        "metrics": {
          "coverage": 0.2,
          "exclusivity": 0.2,
          "path_count": 1,
          "reach": 0.2,
          "selectivity": 0.2,
          "sources_with_paths": 1,
          "support": 1,
          "total_sources": 1
        }
      },
      "target": {
        "Event": "example"
      }
    }
  ],
  "source_type": "example",
  "total_sources": 1
}

Functions Returning This Type(1)