org.diirt.datasource.expression.WriteMap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datasource Show documentation
Show all versions of datasource Show documentation
Support for publish/subscribe data sources.
/**
* Copyright (C) 2010-14 diirt developers. See COPYRIGHT.TXT
* All rights reserved. Use is subject to license terms. See LICENSE.TXT
*/
package org.diirt.datasource.expression;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import org.diirt.datasource.PVWriterDirector;
import org.diirt.datasource.QueueCollector;
import org.diirt.datasource.WriteRecipeBuilder;
/**
* A write expression for a key/value map.
*
* This expression will take the values from the map and will write them
* to each child expression matching the key to the name of the child expression.
* The map is dynamic: the child expressions can be added and removed
* while the reader is active.
*
* There is currently no way to retrieve the individual errors for each
* element of the map.
*
* @param the type for the values in the map
* @author carcassi
*/
public class WriteMap extends WriteExpressionImpl