summaryrefslogtreecommitdiffstats
path: root/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/PlaceholderWithDefault.java
diff options
context:
space:
mode:
Diffstat (limited to 'model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/PlaceholderWithDefault.java')
-rw-r--r--model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/PlaceholderWithDefault.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/PlaceholderWithDefault.java b/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/PlaceholderWithDefault.java
index e5e5c29f8f1..177ef8d5e17 100644
--- a/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/PlaceholderWithDefault.java
+++ b/model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/PlaceholderWithDefault.java
@@ -45,4 +45,12 @@ public class PlaceholderWithDefault extends IntermediateOperation {
return true; // not true if we add to function
}
+ @Override
+ public PlaceholderWithDefault withInputs(List<IntermediateOperation> inputs) {
+ return new PlaceholderWithDefault(modelName(), name(), inputs);
+ }
+
+ @Override
+ public String operationName() { return "PlaceholdeWithDefault"; }
+
}