Package org.apache.calcite.schema.impl
Class MaterializedViewTable.MaterializedViewTableMacro
- java.lang.Object
-
- org.apache.calcite.schema.impl.ViewTableMacro
-
- org.apache.calcite.schema.impl.MaterializedViewTable.MaterializedViewTableMacro
-
- All Implemented Interfaces:
Function
,TableMacro
- Enclosing class:
- MaterializedViewTable
public static class MaterializedViewTable.MaterializedViewTableMacro extends ViewTableMacro
Table function that returns the table that materializes a view.
-
-
Field Summary
Fields Modifier and Type Field Description private MaterializationKey
key
-
Fields inherited from class org.apache.calcite.schema.impl.ViewTableMacro
schema, schemaPath, viewPath, viewSql
-
-
Constructor Summary
Constructors Modifier Constructor Description private
MaterializedViewTableMacro(CalciteSchema schema, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath, java.util.List<java.lang.String> viewPath, java.lang.String suggestedTableName, boolean existing)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TranslatableTable
apply(java.util.List<java.lang.Object> arguments)
Applies arguments to yield a table.-
Methods inherited from class org.apache.calcite.schema.impl.ViewTableMacro
getParameters, modifiableViewTable, viewTable
-
-
-
-
Field Detail
-
key
private final MaterializationKey key
-
-
Constructor Detail
-
MaterializedViewTableMacro
private MaterializedViewTableMacro(CalciteSchema schema, java.lang.String viewSql, java.util.List<java.lang.String> viewSchemaPath, java.util.List<java.lang.String> viewPath, java.lang.String suggestedTableName, boolean existing)
-
-
Method Detail
-
apply
public TranslatableTable apply(java.util.List<java.lang.Object> arguments)
Description copied from interface:TableMacro
Applies arguments to yield a table.- Specified by:
apply
in interfaceTableMacro
- Overrides:
apply
in classViewTableMacro
- Parameters:
arguments
- Arguments- Returns:
- Table
-
-