Class StatsCollectorSupplierFactory

  • java.lang.Object
    • Method Detail

      • create

        public static Supplier<StatsCollector[]> create(IndexSchema schema,
                                                        List<ExpressionRequest> exRequests)
        Builds a Supplier that will generate identical arrays of new StatsCollectors.
        schema - The Schema being used.
        exRequests - The expression requests to generate a StatsCollector[] from.
        A Supplier that will return an array of new StatsCollector.
      • getStatistics

        public static Set<StringgetStatistics(String expression)
        Finds the set of statistics that must be computed for the expression.
        expression - The string representation of an expression
        The set of statistics (sum, mean, median, etc.) found in the expression