Class OptimizerUtils


  • public final class OptimizerUtils
    extends java.lang.Object
    Utility class for optimizer.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String filterEnvironmentTypeString​(java.lang.String environmentType)
      Method to infiltrate keyword-containing string into the enum of Types above.
      static Pair<java.lang.String,​java.lang.Integer> stringToIdAndEPKeyIndex​(java.lang.String string)
      Restore the formatted string into a pair of vertex/edge id and the execution property.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • stringToIdAndEPKeyIndex

        public static Pair<java.lang.String,​java.lang.Integer> stringToIdAndEPKeyIndex​(java.lang.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 java.lang.String filterEnvironmentTypeString​(java.lang.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.