|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SqlOperandTypeChecker
Strategy interface to check for allowed operand types of an operator call.
This interface is an example of the strategy pattern.
| Method Summary | |
|---|---|
boolean |
checkOperandTypes(SqlCallBinding callBinding,
boolean throwOnFailure)
Checks the types of all operands to an operator call. |
String |
getAllowedSignatures(SqlOperator op,
String opName)
Returns a string describing the allowed formal signatures of a call, e.g. |
SqlOperandCountRange |
getOperandCountRange()
|
| Method Detail |
|---|
boolean checkOperandTypes(SqlCallBinding callBinding,
boolean throwOnFailure)
callBinding - description of the call to be checkedthrowOnFailure - whether to throw an exception if check fails
(otherwise returns false in that case)
SqlOperandCountRange getOperandCountRange()
String getAllowedSignatures(SqlOperator op,
String opName)
op - the operator being checkedopName - name to use for the operator in case of aliasing
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||