Package org.duckdb
Interface DuckDBScalarFunction
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapply(DuckDBDataChunkReader input, DuckDBWritableVector output) Processes a full input chunk and writes one output value per row directly into the DuckDB output vector.
-
Method Details
-
apply
Processes a full input chunk and writes one output value per row directly into the DuckDB output vector.The context and all wrappers returned from it are valid only for the duration of the callback and must not be retained.
- Parameters:
input- data chunk with function argumentsoutput- vector to write function results into- Throws:
Exception- when function execution fails
-