Class MaxWidth
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.IntervalFunction
-
- org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.MaxWidth
-
public class MaxWidth extends IntervalFunction
Node that representsIntervals.maxwidth(int, IntervalsSource).
-
-
Field Summary
Fields Modifier and Type Field Description private IntervalFunctionsourceprivate intwidth
-
Constructor Summary
Constructors Constructor Description MaxWidth(int width, IntervalFunction source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntervalsSourcetoIntervalSource(java.lang.String field, Analyzer analyzer)java.lang.StringtoString()
-
-
-
Field Detail
-
width
private final int width
-
source
private final IntervalFunction source
-
-
Constructor Detail
-
MaxWidth
public MaxWidth(int width, IntervalFunction source)
-
-
Method Detail
-
toIntervalSource
public IntervalsSource toIntervalSource(java.lang.String field, Analyzer analyzer)
- Specified by:
toIntervalSourcein classIntervalFunction
-
toString
public java.lang.String toString()
- Specified by:
toStringin classIntervalFunction
-
-