Interface GeneratingPlan<PlanType extends GeneratingPlan<PlanType>>

All Known Implementing Classes:
Completion, Dissect, Enrich, Eval, Grok, InferencePlan, RegexExtract, Rerank

public interface GeneratingPlan<PlanType extends GeneratingPlan<PlanType>>
A plan that creates new Attributes and appends them to the child UnaryPlan's attributes. Attributes are appended on the right hand side of the child's input. In case of name conflicts, the rightmost attribute with a given name shadows any attributes left of it (c.f. NamedExpressions.mergeOutputAttributes(List, List)).
  • Method Details

    • generatedAttributes

      List<Attribute> generatedAttributes()
    • withGeneratedNames

      PlanType withGeneratedNames(List<String> newNames)
      Create a new instance of this node with new output Attributes using the given names. If an output attribute already has the desired name, we continue using it; otherwise, we create a new attribute with a new NameId.
    • checkNumberOfNewNames

      default void checkNumberOfNewNames(List<String> newNames)