Skip to content

Commit

Permalink
[hotfix][runtime] Remove the unused StreamOperatorFactory#isOperatorS…
Browse files Browse the repository at this point in the history
…electiveReading method
  • Loading branch information
sunhaibotb authored and pnowojski committed Aug 30, 2019
1 parent dc74248 commit 8ca6a09
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@ public boolean isStreamSource() {
return operator instanceof StreamSource;
}

@Override
public boolean isOperatorSelectiveReading(ClassLoader classLoader) {
return operator instanceof InputSelectable;
}

@Override
public boolean isOutputTypeConfigurable() {
return operator instanceof OutputTypeConfigurable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ default boolean isStreamSource() {
return false;
}

/**
* Test whether the operator is selective reading one.
*/
boolean isOperatorSelectiveReading(ClassLoader classLoader);

/**
* If the stream operator need access to the output type information at {@link StreamGraph}
* generation. This can be useful for cases where the output type is specified by the returns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

import org.apache.flink.streaming.api.graph.StreamConfig;
import org.apache.flink.streaming.api.operators.ChainingStrategy;
import org.apache.flink.streaming.api.operators.InputSelectable;
import org.apache.flink.streaming.api.operators.Output;
import org.apache.flink.streaming.api.operators.StreamOperator;
import org.apache.flink.streaming.api.operators.StreamOperatorFactory;
Expand Down Expand Up @@ -58,11 +57,6 @@ public ChainingStrategy getChainingStrategy() {
return strategy;
}

@Override
public boolean isOperatorSelectiveReading(ClassLoader classLoader) {
return InputSelectable.class.isAssignableFrom(getStreamOperatorClass(classLoader));
}

@Override
public Class<? extends StreamOperator> getStreamOperatorClass(ClassLoader classLoader) {
return generatedClass.getClass(classLoader);
Expand Down

0 comments on commit 8ca6a09

Please sign in to comment.