Package org.aksw.deer.enrichments
Class GeoFusionEnrichmentOperator
- java.lang.Object
-
- org.aksw.faraday_cage.engine.AbstractExecutionNode<T>
-
- org.aksw.faraday_cage.engine.AbstractParameterizedExecutionNode<Model>
-
- org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
-
- org.aksw.deer.enrichments.GeoFusionEnrichmentOperator
-
- All Implemented Interfaces:
DeerExecutionNode,DeerPlugin,EnrichmentOperator,ParameterizedEnrichmentOperator,ParameterizedDeerExecutionNode,ExecutionNode<Model>,Parameterized,Plugin,org.pf4j.ExtensionPoint
@Extension public class GeoFusionEnrichmentOperator extends AbstractParameterizedEnrichmentOperator
Basic implementation of a fusion operator for geospatial properties.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGeoFusionEnrichmentOperator.GeoFusionActionGeospatial fusion actions:GeoFusionEnrichmentOperator.GeoFusionAction.takeAalways use geometry from first modelGeoFusionEnrichmentOperator.GeoFusionAction.takeBalways use geometry from second model, if ambiguous take most detailedGeoFusionEnrichmentOperator.GeoFusionAction.takeAllmerge all geometriesGeoFusionEnrichmentOperator.GeoFusionAction.takeMostDetaileduse most detailed geometry from any model, e.g., in terms of lexical length of latitude and longitude values-
Nested classes/interfaces inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
ExecutionNode.DegreeBounds
-
-
Field Summary
Fields Modifier and Type Field Description static PropertyFUSION_ACTIONrequired parameter, value is one ofGeoFusionEnrichmentOperator.GeoFusionActionstatic PropertyMERGE_OTHER_STATEMENTSoptional parameter, boolean, defaulttrue-
Fields inherited from class org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
description, documentationURL
-
-
Constructor Summary
Constructors Constructor Description GeoFusionEnrichmentOperator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidatableParameterMapcreateParameterMap()Create an uninitializedParameterMapto be filled by theExecutionGraphGenerator.ExecutionNode.DegreeBoundsgetDegreeBounds()java.lang.StringgetDescription()protected java.util.List<Model>safeApply(java.util.List<Model> models)-
Methods inherited from class org.aksw.deer.enrichments.AbstractParameterizedEnrichmentOperator
deepCopy, getDocumentationURL, getType
-
Methods inherited from class org.aksw.faraday_cage.engine.AbstractParameterizedExecutionNode
getParameterMap, getValidationModelFor, initParameters, isInitialized
-
Methods inherited from class org.aksw.faraday_cage.engine.AbstractExecutionNode
apply, getId, getInDegree, getOutDegree, initDegrees, initPluginId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.aksw.faraday_cage.engine.ExecutionNode
apply, getInDegree, getOutDegree, initDegrees
-
Methods inherited from interface org.aksw.faraday_cage.engine.Parameterized
getParameterMap, initParameters, isInitialized
-
Methods inherited from interface org.aksw.faraday_cage.engine.Plugin
getId, initPluginId, isInitialized
-
-
-
-
Field Detail
-
FUSION_ACTION
public static final Property FUSION_ACTION
required parameter, value is one ofGeoFusionEnrichmentOperator.GeoFusionAction
-
MERGE_OTHER_STATEMENTS
public static final Property MERGE_OTHER_STATEMENTS
optional parameter, boolean, defaulttrue
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceDeerPlugin- Overrides:
getDescriptionin classAbstractParameterizedEnrichmentOperator
-
createParameterMap
public ValidatableParameterMap createParameterMap()
Description copied from interface:ParameterizedCreate an uninitializedParameterMapto be filled by theExecutionGraphGenerator.- Returns:
- uninitialized
ParameterMapcontaining all allowedParameter
-
safeApply
protected java.util.List<Model> safeApply(java.util.List<Model> models)
- Specified by:
safeApplyin classAbstractExecutionNode<Model>
-
getDegreeBounds
public ExecutionNode.DegreeBounds getDegreeBounds()
- Specified by:
getDegreeBoundsin interfaceExecutionNode<Model>- Overrides:
getDegreeBoundsin classAbstractParameterizedEnrichmentOperator
-
-