Class NumericUtils.Int64RangeBuilder
Callback for SplitInt64Range(NumericUtils.Int64RangeBuilder, Int32, Int64, Int64). You need to override only one of the methods.
NOTE: This was LongRangeBuilder in Lucene
@lucene.internal @since 2.9, API changed non backwards-compliant in 4.0
Inheritance
System.Object
NumericUtils.Int64RangeBuilder
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class Int64RangeBuilder : object
Methods
| Improve this Doc View SourceAddRange(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(Int64, Int64, Int32)
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 |
---|---|---|
System.Int64 | min | |
System.Int64 | max | |
System.Int32 | shift |