Class ExternalOperatorConversion
java.lang.Object
org.apache.druid.sql.calcite.external.DruidExternTableMacroConversion
org.apache.druid.sql.calcite.external.ExternalOperatorConversion
- All Implemented Interfaces:
SqlOperatorConversion
Registers the "EXTERN" operator, which is used in queries like
INSERT INTO dst SELECT * FROM TABLE(EXTERN(
"<input source>",
"<input format>",
"<signature>"))
INSERT INTO dst SELECT * FROM TABLE(EXTERN(
inputSource => "<input source>",
inputFormat => "<input format>"))
EXTEND (<columns>)
Where either the by-position or by-name forms are usable with either
a Druid JSON signature, or an SQL EXTEND list of columns.
As with all table functions, the EXTEND is optional.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExternalOperatorConversion(com.fasterxml.jackson.databind.ObjectMapper jsonMapper) -
Method Summary
Methods inherited from class org.apache.druid.sql.calcite.external.DruidExternTableMacroConversion
calciteOperator, toDruidExpressionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.druid.sql.calcite.expression.SqlOperatorConversion
toDruidExpressionWithPostAggOperands, toDruidFilter, toPostAggregator
-
Field Details
-
FUNCTION_NAME
- See Also:
-
INPUT_SOURCE_PARAM
- See Also:
-
INPUT_FORMAT_PARAM
- See Also:
-
SIGNATURE_PARAM
- See Also:
-
-
Constructor Details
-
ExternalOperatorConversion
@Inject public ExternalOperatorConversion(com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
-