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
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
@since 2.9, API changed non backwards-compliant in 4.0
Inheritance
System.Object
NumericUtils.Int64RangeBuilder
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 Int64RangeBuilder
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 |