Interface Restriction
public interface Restriction
A glorified Predicate
with support for riskscape type safety checks and geotools Filter
representation.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the predicate used for deciding whether a tuple should be removed or not.default ResultOrProblems<Restrictor>
restrictType
(Struct sourceType)
-
Field Details
-
NONE
-
-
Method Details
-
getPredicate
Return the predicate used for deciding whether a tuple should be removed or not.
- Returns:
- Predicate
-
validate
- Returns:
- a list of problems that this
Restriction
would encounter if it was applied to a value of the given type.
-
restrictType
-