Class PlanStreamInput.NameIdMapper

java.lang.Object
org.elasticsearch.xpack.esql.io.stream.PlanStreamInput.NameIdMapper
All Implemented Interfaces:
LongFunction<NameId>
Enclosing class:
PlanStreamInput

public static class PlanStreamInput.NameIdMapper extends Object implements LongFunction<NameId>
A Mapper of stream named id, represented as a primitive long value, to NameId instance. The no-args NameId constructor is used for absent entries, as it will automatically select and increment an id from the global counter, thus avoiding potential conflicts between the id in the stream and id's during local re-planning on the data node.
  • Constructor Details

    • NameIdMapper

      public NameIdMapper()
  • Method Details