io.bigdime.core.commons.MapDescriptorParser Maven / Gradle / Ivy
/**
* Copyright (C) 2015 Stubhub.
*/
package io.bigdime.core.commons;
import java.util.HashMap;
import java.util.Map;
/**
* If the input descriptor is defined as a JsonNode, then the node is converted
* to a Map.
*
* { "input1" : { "entity-name" : "entityNameValue", "topic" : "topic1",
* "partition" : "part1" } "input2" : "some-value" }
*
* {{entity-name=entityNameValue, topic=topic1, partition=part1}, input1}
* {some-value, input2}
*
*
* @author Neeraj Jain
*
*/
public class MapDescriptorParser implements DescriptorParser {
public Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy