org.geotools.data.complex
Class MappingAttributeIterator

Object
  extended by AbstractMappingFeatureIterator
      extended by DataAccessMappingFeatureIterator
          extended by MappingAttributeIterator
All Implemented Interfaces:
Closeable, 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, ftf, includeMandatory, LOGGER, mapping, namespaceAwareFilterFactory, namespaces, requestMaxFeatures, RESOLVE_TIMEOUT_POLL_INTERVAL, resolveDepth, resolveTimeOut, selectedMapping, selectedProperties, store, XLINK_HREF_NAME, xpathAttributeBuilder
 
Constructor Summary
MappingAttributeIterator(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Query unrolledQuery)
           
 
Method Summary
 
Methods inherited from class DataAccessMappingFeatureIterator
checkForeignIdValues, checkForeignIdValues, cleanEmptyElements, closeSourceFeatures, computeNext, extractIdForAttribute, extractIdForFeature, getForeignIdValues, getIdValues, getNextFeatureId, getSourceFeatureIterator, getSources, getValue, getValues, hasNext, initialiseSourceFeatures, isByReference, isNextSourceFeatureNull, isReprojectionCrsEqual, isSourceFeatureIteratorNull, peekNextValue, peekValue, populateFeatureData, setAttributeValue, setForeignIds, setListFilter, setNextFeature, setXlinkReference, skip, skipNestedMapping, skipTopElement, sourceFeatureIteratorHasNext, unprocessedFeatureExists
 
Methods inherited from class AbstractMappingFeatureIterator
close, getClientProperties, getDataMaxFeatures, getRequestMaxFeatures, 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
 

Constructor Detail

MappingAttributeIterator

public MappingAttributeIterator(AppSchemaDataAccess store,
                                FeatureTypeMapping mapping,
                                Query query,
                                Query unrolledQuery)
                         throws IOException
Throws:
IOException


Copyright © 1996-2014 Geotools. All Rights Reserved.