Class SqlExplicitModelOperator


  • public class SqlExplicitModelOperator
    extends org.apache.calcite.sql.SqlPrefixOperator
    SqlExplicitModelOperator is a SQL operator that represents an explicit model.
    • Field Summary

      • Fields inherited from class org.apache.calcite.sql.SqlOperator

        kind, MDX_PRECEDENCE, NL
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.calcite.sql.SqlCall createCall​(@Nullable org.apache.calcite.sql.SqlLiteral functionQualifier, org.apache.calcite.sql.parser.SqlParserPos pos, @Nullable org.apache.calcite.sql.SqlNode... operands)  
      org.apache.calcite.rel.type.RelDataType deriveType​(org.apache.calcite.sql.validate.SqlValidator validator, org.apache.calcite.sql.validate.SqlValidatorScope scope, org.apache.calcite.sql.SqlCall call)  
      void validateCall​(org.apache.calcite.sql.SqlCall call, org.apache.calcite.sql.validate.SqlValidator validator, org.apache.calcite.sql.validate.SqlValidatorScope scope, org.apache.calcite.sql.validate.SqlValidatorScope operandScope)  
      • Methods inherited from class org.apache.calcite.sql.SqlPrefixOperator

        adjustType, getMonotonicity, getSignatureTemplate, getSyntax, validRexOperands
      • Methods inherited from class org.apache.calcite.sql.SqlOperator

        acceptCall, acceptCall, allowsFraming, argumentMustBeScalar, checkOperandCount, checkOperandTypes, constructArgNameList, constructArgTypeList, constructOperandList, createCall, createCall, createCall, createCall, createCall, createCall, deriveOperandType, equals, getAllowedSignatures, getAllowedSignatures, getKind, getLeftPrec, getMonotonicity, getName, getNameAsId, getOperandCountRange, getOperandTypeChecker, getOperandTypeInference, getReturnTypeInference, getRightPrec, getStrongPolicyInference, hashCode, inferReturnType, inferReturnType, isAggregator, isDeterministic, isDynamicFunction, isGroup, isGroupAuxiliary, isName, isSymmetrical, leftPrec, not, preValidateCall, requiresDecimalExpansion, requiresOrder, requiresOver, reverse, rewriteCall, rightPrec, toString, unparse, unparseListClause, unparseListClause, validateOperands
    • Constructor Detail

      • SqlExplicitModelOperator

        public SqlExplicitModelOperator​(int prec)
    • Method Detail

      • createCall

        public org.apache.calcite.sql.SqlCall createCall​(@Nullable org.apache.calcite.sql.SqlLiteral functionQualifier,
                                                         org.apache.calcite.sql.parser.SqlParserPos pos,
                                                         @Nullable org.apache.calcite.sql.SqlNode... operands)
        Overrides:
        createCall in class org.apache.calcite.sql.SqlOperator
      • validateCall

        public void validateCall​(org.apache.calcite.sql.SqlCall call,
                                 org.apache.calcite.sql.validate.SqlValidator validator,
                                 org.apache.calcite.sql.validate.SqlValidatorScope scope,
                                 org.apache.calcite.sql.validate.SqlValidatorScope operandScope)
        Overrides:
        validateCall in class org.apache.calcite.sql.SqlOperator
      • deriveType

        public org.apache.calcite.rel.type.RelDataType deriveType​(org.apache.calcite.sql.validate.SqlValidator validator,
                                                                  org.apache.calcite.sql.validate.SqlValidatorScope scope,
                                                                  org.apache.calcite.sql.SqlCall call)
        Overrides:
        deriveType in class org.apache.calcite.sql.SqlOperator