C# Class Lucene.Net.Util.NumericUtils.LongRangeBuilder

Callback for #splitLongRange. You need to overwrite only one of the methods. @lucene.internal @since 2.9, API changed non backwards-compliant in 4.0
Mostra file Open project: paulirwin/lucene.net

Public Methods

Method Description
AddRange ( BytesRef minPrefixCoded, BytesRef maxPrefixCoded ) : void

Overwrite this method, if you like to receive the already prefix encoded range bounds. You can directly build classical (inclusive) range queries from them.

AddRange ( long min, long max, int shift ) : void

Overwrite 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).

Method Details

AddRange() public method

Overwrite this method, if you like to receive the already prefix encoded range bounds. You can directly build classical (inclusive) range queries from them.
public AddRange ( BytesRef minPrefixCoded, BytesRef maxPrefixCoded ) : void
minPrefixCoded BytesRef
maxPrefixCoded BytesRef
return void

AddRange() public method

Overwrite 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).
public AddRange ( long min, long max, int shift ) : void
min long
max long
shift int
return void