class QueryOptions implements OptionDescriber {

    public static Set<String> fetchDataTypeKeys(String data) {
        Set<String> keys = Sets.newHashSet();
        if (org.apache.commons.lang3.StringUtils.isNotBlank(data)) {
            String[] entries = StringUtils.split(data, ';');
            for (String entry : entries) {
                String[] entrySplits = StringUtils.split(entry, ':');
                
                if (2 != entrySplits.length) {
                    log.warn("Skipping unparseable normalizer entry: '" + entry + "', from '" + data + "'");
                } else {
                    keys.add(entrySplits[0]);
                    
                    if (log.isTraceEnabled())
                        log.trace("Adding " + entrySplits[0] + " " + keys);
                }
            }
        }
        
        return keys;
    }

}