Class SearchContextStats

java.lang.Object
org.elasticsearch.xpack.esql.stats.SearchContextStats
All Implemented Interfaces:
SearchStats

public class SearchContextStats extends Object implements SearchStats
This class provides SearchStats from a list of SearchExecutionContext's. It contains primarily a cache of FieldStats which is dynamically updated as needed. Each FieldStats contains FieldConfig information which is populated once at creation time. The remaining statistics are lazily computed and cached only on demand. This cache is not thread-safe.