diff --git a/thirdeye-detectionpipeline/src/main/java/ai/startree/thirdeye/detectionpipeline/Operator.java b/thirdeye-detectionpipeline/src/main/java/ai/startree/thirdeye/detectionpipeline/Operator.java index 9e2ecc707b..90f0c2c578 100644 --- a/thirdeye-detectionpipeline/src/main/java/ai/startree/thirdeye/detectionpipeline/Operator.java +++ b/thirdeye-detectionpipeline/src/main/java/ai/startree/thirdeye/detectionpipeline/Operator.java @@ -26,22 +26,12 @@ void execute() String getOperatorName(); - void setProperty(String key, Object value); - - /** * Set keyed input - * @param key - * @param input */ + @SuppressWarnings("unused") // used in enterprise TE void setInput(String key, OperatorResult input); - /** - * Get keyed output - * @param key - */ - OperatorResult getOutput(String key); - /** * Get all keyed outputs */ diff --git a/thirdeye-detectionpipeline/src/main/java/ai/startree/thirdeye/detectionpipeline/operator/DetectionPipelineOperator.java b/thirdeye-detectionpipeline/src/main/java/ai/startree/thirdeye/detectionpipeline/operator/DetectionPipelineOperator.java index 12f1a07d07..1c9ed98f11 100644 --- a/thirdeye-detectionpipeline/src/main/java/ai/startree/thirdeye/detectionpipeline/operator/DetectionPipelineOperator.java +++ b/thirdeye-detectionpipeline/src/main/java/ai/startree/thirdeye/detectionpipeline/operator/DetectionPipelineOperator.java @@ -94,16 +94,6 @@ protected void setOutput(String key, final OperatorResult output) { resultMap.put(key, output); } - @Override - public void setProperty(final String key, final Object value) { - planNode.getParams().putValue(key, value); - } - - @Override - public OperatorResult getOutput(final String key) { - return resultMap.get(key); - } - @Override public Map getOutputs() { return resultMap;