Uses of Class
org.geotools.data.complex.FeatureTypeMapping
-
Packages that use FeatureTypeMapping Package Description org.geotools.appschema.jdbc org.geotools.appschema.util org.geotools.data.complex This package contains the implementation of a ComplexDataStore,org.geotools.data.complex.config org.geotools.data.complex.filter org.geotools.data.complex.spi org.geotools.data.joining org.geotools.data.mongodb.complex -
-
Uses of FeatureTypeMapping in org.geotools.appschema.jdbc
Constructors in org.geotools.appschema.jdbc with parameters of type FeatureTypeMapping Constructor Description JdbcMultipleValueEncoder(FeatureTypeMapping typeMapping, Writer output)
NestedFilterToSQL(FeatureTypeMapping rootMapping, FilterToSQL original)
Constructor.WrappedFilterToSql(FeatureTypeMapping featureMapping, FilterToSQL filterToSql)
-
Uses of FeatureTypeMapping in org.geotools.appschema.util
Methods in org.geotools.appschema.util with parameters of type FeatureTypeMapping Modifier and Type Method Description static Filter
IndexQueryUtils. buildIdInExpression(List<String> ids, FeatureTypeMapping mapping)
Builds a mapping->identifier IN (ids...) like function/clausestatic Filter
IndexQueryUtils. buildIdInExpressionFunction(List<String> ids, FeatureTypeMapping mapping)
Builds a mapping->identifier IN (ids...) like function/clausestatic Filter
IndexQueryUtils. buildIdInExpressionOr(List<String> ids, FeatureTypeMapping mapping)
Builds an OR operator comparing Identifier with ids liststatic boolean
IndexQueryUtils. checkAllPropertiesIndexed(List<String> properties, FeatureTypeMapping mapping)
Checks if all properties are indexed in mappingstatic boolean
IndexQueryUtils. equalsXpath(FeatureTypeMapping mapping, AttributeMapping attMapping, String xpath)
Compare if mapping-xpath == attMappingstatic AttributeMapping
IndexQueryUtils. getIndexedAttribute(FeatureTypeMapping mapping, String xpath)
-
Uses of FeatureTypeMapping in org.geotools.data.complex
Subclasses of FeatureTypeMapping in org.geotools.data.complex Modifier and Type Class Description class
XmlFeatureTypeMapping
Fields in org.geotools.data.complex declared as FeatureTypeMapping Modifier and Type Field Description protected FeatureTypeMapping
AbstractMappingFeatureIterator. mapping
The mappings for the source and target schemasprotected FeatureTypeMapping
IndexedMappingFeatureIterator. mapping
protected FeatureTypeMapping
IndexedMappingFeatureIteratorFactory. mapping
protected FeatureTypeMapping
IndexQueryManager. mapping
Methods in org.geotools.data.complex that return FeatureTypeMapping Modifier and Type Method Description FeatureTypeMapping
NestedAttributeMapping. getFeatureTypeMapping(Feature feature)
static FeatureTypeMapping
FeatureTypeMappingFactory. getInstance(FeatureSource<? extends FeatureType,? extends Feature> source, FeatureSource<SimpleFeatureType,SimpleFeature> indexSource, AttributeDescriptor target, String defaultGeometryXPath, List<AttributeMapping> mappings, NamespaceSupport namespaces, String itemXpath, boolean isXmlDataStore, boolean isDenormalised)
static FeatureTypeMapping
FeatureTypeMappingFactory. getInstance(FeatureSource<? extends FeatureType,? extends Feature> source, FeatureSource<SimpleFeatureType,SimpleFeature> indexSource, AttributeDescriptor target, String defaultGeometryXPath, List<AttributeMapping> mappings, NamespaceSupport namespaces, String itemXpath, boolean isXmlDataStore, boolean isDenormalised, String sourceDatastoreId)
FeatureTypeMapping
MappingFeatureSource. getMapping()
static FeatureTypeMapping
AppSchemaDataAccessRegistry. getMappingByElement(Name featureTypeName)
FeatureTypeMapping
AppSchemaDataAccess. getMappingByName(Name typeName)
Returns the mapping suite for the given targetElement name or mappingName.static FeatureTypeMapping
AppSchemaDataAccessRegistry. getMappingByName(Name featureTypeName)
Get a feature type mapping from a registered app-schema data access.FeatureTypeMapping
AppSchemaDataAccess. getMappingByNameOrElement(Name typeName)
Returns the mapping suite for the given target type name.FeatureTypeMapping
FeatureTypeMapping. getUnderlyingComplexMapping()
FeatureTypeMapping
DataAccessRegistry. mappingByElement(Name name)
FeatureTypeMapping
DataAccessRegistry. mappingByName(Name name)
Get a feature type mapping from a registered app-schema data access.Methods in org.geotools.data.complex with parameters of type FeatureTypeMapping Modifier and Type Method Description protected static AttributeMapping
IndexedMappingFeatureIterator. getIndexedAttribute(FeatureTypeMapping mapping, String xpath)
Search for indexed attribute, including on Nested FeaturesList<Feature>
NestedAttributeMapping. getInputFeatures(Object foreignKeyValue, FeatureTypeMapping fMapping)
Get matching input features that are stored in this mapping using a supplied link value.static IMappingFeatureIterator
MappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter)
static IMappingFeatureIterator
MappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction)
static IMappingFeatureIterator
MappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, boolean indexEnable)
AttributeMapping
NestedAttributeMapping. getMapping(FeatureTypeMapping featureTypeMapping)
protected abstract void
AbstractMappingFeatureIterator. initialiseSourceFeatures(FeatureTypeMapping mapping, Query query, CoordinateReferenceSystem crs)
protected void
DataAccessMappingFeatureIterator. initialiseSourceFeatures(FeatureTypeMapping mapping, Query query, CoordinateReferenceSystem targetCRS)
static Filter
AppSchemaDataAccess. unrollFilter(Filter complexFilter, FeatureTypeMapping mapping)
Takes a filter that operates against a FeatureTypeMapping's target FeatureType, and unrolls it creating a new Filter that operates against the mapping's source FeatureType.static PropertyName
IndexedMappingFeatureIterator. unrollIndex(PropertyName expression, FeatureTypeMapping mapping)
Query
AppSchemaDataAccess. unrollQuery(Query query, FeatureTypeMapping mapping)
Creates aorg.geotools.api.data.Query
that operates over the surrogate DataStore, by unrolling theorg.geotools.filter.Filter
contained in the passedquery
, and replacing the list of required attributes by the ones of the mapped FeatureType.Constructor parameters in org.geotools.data.complex with type arguments of type FeatureTypeMapping Constructor Description AppSchemaDataAccess(Set<FeatureTypeMapping> mappings)
Constructor.AppSchemaDataAccess(Set<FeatureTypeMapping> mappings, boolean hidden)
Two args constructor. -
Uses of FeatureTypeMapping in org.geotools.data.complex.config
Methods in org.geotools.data.complex.config that return FeatureTypeMapping Modifier and Type Method Description FeatureTypeMapping
JdbcMultipleValue. getFeatureTypeMapping()
Methods in org.geotools.data.complex.config that return types with arguments of type FeatureTypeMapping Modifier and Type Method Description static Set<FeatureTypeMapping>
AppSchemaDataAccessConfigurator. buildMappings(AppSchemaDataAccessDTO config)
Takes a config object and creates a set of mappings, assumes the mappings are not from includesstatic Set<FeatureTypeMapping>
AppSchemaDataAccessConfigurator. buildMappings(AppSchemaDataAccessDTO config, boolean isInclude)
Takes a config object and creates a set of mappings.static Set<FeatureTypeMapping>
AppSchemaDataAccessConfigurator. buildMappings(AppSchemaDataAccessDTO config, DataAccessMap sourceDataStoreMap, boolean isInclude)
This method will not create a source data store if an equivalent one (i.e. same configuration parameters) is found in the providedsourceDataStoreMap
.Methods in org.geotools.data.complex.config with parameters of type FeatureTypeMapping Modifier and Type Method Description void
JdbcMultipleValue. setFeatureTypeMapping(FeatureTypeMapping featureTypeMapping)
void
MultipleValue. setFeatureTypeMapping(FeatureTypeMapping featureTypeMapping)
Sets the feature type mapping that contains this multi valued mapping.Constructors in org.geotools.data.complex.config with parameters of type FeatureTypeMapping Constructor Description NonFeatureTypeProxy(AttributeType type, FeatureTypeMapping mapping)
Sole constructorNonFeatureTypeProxy(AttributeType type, FeatureTypeMapping mapping, Collection<PropertyDescriptor> schema)
-
Uses of FeatureTypeMapping in org.geotools.data.complex.filter
Fields in org.geotools.data.complex.filter declared as FeatureTypeMapping Modifier and Type Field Description protected FeatureTypeMapping
IndexedFilterDetectorVisitor. mapping
protected FeatureTypeMapping
UnmappingFilterVisitor. mappings
Methods in org.geotools.data.complex.filter that return FeatureTypeMapping Modifier and Type Method Description FeatureTypeMapping
FeatureChainedAttributeVisitor.FeatureChainLink. getFeatureTypeMapping()
Gets the mapping configuration of the linked feature type.FeatureTypeMapping
FeatureChainedAttributeVisitor.FeatureChainedAttributeDescriptor. getFeatureTypeOwningAttribute()
Returns the feature type where the mapping configuration of the nested attribute is defined.Methods in org.geotools.data.complex.filter with parameters of type FeatureTypeMapping Modifier and Type Method Description static UnmappingFilterVisitor
UnmappingFilterVisitorFactory. getInstance(FeatureTypeMapping mapping)
Constructors in org.geotools.data.complex.filter with parameters of type FeatureTypeMapping Constructor Description ComplexFilterSplitter(FilterCapabilities fcs, FeatureTypeMapping mappings)
FeatureChainedAttributeVisitor(FeatureTypeMapping root)
IndexedFilterDetectorVisitor(FeatureTypeMapping mapping)
IndexUnmappingVisitor(FeatureTypeMapping mapping)
SchemaIndexedFilterDetectorVisitor(FeatureTypeMapping mapping)
UnmappingFilterVisitor(FeatureTypeMapping mappings)
visit(*Expression) holds the unmapped expression here. -
Uses of FeatureTypeMapping in org.geotools.data.complex.spi
Methods in org.geotools.data.complex.spi with parameters of type FeatureTypeMapping Modifier and Type Method Description DataAccessMappingFeatureIterator
CustomSourceDataStore. buildIterator(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction)
Allows a data store to build its own iterator that will be used by App-Schema core to retrieve the necessary attributes from the data store to build the mapped feature types.Expression
CustomAttributeExpressionFactory. createNestedAttributeExpression(FeatureTypeMapping mappings, XPathUtil.StepList xpath, NestedAttributeMapping nestedMapping)
static Expression
CustomImplementationsFinder. find(FeatureTypeMapping mappings, XPathUtil.StepList xpath, NestedAttributeMapping nestedMapping)
default List<PropertyName>
CustomSourceDataStore. getSurrogatePropertyNames(List<PropertyName> requested, FeatureTypeMapping mapping)
-
Uses of FeatureTypeMapping in org.geotools.data.joining
Fields in org.geotools.data.joining declared as FeatureTypeMapping Modifier and Type Field Description FeatureTypeMapping
JoiningNestedAttributeMapping.Instance. mapping
Methods in org.geotools.data.joining that return FeatureTypeMapping Modifier and Type Method Description FeatureTypeMapping
JoiningQuery. getRootMapping()
Methods in org.geotools.data.joining with parameters of type FeatureTypeMapping Modifier and Type Method Description List<Feature>
JoiningNestedAttributeMapping. getInputFeatures(Object foreignKeyValue, FeatureTypeMapping fMapping)
void
JoiningNestedAttributeMapping. open(Object caller, Query baseTableQuery, FeatureTypeMapping mapping)
Open an instance (cursor) for a specific caller.void
JoiningQuery. setRootMapping(FeatureTypeMapping rootMapping)
-
Uses of FeatureTypeMapping in org.geotools.data.mongodb.complex
Methods in org.geotools.data.mongodb.complex with parameters of type FeatureTypeMapping Modifier and Type Method Description DataAccessMappingFeatureIterator
MongoComplexDataSource. buildIterator(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction)
Expression
MongoNestedAttributeExpressionFactory. createNestedAttributeExpression(FeatureTypeMapping mappings, XPathUtil.StepList xpath, NestedAttributeMapping nestedMapping)
List<PropertyName>
MongoComplexDataSource. getSurrogatePropertyNames(List<PropertyName> requested, FeatureTypeMapping featureTypeMapping)
-