File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plan/logical/inference Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2323import org .elasticsearch .xpack .esql .core .tree .Source ;
2424import org .elasticsearch .xpack .esql .core .type .DataType ;
2525import org .elasticsearch .xpack .esql .io .stream .PlanStreamInput ;
26- import org .elasticsearch .xpack .esql .plan .logical .ExecutesOn ;
2726import org .elasticsearch .xpack .esql .plan .logical .LogicalPlan ;
2827
2928import java .io .IOException ;
3433import static org .elasticsearch .xpack .esql .core .type .DataType .TEXT ;
3534import static org .elasticsearch .xpack .esql .expression .NamedExpressions .mergeOutputAttributes ;
3635
37- public class Completion extends InferencePlan <Completion > implements TelemetryAware , PostAnalysisVerificationAware , ExecutesOn . Coordinator {
36+ public class Completion extends InferencePlan <Completion > implements TelemetryAware , PostAnalysisVerificationAware {
3837
3938 public static final String DEFAULT_OUTPUT_FIELD_NAME = "completion" ;
4039
Original file line number Diff line number Diff line change 1313import org .elasticsearch .xpack .esql .core .expression .UnresolvedAttribute ;
1414import org .elasticsearch .xpack .esql .core .tree .Source ;
1515import org .elasticsearch .xpack .esql .plan .GeneratingPlan ;
16+ import org .elasticsearch .xpack .esql .plan .logical .ExecutesOn ;
1617import org .elasticsearch .xpack .esql .plan .logical .LogicalPlan ;
1718import org .elasticsearch .xpack .esql .plan .logical .SortAgnostic ;
1819import org .elasticsearch .xpack .esql .plan .logical .UnaryPlan ;
2425public abstract class InferencePlan <PlanType extends InferencePlan <PlanType >> extends UnaryPlan
2526 implements
2627 SortAgnostic ,
27- GeneratingPlan <InferencePlan <PlanType >> {
28+ GeneratingPlan <InferencePlan <PlanType >>,
29+ ExecutesOn .Coordinator {
2830
2931 public static final String INFERENCE_ID_OPTION_NAME = "inference_id" ;
3032 public static final List <String > VALID_INFERENCE_OPTION_NAMES = List .of (INFERENCE_ID_OPTION_NAME );
Original file line number Diff line number Diff line change 2626import org .elasticsearch .xpack .esql .core .type .DataType ;
2727import org .elasticsearch .xpack .esql .io .stream .PlanStreamInput ;
2828import org .elasticsearch .xpack .esql .plan .logical .Eval ;
29- import org .elasticsearch .xpack .esql .plan .logical .ExecutesOn ;
3029import org .elasticsearch .xpack .esql .plan .logical .LogicalPlan ;
3130import org .elasticsearch .xpack .esql .plan .logical .UnaryPlan ;
3231
3837import static org .elasticsearch .xpack .esql .common .Failure .fail ;
3938import static org .elasticsearch .xpack .esql .expression .NamedExpressions .mergeOutputAttributes ;
4039
41- public class Rerank extends InferencePlan <Rerank > implements PostAnalysisVerificationAware , TelemetryAware , ExecutesOn . Coordinator {
40+ public class Rerank extends InferencePlan <Rerank > implements PostAnalysisVerificationAware , TelemetryAware {
4241
4342 public static final NamedWriteableRegistry .Entry ENTRY = new NamedWriteableRegistry .Entry (LogicalPlan .class , "Rerank" , Rerank ::new );
4443 public static final String DEFAULT_INFERENCE_ID = ".rerank-v1-elasticsearch" ;
You can’t perform that action at this time.
0 commit comments