Package io.trino.operator.function
Class EmptyTableFunctionPartition
java.lang.Object
io.trino.operator.function.EmptyTableFunctionPartition
- All Implemented Interfaces:
TableFunctionPartition
This is a class representing empty input to a table function. An EmptyTableFunctionPartition is created
when the table function has KEEP WHEN EMPTY property, which means that the function should be executed
even if the input is empty, and all the table arguments are empty relations.
An EmptyTableFunctionPartition is created and processed once per node. To avoid duplicated execution, a table function having KEEP WHEN EMPTY property must have single distribution.
-
Constructor Summary
ConstructorsConstructorDescriptionEmptyTableFunctionPartition(TableFunctionDataProcessor tableFunction, int properChannelsCount, int passThroughSourcesCount, List<Type> passThroughTypes) -
Method Summary
-
Constructor Details
-
EmptyTableFunctionPartition
public EmptyTableFunctionPartition(TableFunctionDataProcessor tableFunction, int properChannelsCount, int passThroughSourcesCount, List<Type> passThroughTypes)
-
-
Method Details
-
toOutputPages
- Specified by:
toOutputPagesin interfaceTableFunctionPartition
-