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
파일 보기 프로젝트 열기: paulirwin/lucene.net

공개 메소드들

메소드 설명
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