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<Object> arguments)
Returns the row type of the table yielded by this function when
applied to given arguments.
|
RelDataType |
getRowType(RelDataTypeFactory typeFactory,
List<Object> arguments)
Returns the record type of the table yielded by this function when
applied to given arguments.
|
getParametersRelDataType getRowType(RelDataTypeFactory typeFactory, List<Object> arguments)
typeFactory - Type factoryarguments - arguments of a function call (only literal arguments
are passed, nulls for non-literal ones)Type getElementType(List<Object> arguments)
arguments - arguments of a function call (only literal arguments
are passed, nulls for non-literal ones)Object[].class)Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.