Class EstimatesRowSize.State

java.lang.Object
org.elasticsearch.xpack.esql.plan.physical.EstimatesRowSize.State
Enclosing interface:
EstimatesRowSize

public static final class EstimatesRowSize.State extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    add(boolean needsSortedDocIds, int bytes)
    Model an operator that has a fixed overhead.
    void
    add(boolean needsSortedDocIds, List<? extends Expression> expressions)
    Model an operator that adds fields.
    int
    consumeAllFields(boolean producesUnsortedDocIds)
    Model an operator that consumes all fields.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • State

      public State()
  • Method Details

    • add

      public void add(boolean needsSortedDocIds, int bytes)
      Model an operator that has a fixed overhead.
    • add

      public void add(boolean needsSortedDocIds, List<? extends Expression> expressions)
      Model an operator that adds fields.
    • consumeAllFields

      public int consumeAllFields(boolean producesUnsortedDocIds)
      Model an operator that consumes all fields.
      Returns:
      the number of bytes added to pages emitted by the operator being modeled
    • toString

      public String toString()
      Overrides:
      toString in class Object