public class SameOperandTypeExceptLastOperandChecker extends SameOperandTypeChecker
SqlOperandTypeChecker.Consistency| Modifier and Type | Field and Description |
|---|---|
protected String |
lastOperandTypeName |
nOperands| Constructor and Description |
|---|
SameOperandTypeExceptLastOperandChecker(int nOperands,
String lastOperandTypeName) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkOperandTypesImpl(SqlOperatorBinding operatorBinding,
boolean throwOnFailure,
@Nullable SqlCallBinding callBinding) |
String |
getAllowedSignatures(SqlOperator op,
String opName)
Returns a string describing the allowed formal signatures of a call, e.g.
|
checkOperandTypes, checkOperandTypes, checkSingleOperandType, getConsistency, getOperandCountRange, getOperandList, getTypeName, isOptionalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisFixedParameters, typeInferenceprotected final String lastOperandTypeName
public SameOperandTypeExceptLastOperandChecker(int nOperands,
String lastOperandTypeName)
protected boolean checkOperandTypesImpl(SqlOperatorBinding operatorBinding, boolean throwOnFailure, @Nullable SqlCallBinding callBinding)
checkOperandTypesImpl in class SameOperandTypeCheckerpublic String getAllowedSignatures(SqlOperator op, String opName)
SqlOperandTypeCheckergetAllowedSignatures in interface SqlOperandTypeCheckergetAllowedSignatures in class SameOperandTypeCheckerop - the operator being checkedopName - name to use for the operator in case of aliasingCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.