Package org.apache.calcite.schema
Interface TableMacro
- All Superinterfaces:
Function
- All Known Implementing Classes:
MaterializedViewTable.MaterializedViewTableMacro
,MockCatalogReader.MockModifiableViewRelOptTable.MockViewTableMacro
,Smalls.SimpleTableMacro
,TableMacroImpl
,ViewTableMacro
Function that returns a
Table
.
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
Modifier and TypeMethodDescriptionApplies arguments to yield a table.Methods inherited from interface org.apache.calcite.schema.Function
getParameters
-
Method Details
-
apply
Applies arguments to yield a table.- Parameters:
arguments
- Arguments- Returns:
- Table
-