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,
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, isOptionalprotected final String lastOperandTypeName
public SameOperandTypeExceptLastOperandChecker(int nOperands,
String lastOperandTypeName)
protected boolean checkOperandTypesImpl(SqlOperatorBinding operatorBinding, boolean throwOnFailure, 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–2018 The Apache Software Foundation. All rights reserved.