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