public class ExternalTableMacro extends Object implements org.apache.calcite.schema.TableMacro
ExternalOperatorConversion to generate DruidTable that reference ExternalDataSource.
This class is exercised in CalciteInsertDmlTest but is not currently exposed to end users.| Constructor and Description |
|---|
ExternalTableMacro(com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.calcite.schema.TranslatableTable |
apply(List<Object> arguments) |
List<org.apache.calcite.schema.FunctionParameter> |
getParameters() |
@Inject public ExternalTableMacro(com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
public org.apache.calcite.schema.TranslatableTable apply(List<Object> arguments)
apply in interface org.apache.calcite.schema.TableMacropublic List<org.apache.calcite.schema.FunctionParameter> getParameters()
getParameters in interface org.apache.calcite.schema.FunctionCopyright © 2011–2022 The Apache Software Foundation. All rights reserved.