Class MaxGaps
- java.lang.Object
-
- org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.IntervalFunction
-
- org.apache.lucene.queryparser.flexible.standard.nodes.intervalfn.MaxGaps
-
public class MaxGaps extends IntervalFunction
Node that representsIntervals.maxgaps(int, IntervalsSource)
.
-
-
Field Summary
Fields Modifier and Type Field Description private int
maxGaps
private IntervalFunction
source
-
Constructor Summary
Constructors Constructor Description MaxGaps(int maxGaps, 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
-
maxGaps
private final int maxGaps
-
source
private final IntervalFunction source
-
-
Constructor Detail
-
MaxGaps
public MaxGaps(int maxGaps, 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
-
-