private static class SqlOperandCountRanges.RangeImpl extends Object implements SqlOperandCountRange
SqlOperandCountRange.| Constructor and Description |
|---|
RangeImpl(int min,
int max) |
| Modifier and Type | Method and Description |
|---|---|
int |
getMax()
Returns an upper bound.
|
int |
getMin()
Returns an lower bound.
|
boolean |
isValidCount(int count)
Returns whether
count is a valid number of operands. |
public boolean isValidCount(int count)
SqlOperandCountRangecount is a valid number of operands.isValidCount in interface SqlOperandCountRangepublic int getMin()
SqlOperandCountRangegetMin in interface SqlOperandCountRangepublic int getMax()
SqlOperandCountRangegetMax in interface SqlOperandCountRangeCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.