public abstract static class LegacyNumericUtils.LongRangeBuilder extends Object
LegacyNumericUtils.splitLongRange(org.apache.solr.legacy.LegacyNumericUtils.LongRangeBuilder, int, long, long)
.
You need to overwrite only one of the methods.Constructor and Description |
---|
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-2019 Apache Software Foundation. All Rights Reserved.