Class ApplyFunctionProjection.ApplyFunctionProjector

java.lang.Object
nz.org.riskscape.engine.projection.ApplyFunctionProjection.ApplyFunctionProjector
All Implemented Interfaces:
AutoCloseable, Function<nz.org.riskscape.engine.Tuple,nz.org.riskscape.engine.Tuple>, nz.org.riskscape.engine.pipeline.Realized, nz.org.riskscape.engine.projection.Projector
Enclosing class:
ApplyFunctionProjection

public final class ApplyFunctionProjection.ApplyFunctionProjector extends Object implements nz.org.riskscape.engine.projection.Projector
  • Constructor Summary

    Constructors
    Constructor
    Description
    ApplyFunctionProjector(nz.org.riskscape.engine.function.RiskscapeFunction functionToApply, nz.org.riskscape.engine.types.Struct sourceType, nz.org.riskscape.engine.types.Struct projectedType, List<Integer> contraIndices, nz.org.riskscape.engine.types.Struct.StructMember mapOn)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    nz.org.riskscape.engine.Tuple
    apply(nz.org.riskscape.engine.Tuple input)
     
    nz.org.riskscape.engine.types.Struct
     
    nz.org.riskscape.engine.types.Struct
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface nz.org.riskscape.engine.projection.Projector

    getDirectMapping, getDirectMappingStrings, getSpatialMetadataMapper

    Methods inherited from interface nz.org.riskscape.engine.pipeline.Realized

    close
  • Constructor Details

    • ApplyFunctionProjector

      public ApplyFunctionProjector(nz.org.riskscape.engine.function.RiskscapeFunction functionToApply, nz.org.riskscape.engine.types.Struct sourceType, nz.org.riskscape.engine.types.Struct projectedType, List<Integer> contraIndices, nz.org.riskscape.engine.types.Struct.StructMember mapOn)
  • Method Details

    • apply

      public nz.org.riskscape.engine.Tuple apply(nz.org.riskscape.engine.Tuple input)
      Specified by:
      apply in interface Function<nz.org.riskscape.engine.Tuple,nz.org.riskscape.engine.Tuple>
    • getSourceType

      public nz.org.riskscape.engine.types.Struct getSourceType()
      Specified by:
      getSourceType in interface nz.org.riskscape.engine.projection.Projector
    • getProjectedType

      public nz.org.riskscape.engine.types.Struct getProjectedType()
      Specified by:
      getProjectedType in interface nz.org.riskscape.engine.projection.Projector
    • toString

      public String toString()
      Overrides:
      toString in class Object