Package org.apache.calcite.sql
Interface SqlOperandCountRange
public interface SqlOperandCountRange
A class that describes how many operands an operator can take.
-
Method Summary
Modifier and TypeMethodDescriptionintgetMax()Returns an upper bound.intgetMin()Returns an lower bound.booleanisValidCount(int count) Returns whethercountis a valid number of operands.
-
Method Details
-
isValidCount
boolean isValidCount(int count) Returns whethercountis a valid number of operands. -
getMin
int getMin()Returns an lower bound. -1 if there is no lower bound. -
getMax
int getMax()Returns an upper bound. -1 if there is no upper bound.
-