|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eigenbase.sql.type.MultisetOperandTypeChecker
public class MultisetOperandTypeChecker
Parameter type-checking strategy types must be [nullable] Multiset, [nullable] Multiset and the two types must have the same element type
MultisetSqlType.getComponentType()
Constructor Summary | |
---|---|
MultisetOperandTypeChecker()
|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultisetOperandTypeChecker()
Method Detail |
---|
public boolean checkOperandTypes(SqlCallBinding callBinding, boolean throwOnFailure)
SqlOperandTypeChecker
checkOperandTypes
in interface SqlOperandTypeChecker
callBinding
- description of the call to be checkedthrowOnFailure
- whether to throw an exception if check fails
(otherwise returns false in that case)
public SqlOperandCountRange getOperandCountRange()
getOperandCountRange
in interface SqlOperandTypeChecker
public String getAllowedSignatures(SqlOperator op, String opName)
SqlOperandTypeChecker
getAllowedSignatures
in interface SqlOperandTypeChecker
op
- the operator being checkedopName
- name to use for the operator in case of aliasing
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |