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
-
Constructor Summary
ConstructorDescriptionSelectProjector
(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 TypeMethodDescriptionnz.org.riskscape.engine.Tuple
apply
(nz.org.riskscape.engine.Tuple t) void
close()
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 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) -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacenz.org.riskscape.engine.pipeline.Realized
-
getSourceType
public nz.org.riskscape.engine.types.Struct getSourceType()- Specified by:
getSourceType
in interfacenz.org.riskscape.engine.projection.Projector
-
getProjectedType
public nz.org.riskscape.engine.types.Struct getProjectedType()- Specified by:
getProjectedType
in interfacenz.org.riskscape.engine.projection.Projector
-