Class NumericUtils.Int32RangeBuilder
Callback for SplitInt32Range(NumericUtils.Int32RangeBuilder, Int32, Int32, Int32). You need to override only one of the methods.
NOTE: This was IntRangeBuilder in Lucene
This is a Lucene.NET INTERNAL API, use at your own risk
@since 2.9, API changed non backwards-compliant in 4.0
Inheritance
System.Object
NumericUtils.Int32RangeBuilder
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public abstract class Int32RangeBuilder
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 range (inclusive) queries from them.
Declaration
public virtual void AddRange(BytesRef minPrefixCoded, BytesRef maxPrefixCoded)
Parameters
Type | Name | Description |
---|---|---|
BytesRef | minPrefixCoded | |
BytesRef | maxPrefixCoded |
AddRange(Int32, Int32, Int32)
Override this method, if you like to receive the raw int range bounds. You can use this for e.g. debugging purposes (print out range bounds).
Declaration
public virtual void AddRange(int min, int max, int shift)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | min | |
System.Int32 | max | |
System.Int32 | shift |