Class GeoDistanceEnrichmentOperator

All Implemented Interfaces:
DeerExecutionNode, EnrichmentOperator, ParameterizedEnrichmentOperator, ParameterizedDeerExecutionNode, ExecutionNode<Model>, Parameterized, Plugin, org.pf4j.ExtensionPoint

@Extension public class GeoDistanceEnrichmentOperator extends AbstractParameterizedEnrichmentOperator
An EnrichmentOperator to enrich models with distances

The GeoDistanceEnrichmentOperator ...

  • Field Details

    • SELECT_PREDICATE

      public static final Property SELECT_PREDICATE
    • DISTANCE_PREDICATE

      public static final Property DISTANCE_PREDICATE
  • Constructor Details

    • GeoDistanceEnrichmentOperator

      public GeoDistanceEnrichmentOperator()
  • Method Details

    • createParameterMap

      public ValidatableParameterMap createParameterMap()
      Description copied from interface: Parameterized
      Create an uninitialized ParameterMap to be filled by the ExecutionGraphGenerator.
      Returns:
      uninitialized ParameterMap containing all allowed Parameter
    • safeApply

      protected List<Model> safeApply(List<Model> models)
      Specified by:
      safeApply in class AbstractExecutionNode<Model>
      Parameters:
      models -
      Returns:
      model enriched with distances