public interface TableFunction extends Function
In contrast with TableMacro, the result of the table is not known
until execution.
| Modifier and Type | Method and Description |
|---|---|
Type |
getElementType(List<? extends Object> arguments)
Returns the row type of the table yielded by this function when
applied to given arguments.
|
RelDataType |
getRowType(RelDataTypeFactory typeFactory,
List<? extends Object> arguments)
Returns the record type of the table yielded by this function when
applied to given arguments.
|
getParametersRelDataType getRowType(RelDataTypeFactory typeFactory, List<? extends Object> arguments)
typeFactory - Type factoryarguments - arguments of a function call (only literal arguments
are passed, nulls for non-literal ones)Type getElementType(List<? extends Object> arguments)
arguments - arguments of a function call (only literal arguments
are passed, nulls for non-literal ones)Object[].class)Copyright © 2012-2022 Apache Software Foundation. All Rights Reserved.