public abstract static class LegacyNumericUtils.IntRangeBuilder extends Object
LegacyNumericUtils.splitIntRange(org.apache.lucene.util.LegacyNumericUtils.IntRangeBuilder, int, int, int)
.
You need to overwrite only one of the methods.Constructor and Description |
---|
IntRangeBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addRange(BytesRef minPrefixCoded,
BytesRef maxPrefixCoded)
Overwrite this method, if you like to receive the already prefix encoded range bounds.
|
void |
addRange(int min,
int max,
int shift)
Overwrite this method, if you like to receive the raw int range bounds.
|
public void addRange(BytesRef minPrefixCoded, BytesRef maxPrefixCoded)
public void addRange(int min, int max, int shift)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.