Class MongoNestedMapping
- Object
-
- AttributeMapping
-
- NestedAttributeMapping
-
- MongoNestedMapping
-
public class MongoNestedMapping extends NestedAttributeMapping
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
Constructors Constructor Description MongoNestedMapping(Expression idExpression, Expression parentExpression, XPathUtil.StepList targetXPath, boolean isMultiValued, Map<Name,Expression> clientProperties, Expression sourceElement, XPathUtil.StepList sourcePath, NamespaceSupport namespaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Feature>
getFeatures(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 value-
Methods 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 Detail
-
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 Detail
-
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
-
-