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 IntervalFunction
source
private int
width
-
Constructor Summary
Constructors Constructor Description MaxWidth(int width, IntervalFunction source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntervalsSource
toIntervalSource(java.lang.String field, Analyzer analyzer)
java.lang.String
toString()
-
-
-
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:
toIntervalSource
in classIntervalFunction
-
toString
public java.lang.String toString()
- Specified by:
toString
in classIntervalFunction
-
-