Class ParameterizedQueryExec

All Implemented Interfaces:
NamedWriteable, Writeable

public class ParameterizedQueryExec extends LeafExec
Physical plan node representing a lookup source operation. This represents the source of a lookup query before conversion to operators. The QueryList is created later during operator creation from a factory and will receive the Page to operate on in the runtime when we call queryList.getQuery(position, inputPage).
  • Constructor Details

  • Method Details

    • output

      public List<Attribute> output()
      Description copied from class: QueryPlan
      The ordered list of attributes (i.e. columns) this plan produces when executed. Must be called only on resolved plans, otherwise may throw an exception or return wrong results.
      Specified by:
      output in class QueryPlan<PhysicalPlan>
    • matchFields

      public List<MatchConfig> matchFields()
    • joinOnConditions

      @Nullable public Expression joinOnConditions()
    • query

      @Nullable public QueryBuilder query()
    • emptyResult

      public boolean emptyResult()
    • withQuery

      public ParameterizedQueryExec withQuery(QueryBuilder query)
    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Throws:
      IOException
    • getWriteableName

      public String getWriteableName()
    • info

      protected NodeInfo<ParameterizedQueryExec> info()
      Description copied from class: Node
      Normally, you want to use one of the static create methods to implement this.

      For QueryPlans, it is very important that the properties contain all of the expressions and references relevant to this node, and that all the properties are used in the provided constructor; otherwise query plan transformations like QueryPlan#transformExpressionsOnly(Function) will not have an effect.

      Specified by:
      info in class Node<PhysicalPlan>
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in class PhysicalPlan
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class PhysicalPlan