Class GroupAsPolylineOperation.Result<G>

java.lang.Object
org.apache.sis.feature.Property
org.apache.sis.feature.Field<V>
org.apache.sis.feature.AbstractAttribute<G>
org.apache.sis.internal.storage.gpx.GroupAsPolylineOperation.Result<G>
Type Parameters:
G - the root geometry class (implementation-dependent).
All Implemented Interfaces:
Serializable
Enclosing class:
GroupAsPolylineOperation

private static final class GroupAsPolylineOperation.Result<G> extends AbstractAttribute<G>
The attribute resulting from execution if the GroupAsPolylineOperation. The value is computed when first requested, then cached for this Result instance only. Note that the cache is not used when apply(Feature, ParameterValueGroup) is invoked, causing a new value to be computed again. The intent is to behave as if the operation has been executed at apply(…) invocation time, even if we deferred the actual execution.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      For cross-version compatibility.
      See Also:
    • feature

      private final AbstractFeature feature
      The feature on which to execute the operation.
    • association

      private final String association
      Name of the property to follow in order to get the geometries to add to a polyline. This property shall be a feature association, usually with [0 … ∞] multiplicity.
    • geometry

      private transient G geometry
      The result, computed when first needed.
  • Constructor Details

  • Method Details