Package org.apache.calcite.schema
Interface TableMacro
-
- All Superinterfaces:
Function
- All Known Implementing Classes:
MaterializedViewTable.MaterializedViewTableMacro
,ReflectiveSchema.MethodTableMacro
,TableMacroImpl
,ViewTableMacro
public interface TableMacro extends Function
Function that returns aTable
.As the name "macro" implies, this is invoked at "compile time", that is, during query preparation. Compile-time expansion of table expressions allows for some very powerful query-optimizations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TranslatableTable
apply(java.util.List<java.lang.Object> arguments)
Applies arguments to yield a table.-
Methods inherited from interface org.apache.calcite.schema.Function
getParameters
-
-
-
-
Method Detail
-
apply
TranslatableTable apply(java.util.List<java.lang.Object> arguments)
Applies arguments to yield a table.- Parameters:
arguments
- Arguments- Returns:
- Table
-
-