Interface CastExecutor<IN,OUT>
- Type Parameters:
IN- Input internal typeOUT- Output internal type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to model a function that performs the casting of a value from one type to another.
-
Method Summary
-
Method Details
-
cast
Cast the input value. The output is null only and only if the input is null. The method throws an exception if something goes wrong when casting.- Parameters:
value- Input value.- Throws:
TableRuntimeException
-