C# Класс Lucene.Net.Util.NumericUtils.IntRangeBuilder

Callback for #splitIntRange. You need to overwrite only one of the methods. @lucene.internal @since 2.9, API changed non backwards-compliant in 4.0
Показать файл Открыть проект

Открытые методы

Метод Описание
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 range (inclusive) queries from them.

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

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

Описание методов

AddRange() публичный Метод

Overwrite this method, if you like to receive the already prefix encoded range bounds. You can directly build classical range (inclusive) queries from them.
public AddRange ( BytesRef minPrefixCoded, BytesRef maxPrefixCoded ) : void
minPrefixCoded BytesRef
maxPrefixCoded BytesRef
Результат void

AddRange() публичный Метод

Overwrite 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).
public AddRange ( int min, int max, int shift ) : void
min int
max int
shift int
Результат void