public abstract class AbstractNodeTreeDistributor extends Object implements NodeTreeDistributor
Modifier and Type | Field and Description |
---|---|
protected Node |
head |
protected OsmIterator |
iterator |
protected OsmOutputConfig |
outputConfig |
protected Map<Node,OsmStreamOutput> |
outputs |
protected DataTree |
tree |
Constructor and Description |
---|
AbstractNodeTreeDistributor(DataTree tree,
Node head,
OsmIterator iterator) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
distributeNodes() |
void |
execute() |
Node |
getHead() |
Map<Node,OsmStreamOutput> |
getOutputs() |
protected abstract void |
initOutputs() |
protected DataTree tree
protected OsmIterator iterator
protected OsmOutputConfig outputConfig
protected Node head
protected Map<Node,OsmStreamOutput> outputs
public AbstractNodeTreeDistributor(DataTree tree, Node head, OsmIterator iterator)
public Node getHead()
public Map<Node,OsmStreamOutput> getOutputs()
public void execute() throws IOException
execute
in interface Task
IOException
protected abstract void initOutputs() throws IOException
IOException
protected abstract void distributeNodes() throws IOException
IOException