Package org.apache.calcite.schema.impl
Class TableMacroImpl
java.lang.Object
org.apache.calcite.schema.impl.ReflectiveFunctionBase
org.apache.calcite.schema.impl.TableMacroImpl
- All Implemented Interfaces:
Function,TableMacro
Implementation of
TableMacro based on a
method.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.calcite.schema.impl.ReflectiveFunctionBase
ReflectiveFunctionBase.ParameterListBuilder -
Field Summary
Fields inherited from class org.apache.calcite.schema.impl.ReflectiveFunctionBase
method, parameters -
Method Summary
Modifier and TypeMethodDescriptionApplies arguments to yield a table.static @Nullable TableMacroCreates aTableMacrofrom a class, looking for an "eval" method.static @Nullable TableMacroCreates aTableMacrofrom a method.Methods inherited from class org.apache.calcite.schema.impl.ReflectiveFunctionBase
builder, getParametersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.calcite.schema.Function
getParameters
-
Method Details
-
create
Creates aTableMacrofrom a class, looking for an "eval" method. Returns null if there is no such method. -
create
Creates aTableMacrofrom a method. -
apply
Applies arguments to yield a table.- Specified by:
applyin interfaceTableMacro- Parameters:
arguments- Arguments- Returns:
- Table
-