Class BaseInputSourceDefn.AdHocTableFunction
java.lang.Object
org.apache.druid.catalog.model.table.BaseTableFunction
org.apache.druid.catalog.model.table.BaseInputSourceDefn.AdHocTableFunction
- All Implemented Interfaces:
TableFunction
- Enclosing class:
- BaseInputSourceDefn
The "from-scratch" table function for this input source. The parameters
are those defined by the subclass, and the apply simply turns around and
asks the input source definition to do the conversion.
-
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
Constructors -
Method Summary
Methods inherited from class org.apache.druid.catalog.model.table.BaseTableFunction
parameters, requireSchema
-
Constructor Details
-
AdHocTableFunction
-
-
Method Details
-
apply
public ExternalTableSpec apply(String fnName, Map<String, Object> args, List<ColumnSpec> columns, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-