public static abstract class

NumericUtils.IntRangeBuilder

extends Object
java.lang.Object
   ↳ org.apache.lucene.util.NumericUtils.IntRangeBuilder

Class Overview

Expert: Callback for splitIntRange(NumericUtils.IntRangeBuilder, int, int, int). You need to overwrite only one of the methods.

NOTE: This is a very low-level interface, the method signatures may change in later versions.

Summary

Public Constructors
NumericUtils.IntRangeBuilder()
Public Methods
void addRange(int min, int max, int shift)
Overwrite this method, if you like to receive the raw int range bounds.
void addRange(String minPrefixCoded, String maxPrefixCoded)
Overwrite this method, if you like to receive the already prefix encoded range bounds.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public NumericUtils.IntRangeBuilder ()

Public Methods

public void addRange (int min, int max, int shift)

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 void addRange (String minPrefixCoded, String maxPrefixCoded)

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