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
public class BaseInputSourceDefn.AdHocTableFunction extends BaseTableFunction
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.Parameter
-
Nested classes/interfaces inherited from interface org.apache.druid.catalog.model.table.TableFunction
TableFunction.ParameterDefn, TableFunction.ParameterType
-
-
Constructor Summary
Constructors Constructor Description AdHocTableFunction(List<TableFunction.ParameterDefn> parameters)
-
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
-
AdHocTableFunction
public AdHocTableFunction(List<TableFunction.ParameterDefn> parameters)
-
-
Method Detail
-
apply
public ExternalTableSpec apply(String fnName, Map<String,Object> args, List<ColumnSpec> columns, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-
-