public abstract static class NumericUtils.LongRangeBuilder extends Object
NumericUtils.splitLongRange(org.apache.lucene.util.NumericUtils.LongRangeBuilder, int, long, long).
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 |
|---|---|
LongRangeBuilder() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addRange(long min,
long max,
int shift) |
Overwrite this method, if you like to receive the raw long 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(long min,
long max,
int shift)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.