Class OptimizerUtils
- java.lang.Object
-
- org.apache.nemo.compiler.optimizer.OptimizerUtils
-
public final class OptimizerUtils extends Object
Utility class for optimizer.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
filterEnvironmentTypeString(String environmentType)
Method to infiltrate keyword-containing string into the enum of Types above.static Pair<String,Integer>
stringToIdAndEPKeyIndex(String string)
Restore the formatted string into a pair of vertex/edge id and the execution property.
-
-
-
Method Detail
-
stringToIdAndEPKeyIndex
public static Pair<String,Integer> stringToIdAndEPKeyIndex(String string)
Restore the formatted string into a pair of vertex/edge id and the execution property.- Parameters:
string
- the formatted string.- Returns:
- a pair of vertex/edge id and the execution property key index.
-
-