Class EstimatesRowSize.State
java.lang.Object
org.elasticsearch.xpack.esql.plan.physical.EstimatesRowSize.State
- Enclosing interface:
EstimatesRowSize
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(boolean needsSortedDocIds, int bytes) Model an operator that has a fixed overhead.voidadd(boolean needsSortedDocIds, List<? extends Expression> expressions) Model an operator that adds fields.intconsumeAllFields(boolean producesUnsortedDocIds) Model an operator that consumes all fields.toString()
-
Constructor Details
-
State
public State()
-
-
Method Details
-
add
public void add(boolean needsSortedDocIds, int bytes) Model an operator that has a fixed overhead. -
add
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
-