Class SelectProjector

java.lang.Object
nz.org.riskscape.engine.projection.SelectProjector
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

public class SelectProjector extends Object implements nz.org.riskscape.engine.projection.Projector
  • Constructor Summary

    Constructors
    Constructor
    Description
    SelectProjector(nz.org.riskscape.engine.types.Struct sourceType, nz.org.riskscape.engine.types.Struct projectedType, nz.org.riskscape.engine.rl.RealizedExpression expression)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    nz.org.riskscape.engine.Tuple
    apply(nz.org.riskscape.engine.Tuple t)
     
    void
     
    nz.org.riskscape.engine.types.Struct
     
    nz.org.riskscape.engine.types.Struct
     
    static nz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.projection.Projector>
    realize(nz.org.riskscape.engine.types.Struct inputType, nz.org.riskscape.rl.ast.Expression selection, nz.org.riskscape.engine.rl.ExpressionRealizer expressionRealizer)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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
  • Constructor Details

    • SelectProjector

      public SelectProjector(nz.org.riskscape.engine.types.Struct sourceType, nz.org.riskscape.engine.types.Struct projectedType, nz.org.riskscape.engine.rl.RealizedExpression expression)
  • Method Details

    • realize

      public static nz.org.riskscape.problem.ResultOrProblems<? extends nz.org.riskscape.engine.projection.Projector> realize(nz.org.riskscape.engine.types.Struct inputType, nz.org.riskscape.rl.ast.Expression selection, nz.org.riskscape.engine.rl.ExpressionRealizer expressionRealizer)
    • apply

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

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface nz.org.riskscape.engine.pipeline.Realized
    • 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