Class ProbePlan.Builder

  • Enclosing class:
    ProbePlan

    public static class ProbePlan.Builder
    extends Object
    Mutable accumulator for a plan around a fixed query.
    • Constructor Detail

      • Builder

        public Builder​(Query query)
        Creates a builder for a query.
        Parameters:
        query - the query to plan
    • Method Detail

      • staticFilter

        public ProbePlan.Builder staticFilter​(StaticFilter filter)
        Sets the scope prefilter applied before conditions are evaluated.
        Parameters:
        filter - the prefilter, or null for none
        Returns:
        this builder
      • build

        public ProbePlan build()
        Returns:
        the plan holding the query and prefilter