Class NumericUtils.Int64RangeBuilder
Callback for SplitInt64Range(Int64RangeBuilder, int, long, long). You need to override only one of the methods.
NOTE: This was LongRangeBuilder in LuceneNote
This API is for internal purposes only and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class NumericUtils.Int64RangeBuilder
Methods
AddRange(BytesRef, BytesRef)
Override this method, if you like to receive the already prefix encoded range bounds. You can directly build classical (inclusive) range queries from them.
Declaration
public virtual void AddRange(BytesRef minPrefixCoded, BytesRef maxPrefixCoded)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | minPrefixCoded | |
BytesRef | maxPrefixCoded |
AddRange(long, long, int)
Override this method, if you like to receive the raw long range bounds. You can use this for e.g. debugging purposes (print out range bounds).
Declaration
public virtual void AddRange(long min, long max, int shift)
Parameters
Type | Name | Description |
---|---|---|
long | min | |
long | max | |
int | shift |