private static class RangeQueryOptimizer.Range extends Object
Modifier and Type | Field and Description |
---|---|
private static RangeQueryOptimizer.Range |
empty |
private Limit |
from |
private Limit |
to |
Constructor and Description |
---|
Range(IntItem range) |
Range(Limit from,
Limit to) |
Modifier and Type | Method and Description |
---|---|
RangeQueryOptimizer.Range |
intersection(RangeQueryOptimizer.Range other)
Returns the intersection of this and the given range.
|
boolean |
overlaps(RangeQueryOptimizer.Range other)
Returns true if these two ranges overlap
|
Item |
toItem(String fieldName) |
String |
toString() |
private final Limit from
private final Limit to
private static final RangeQueryOptimizer.Range empty
public boolean overlaps(RangeQueryOptimizer.Range other)
public RangeQueryOptimizer.Range intersection(RangeQueryOptimizer.Range other)
Copyright © 2018. All rights reserved.