Class ConverterUtil

java.lang.Object
org.apache.drill.metastore.rdbms.util.ConverterUtil

public class ConverterUtil extends Object
Converter utility class which helps to convert Metastore metadata objects from / to string value.
  • Constructor Details

    • ConverterUtil

      public ConverterUtil()
  • Method Details

    • convertToString

      public static <T> String convertToString(T value)
    • convertTo

      public static <T> T convertTo(String value, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
    • convertToListString

      public static List<String> convertToListString(String value)
    • convertToMapStringString

      public static Map<String,String> convertToMapStringString(String value)
    • convertToMapStringFloat

      public static Map<String,Float> convertToMapStringFloat(String value)