OBJECT

StatsProvider

This is the default implementation of the StatsProviderInterface

link GraphQL Schema definition

  • type StatsProvider implements StatsProviderInterface {
  • # Information about this provider
  • providerInfo: StatsProviderInfo!
  • # Stats query interface that must be implemented by a provider
  • #
  • # Arguments
  • # entityId: Optional list of entityIds to query for stats.
  • # If no entityIds are specified, the stats are queried based on the input
  • # Note that entity stats queries with the registered namesapce will be redirected
  • # to this query interface
  • # via the EntityStatsDataLoader and so will submit batches of queries typically
  • # with 1000 entityIds in each batch
  • # and if with a list of EntityIds in each batch, it's the responsibility of the
  • # implementor to subdivide
  • # if a smaller batch size is required (e.g. vRNI requires individual stats
  • # queries).
  • # input: Query parameters
  • queryStats(entityId: [EntityId!], input: StatsInput): [Stats!]
  • }