Class BaseInputSourceDefn.PartialTableFunction
- java.lang.Object
-
- org.apache.druid.catalog.model.table.BaseTableFunction
-
- org.apache.druid.catalog.model.table.BaseInputSourceDefn.PartialTableFunction
-
- All Implemented Interfaces:
TableFunction
- Enclosing class:
- BaseInputSourceDefn
public class BaseInputSourceDefn.PartialTableFunction extends BaseTableFunction
The "partial" table function that starts with a catalog external table spec, then uses SQL function arguments to "complete" (i.e. fill in) the missing properties to produce a complete table which is then converted to an external table which Calcite can use.The set of parameters depends on the input source and on whether or not the catalog spec provides a format.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.druid.catalog.model.table.BaseTableFunction
BaseTableFunction.Parameter
-
Nested classes/interfaces inherited from interface org.apache.druid.catalog.model.table.TableFunction
TableFunction.ParameterDefn, TableFunction.ParameterType
-
-
Constructor Summary
Constructors Constructor Description PartialTableFunction(ResolvedExternalTable table, List<TableFunction.ParameterDefn> params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalTableSpecapply(String fnName, Map<String,Object> args, List<ColumnSpec> columns, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)-
Methods inherited from class org.apache.druid.catalog.model.table.BaseTableFunction
parameters, requireSchema
-
-
-
-
Constructor Detail
-
PartialTableFunction
public PartialTableFunction(ResolvedExternalTable table, List<TableFunction.ParameterDefn> params)
-
-
Method Detail
-
apply
public ExternalTableSpec apply(String fnName, Map<String,Object> args, List<ColumnSpec> columns, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-
-