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.Constructor and Description |
---|
NumericUtils.LongRangeBuilder() |
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(long min,
long max,
int shift)
Overwrite this method, if you like to receive the raw long range bounds.
|
public void addRange(BytesRef minPrefixCoded, BytesRef maxPrefixCoded)
public void addRange(long min, long max, int shift)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.