All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.vertexium.accumulo.mapreduce.VertexiumMRUtils Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.accumulo.mapreduce;

import org.apache.hadoop.conf.Configuration;

import java.util.HashMap;
import java.util.Map;

public class VertexiumMRUtils {
    public static final String CONFIG_AUTHORIZATIONS = "authorizations";

    public static Map toMap(Configuration configuration) {
        Map map = new HashMap();
        for (Map.Entry entry : configuration) {
            map.put(entry.getKey(), entry.getValue());
        }
        return map;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy