Class MongoNestedMapping
Object
AttributeMapping
NestedAttributeMapping
MongoNestedMapping
MongoDB custom nested attribute mapping for app-schema.
-
Field Summary
Fields inherited from class NestedAttributeMapping
filterFac, nestedFeatureType, nestedTargetXPath
Fields inherited from class AttributeMapping
sourceExpression, targetXPath
-
Constructor Summary
ConstructorsConstructorDescriptionMongoNestedMapping
(Expression idExpression, Expression parentExpression, XPathUtil.StepList targetXPath, boolean isMultiValued, Map<Name, Expression> clientProperties, Expression sourceElement, XPathUtil.StepList sourcePath, NamespaceSupport namespaces) -
Method Summary
Modifier and TypeMethodDescriptiongetFeatures
(Object source, Object foreignKeyValue, List<Object> idValues, CoordinateReferenceSystem reprojection, Object feature, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut) Get the maching built features that are stored in this mapping using a supplied link valueMethods inherited from class NestedAttributeMapping
getFeatures, getFeatureTypeMapping, getInputFeatures, getInputFeatures, getMapping, getMappingSource, getNamespaces, getNestedFeatureType, isConditional, isNestedAttribute, isSameSource
Methods inherited from class AttributeMapping
encodeIfEmpty, equals, getClientProperties, getIdentifierExpression, getIndexField, getInstanceXpath, getLabel, getMultipleValue, getParentLabel, getSourceExpression, getSourceIndex, getTargetNodeInstance, getTargetXPath, hashCode, isList, isMultiValued, setEncodeIfEmpty, setIdentifierExpression, setIndexField, setInstanceXpath, setLabel, setList, setParentLabel, toString
-
Constructor Details
-
MongoNestedMapping
public MongoNestedMapping(Expression idExpression, Expression parentExpression, XPathUtil.StepList targetXPath, boolean isMultiValued, Map<Name, Expression> clientProperties, Expression sourceElement, XPathUtil.StepList sourcePath, NamespaceSupport namespaces) throws IOException- Throws:
IOException
-
-
Method Details
-
getFeatures
public List<Feature> getFeatures(Object source, Object foreignKeyValue, List<Object> idValues, CoordinateReferenceSystem reprojection, Object feature, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut) throws IOException Description copied from class:NestedAttributeMapping
Get the maching built features that are stored in this mapping using a supplied link value- Overrides:
getFeatures
in classNestedAttributeMapping
reprojection
- Reprojected CRS or nullselectedProperties
- list of properties to get- Returns:
- The matching simple features
- Throws:
IOException
-