public abstract class AbstractEntityCollector extends AbstractExecutableSingleInputStreamSingleOutputimplements OsmHandler
| Modifier and Type | Field and Description |
|---|---|
protected TLongSet |
ids
|
protected Iterator |
iteratorReferences
|
closeOutput, osmOutputStream, out, pathOutputcloseInput, osmStream, pathInputinputFormat, outputFormat, pbfConfig, readMetadata, readTags, tboConfig, writeMetadataline, options| Constructor and Description |
|---|
AbstractEntityCollector()
|
| Modifier and Type | Method and Description |
|---|---|
void |
complete()
|
void |
handle(OsmBounds
|
void |
handle(OsmNode
|
void |
handle(OsmRelation
|
void |
handle(OsmWay
|
protected void |
init()
|
protected abstract void |
readReferences()
|
protected void |
run()
|
protected void |
setup(String
|
protected abstract boolean |
take(OsmNode
|
protected abstract boolean |
take(OsmRelation
|
protected abstract boolean |
take(OsmWay
|
finishcreateIterator, createReadergetHelpMessageprotected Iterator<EntityContainer > iteratorReferences
protected TLongSetids
protected void setup(String[] args)
protected void init()
throws IOException
init in class
AbstractExecutableSingleInputStreamSingleOutput
IOException
protected void run()
throws OsmInputException,
IOException
OsmInputException
IOException
public void handle(OsmBoundsbounds) throws IOException
handle in interface
OsmHandler
IOException
public void handle(OsmNodenode) throws IOException
handle in interface
OsmHandler
IOException
public void handle(OsmWayway) throws IOException
handle in interface
OsmHandler
IOException
public void handle(OsmRelationrelation) throws IOException
handle in interface
OsmHandler
IOException
public void complete()
throws IOException
complete in interface
OsmHandler
IOException
protected abstract void readReferences()
protected abstract boolean take(OsmNodenode)
protected abstract boolean take(OsmWayway)
protected abstract boolean take(OsmRelationrelation)