|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.postgis.FeatureDiffReaderImpl
public class FeatureDiffReaderImpl
Provides forward only access to the feature differences
Field Summary | |
---|---|
protected static java.util.logging.Logger |
LOGGER
The logger for the postgis module. |
Constructor Summary | |
---|---|
FeatureDiffReaderImpl(FeatureDiffReaderImpl other)
Allows to clone a diff reader, this makes it possible to scroll over the same diffs with multiple readers at the same time (reset allows only for multiple isolated scans) |
|
FeatureDiffReaderImpl(VersionedPostgisDataStore store,
Transaction transaction,
org.opengis.feature.simple.SimpleFeatureType externalFeatureType,
org.geotools.data.postgis.RevisionInfo fromVersion,
org.geotools.data.postgis.RevisionInfo toVersion,
VersionedFIDMapper mapper,
ModifiedFeatureIds modifiedIds)
|
Method Summary | |
---|---|
void |
close()
Release the underlying resources associated with this stream. |
protected void |
finalize()
|
java.lang.String |
getFromVersion()
The first version used to compute the difference |
org.opengis.feature.simple.SimpleFeatureType |
getSchema()
Returns the feature type whose features are diffed with this reader |
java.lang.String |
getToVersion()
The second version used to computed the difference |
boolean |
hasNext()
Query whether this FeatureDiffReader has another FeatureDiff. |
FeatureDiffImpl |
next()
Reads the next FeatureDifference |
void |
reset()
Resets the reader to the initial position |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.util.logging.Logger LOGGER
Constructor Detail |
---|
public FeatureDiffReaderImpl(VersionedPostgisDataStore store, Transaction transaction, org.opengis.feature.simple.SimpleFeatureType externalFeatureType, org.geotools.data.postgis.RevisionInfo fromVersion, org.geotools.data.postgis.RevisionInfo toVersion, VersionedFIDMapper mapper, ModifiedFeatureIds modifiedIds) throws java.io.IOException
java.io.IOException
public FeatureDiffReaderImpl(FeatureDiffReaderImpl other) throws java.io.IOException
other
-
java.io.IOException
Method Detail |
---|
public java.lang.String getFromVersion()
getFromVersion
in interface FeatureDiffReader
public java.lang.String getToVersion()
getToVersion
in interface FeatureDiffReader
public org.opengis.feature.simple.SimpleFeatureType getSchema()
getSchema
in interface FeatureDiffReader
public FeatureDiffImpl next() throws java.io.IOException, java.util.NoSuchElementException
next
in interface FeatureDiffReader
java.io.IOException
- If an error occurs reading the FeatureDifference.
java.util.NoSuchElementException
- If there are no more Features in the Reader.public boolean hasNext() throws java.io.IOException
hasNext
in interface FeatureDiffReader
java.io.IOException
- If an error occurs determining if there are more Features.public void reset() throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
close
in interface FeatureDiffReader
java.io.IOException
- DOCUMENT ME!protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |