Class OptimizerUtils


  • public final class OptimizerUtils
    extends Object
    Utility class for optimizer.
    • 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.
      • filterEnvironmentTypeString

        public static String filterEnvironmentTypeString​(String environmentType)
        Method to infiltrate keyword-containing string into the enum of Types above.
        Parameters:
        environmentType - the input string.
        Returns:
        the formatted string corresponding to each type.