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.Constructor and Description |
---|
NumericUtils.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-2012 Apache Software Foundation. All Rights Reserved.