public class AppSchemaDataAccessConfigurator extends Object
AppSchemaDataAccessDTO
).Modifier and Type | Class and Description |
---|---|
static class |
AppSchemaDataAccessConfigurator.ComplexNameImpl
Name implementation capable of store more information about the attribute/element
represented.
|
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_ENCODE_NESTED_FILTERS |
static String |
PROPERTY_JOINING |
static String |
PROPERTY_REPLACE_OR_UNION |
Modifier and Type | Method and Description |
---|---|
static Set<FeatureTypeMapping> |
buildMappings(AppSchemaDataAccessDTO config)
Takes a config object and creates a set of mappings.
|
static Set<FeatureTypeMapping> |
buildMappings(AppSchemaDataAccessDTO config,
DataAccessMap sourceDataStoreMap)
This method will not create a source data store if an equivalent one (i.e. same configuration
parameters) is found in the provided
sourceDataStoreMap . |
static boolean |
isJoining()
Convenience method for "joining" property.
|
static boolean |
isJoiningSet() |
static boolean |
isOrUnionReplacementEnabled() |
static Expression |
parseOgcCqlExpression(String sourceExpr,
FilterFactory ff)
Utility method that parses an CQL expression from its text representation.
|
static boolean |
shouldEncodeNestedFilters()
Convenience method to check whether native encoding of nested filters is enabled.
|
public static String PROPERTY_JOINING
public static String PROPERTY_ENCODE_NESTED_FILTERS
public static final String PROPERTY_REPLACE_OR_UNION
public static boolean isJoining()
public static boolean isJoiningSet()
public static boolean isOrUnionReplacementEnabled()
public static boolean shouldEncodeNestedFilters()
true
if native encoding of nested filters is enabled, false
otherwisepublic static Set<FeatureTypeMapping> buildMappings(AppSchemaDataAccessDTO config) throws IOException
In the process will parse xml schemas to geotools' Feature Model types and descriptors, connect to source datastores and build the mapping objects from source FeatureTypes to the target ones.
FeatureTypeMapping
source to target
FeatureType mapping definitionsIOException
- if any error occurs while creating the mappingspublic static Set<FeatureTypeMapping> buildMappings(AppSchemaDataAccessDTO config, DataAccessMap sourceDataStoreMap) throws IOException
sourceDataStoreMap
.sourceDataStoreMap
- map holding the source data stores created so far, e.g. while
parsing App-Schema configuration files included by the one currently being processedIOException
buildMappings(AppSchemaDataAccessDTO)
public static Expression parseOgcCqlExpression(String sourceExpr, FilterFactory ff) throws DataSourceException
Expression.NIL
is returned.sourceExpr
- the expression in its text representationff
- filter factory used to build the final expressionDataSourceException
- if the expression text representation could not be parsedCopyright © 1996–2023 Geotools. All rights reserved.