Class BaseTableFunction
- java.lang.Object
-
- org.apache.druid.catalog.model.table.BaseTableFunction
-
- All Implemented Interfaces:
TableFunction
- Direct Known Subclasses:
BaseInputSourceDefn.AdHocTableFunction,BaseInputSourceDefn.PartialTableFunction
public abstract class BaseTableFunction extends Object implements TableFunction
Base implementation for a table function definition.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBaseTableFunction.Parameter-
Nested classes/interfaces inherited from interface org.apache.druid.catalog.model.table.TableFunction
TableFunction.ParameterDefn, TableFunction.ParameterType
-
-
Constructor Summary
Constructors Constructor Description BaseTableFunction(List<TableFunction.ParameterDefn> parameters)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<TableFunction.ParameterDefn>parameters()protected static voidrequireSchema(String fnName, List<ColumnSpec> columns)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.druid.catalog.model.table.TableFunction
apply
-
-
-
-
Constructor Detail
-
BaseTableFunction
public BaseTableFunction(List<TableFunction.ParameterDefn> parameters)
-
-
Method Detail
-
parameters
public List<TableFunction.ParameterDefn> parameters()
- Specified by:
parametersin interfaceTableFunction
-
requireSchema
protected static void requireSchema(String fnName, List<ColumnSpec> columns)
-
-