Package io.substrait.relation
Interface CopyOnWriteUtils.TransformFunction<T,C extends VisitationContext,E extends Exception>
- Enclosing class:
- CopyOnWriteUtils
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface CopyOnWriteUtils.TransformFunction<T,C extends VisitationContext,E extends Exception>
-
Method Summary
-
Method Details
-
apply
Applies a potential transformation to the given value.- Parameters:
t- the input valuecontext- the visitation context- Returns:
- an optional containing a replacement value if changed; empty if unchanged
- Throws:
E- if the transformation fails
-