public abstract static class NumericUtils.IntRangeBuilder extends Object
NumericUtils.splitIntRange(org.apache.lucene.util.NumericUtils.IntRangeBuilder, int, int, int).
You need to overwrite only one of the methods.
NOTE: This is a very low-level interface, the method signatures may change in later versions.
| Constructor | Description |
|---|---|
IntRangeBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addRange(int min,
int max,
int shift) |
Overwrite this method, if you like to receive the raw int range bounds.
|
void |
addRange(String minPrefixCoded,
String maxPrefixCoded) |
Overwrite this method, if you like to receive the already prefix encoded range bounds.
|
public void addRange(String minPrefixCoded, String maxPrefixCoded)
public void addRange(int min,
int max,
int shift)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.