Class TableAppendMacro
java.lang.Object
org.apache.calcite.sql.SqlOperator
org.apache.calcite.sql.SqlFunction
org.apache.calcite.sql.validate.SqlUserDefinedTableMacro
org.apache.druid.sql.calcite.external.TableAppendMacro
- All Implemented Interfaces:
org.apache.calcite.sql.SqlTableFunction,AuthorizableOperator
public class TableAppendMacro
extends org.apache.calcite.sql.validate.SqlUserDefinedTableMacro
implements AuthorizableOperator
Dynamic table append.
Enables to use: TABLE(APPEND('t1','t2')); which will provide a union view of the operand tables.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.calcite.sql.SqlOperatorstatic final org.apache.druid.sql.calcite.external.TableAppendMacro.OperatorConversionFields inherited from class org.apache.calcite.sql.SqlOperator
kind, MDX_PRECEDENCE, NL -
Method Summary
Modifier and TypeMethodDescriptioncomputeResources(org.apache.calcite.sql.SqlCall call, boolean inputSourceTypeSecurityEnabled) org.apache.calcite.schema.TranslatableTablegetTable(org.apache.calcite.sql.SqlOperatorBinding operatorBinding) Methods inherited from class org.apache.calcite.sql.validate.SqlUserDefinedTableMacro
getOperandTypeChecker, getRowTypeInferenceMethods inherited from class org.apache.calcite.sql.SqlFunction
deriveType, getFunctionType, getNameAsId, getParamTypes, getSqlIdentifier, getSyntax, isQuantifierAllowed, unparse, validateCall, validateQuantifierMethods inherited from class org.apache.calcite.sql.SqlOperator
acceptCall, acceptCall, adjustType, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, createCall, deriveOperandType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getMonotonicity, getName, getOperandCountRange, getOperandTypeInference, getReturnTypeInference, getRightPrec, getSignatureTemplate, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparseListClause, unparseListClause, validateOperands, validRexOperandsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.calcite.sql.SqlTableFunction
tableCharacteristic
-
Field Details
-
OPERATOR_CONVERSION
public static final org.apache.druid.sql.calcite.external.TableAppendMacro.OperatorConversion OPERATOR_CONVERSION -
APPEND_TABLE_MACRO
public static final org.apache.calcite.sql.SqlOperator APPEND_TABLE_MACRO
-
-
Method Details
-
getParamNames
- Overrides:
getParamNamesin classorg.apache.calcite.sql.validate.SqlUserDefinedTableMacro
-
getTable
public org.apache.calcite.schema.TranslatableTable getTable(org.apache.calcite.sql.SqlOperatorBinding operatorBinding) - Overrides:
getTablein classorg.apache.calcite.sql.validate.SqlUserDefinedTableMacro
-
computeResources
public Set<ResourceAction> computeResources(org.apache.calcite.sql.SqlCall call, boolean inputSourceTypeSecurityEnabled) - Specified by:
computeResourcesin interfaceAuthorizableOperator
-