private static class SqlOperandCountRanges.RangeImpl extends java.lang.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)
SqlOperandCountRange
count
is a valid number of operands.isValidCount
in interface SqlOperandCountRange
public int getMin()
SqlOperandCountRange
getMin
in interface SqlOperandCountRange
public int getMax()
SqlOperandCountRange
getMax
in interface SqlOperandCountRange
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.