@Override
    public String apply(@Nullable String string) {
      return org.apache.commons.lang3.StringUtils.defaultString(string);
    }
Helper function to transform Nulls to empty strings.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreServerUtils.java