Package org.geotools.data.complex
Class MappingAttributeIterator
- Object
-
- AbstractMappingFeatureIterator
-
- DataAccessMappingFeatureIterator
-
- MappingAttributeIterator
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterator<Feature>
,IMappingFeatureIterator
,FeatureIterator<Feature>
public class MappingAttributeIterator extends DataAccessMappingFeatureIterator
A Feature iterator that operates over the FeatureSource of a FeatureTypeMapping that is of a simple content type, e.g. representing a gml:name element. This is required for feature chaining for such types to reduce the need of creating an additional database view when simple element values come from another table. Therefore this iterator should have a method that return attributes that are to be chained directly in another feature type.- Since:
- 2.7
- Author:
- Rini Angreani (CSIRO Earth Science and Resource Engineering)
-
-
Field Summary
-
Fields inherited from class DataAccessMappingFeatureIterator
curSrcFeature, foreignIds, mappedSource, reprojection, sourceFeatures, targetFeature
-
Fields inherited from class AbstractMappingFeatureIterator
attf, dataMaxFeatures, featureCounter, filterFac, ftf, GEOMETRY_FACTORY, includeMandatory, LOGGER, mapping, MULTI_VALUE_TYPE, namespaceAwareFilterFactory, namespaces, query, requestMaxFeatures, RESOLVE_TIMEOUT_POLL_INTERVAL, resolveDepth, resolveTimeOut, selectedMapping, selectedProperties, store, transaction, UNBOUNDED_MULTI_VALUE, XLINK_HREF_NAME, xpathAttributeBuilder
-
-
Constructor Summary
Constructors Constructor Description MappingAttributeIterator(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Query unrolledQuery)
MappingAttributeIterator(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Query unrolledQuery, Transaction transaction)
-
Method Summary
-
Methods inherited from class DataAccessMappingFeatureIterator
checkForeignIdValues, checkForeignIdValues, cleanEmptyElements, closeSourceFeatures, computeNext, extractIdForAttribute, extractIdForFeature, getForeignIdValues, getIdValues, getMappedSource, getNextFeatureId, getSourceFeatureIterator, getSources, getValue, getValues, hasNext, initialiseSourceFeatures, isByReference, isNextSourceFeatureNull, isReprojectionCrsEqual, isSourceFeatureIteratorNull, isTransactionOwner, peekNextValue, peekValue, populateFeatureData, setAttributeValue, setForeignIds, setListFilter, setNextFeature, setXlinkReference, skip, skipNestedMapping, skipTopElement, sourceFeatureIteratorHasNext, unprocessedFeatureExists
-
Methods inherited from class AbstractMappingFeatureIterator
close, getClientProperties, getTransaction, getUnrolledQuery, isHasNextCalled, next, referenceToIdentifier, remove, setAttributeContent, setClientProperties, setGeometryUserData, setHasNextCalled
-
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
MappingAttributeIterator
public MappingAttributeIterator(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Query unrolledQuery) throws IOException
- Throws:
IOException
-
MappingAttributeIterator
public MappingAttributeIterator(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Query unrolledQuery, Transaction transaction) throws IOException
- Throws:
IOException
-
-