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
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.ParameterNested classes/interfaces inherited from interface org.apache.druid.catalog.model.table.TableFunction
TableFunction.ParameterDefn, TableFunction.ParameterType -
Constructor Summary
ConstructorsConstructorDescriptionPartialTableFunction(ResolvedExternalTable table, List<TableFunction.ParameterDefn> params) -
Method Summary
Methods inherited from class org.apache.druid.catalog.model.table.BaseTableFunction
parameters, requireSchema
-
Constructor Details
-
PartialTableFunction
-
-
Method Details
-
apply
public ExternalTableSpec apply(String fnName, Map<String, Object> args, List<ColumnSpec> columns, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-