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 TypeMethodDescriptionint
getMax()
Returns an upper bound.int
getMin()
Returns an lower bound.boolean
isValidCount
(int count) Returns whethercount
is a valid number of operands.
-
Method Details
-
isValidCount
boolean isValidCount(int count) Returns whethercount
is 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.
-