public class NumericExceptFirstOperandChecker extends Object implements org.apache.calcite.sql.type.SqlOperandTypeChecker
Constructor and Description |
---|
NumericExceptFirstOperandChecker(int nOperands) |
Modifier and Type | Method and Description |
---|---|
boolean |
checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding,
boolean throwOnFailure) |
String |
getAllowedSignatures(org.apache.calcite.sql.SqlOperator op,
String opName) |
org.apache.calcite.sql.type.SqlOperandTypeChecker.Consistency |
getConsistency() |
org.apache.calcite.sql.SqlOperandCountRange |
getOperandCountRange() |
boolean |
isOptional(int i) |
public NumericExceptFirstOperandChecker(int nOperands)
public boolean checkOperandTypes(org.apache.calcite.sql.SqlCallBinding callBinding, boolean throwOnFailure)
checkOperandTypes
in interface org.apache.calcite.sql.type.SqlOperandTypeChecker
public org.apache.calcite.sql.SqlOperandCountRange getOperandCountRange()
getOperandCountRange
in interface org.apache.calcite.sql.type.SqlOperandTypeChecker
public String getAllowedSignatures(org.apache.calcite.sql.SqlOperator op, String opName)
getAllowedSignatures
in interface org.apache.calcite.sql.type.SqlOperandTypeChecker
public org.apache.calcite.sql.type.SqlOperandTypeChecker.Consistency getConsistency()
getConsistency
in interface org.apache.calcite.sql.type.SqlOperandTypeChecker
public boolean isOptional(int i)
isOptional
in interface org.apache.calcite.sql.type.SqlOperandTypeChecker
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.