Class SqlUtil


  • public class SqlUtil
    extends Object
    Author:
    eric.wittmann@gmail.com
    • Constructor Detail

      • SqlUtil

        public SqlUtil()
    • Method Detail

      • serializeLabels

        public static String serializeLabels​(List<String> labels)
        Serializes the given collection of labels to a string for artifactStore in the DB.
        Parameters:
        labels -
      • deserializeLabels

        public static List<String> deserializeLabels​(String labelsStr)
        Deserialize the labels from their string form to a List<String> form.
        Parameters:
        labelsStr -
      • serializeProperties

        public static String serializeProperties​(Map<String,​String> properties)
        Serializes the given collection of properties to a string for artifactStore in the DB.
        Parameters:
        properties -
      • deserializeProperties

        public static Map<String,​String> deserializeProperties​(String propertiesStr)
        Deserialize the properties from their string form to a Map form.
        Parameters:
        propertiesStr -
      • normalizeGroupId

        public static String normalizeGroupId​(String groupId)
      • denormalizeGroupId

        public static String denormalizeGroupId​(String groupId)