Package org.apache.lucene.tests.search
Class BaseRangeFieldQueryTestCase.Range
- java.lang.Object
-
- org.apache.lucene.tests.search.BaseRangeFieldQueryTestCase.Range
-
- Enclosing class:
- BaseRangeFieldQueryTestCase
protected abstract static class BaseRangeFieldQueryTestCase.Range extends Object
base class for range verification
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classBaseRangeFieldQueryTestCase.Range.QueryTypesupported query relations
-
Field Summary
Fields Modifier and Type Field Description protected booleanisMissing
-
Constructor Summary
Constructors Modifier Constructor Description protectedRange()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleancontains(BaseRangeFieldQueryTestCase.Range other)protected abstract ObjectgetMax(int dim)protected abstract ObjectgetMin(int dim)protected abstract booleanisDisjoint(BaseRangeFieldQueryTestCase.Range other)protected abstract booleanisEqual(BaseRangeFieldQueryTestCase.Range other)protected abstract booleanisWithin(BaseRangeFieldQueryTestCase.Range other)protected abstract intnumDimensions()protected BaseRangeFieldQueryTestCase.Range.QueryTyperelate(BaseRangeFieldQueryTestCase.Range other)protected abstract voidsetMax(int dim, Object val)protected abstract voidsetMin(int dim, Object val)
-
-
-
Method Detail
-
numDimensions
protected abstract int numDimensions()
-
getMin
protected abstract Object getMin(int dim)
-
setMin
protected abstract void setMin(int dim, Object val)
-
getMax
protected abstract Object getMax(int dim)
-
setMax
protected abstract void setMax(int dim, Object val)
-
isEqual
protected abstract boolean isEqual(BaseRangeFieldQueryTestCase.Range other)
-
isDisjoint
protected abstract boolean isDisjoint(BaseRangeFieldQueryTestCase.Range other)
-
isWithin
protected abstract boolean isWithin(BaseRangeFieldQueryTestCase.Range other)
-
contains
protected abstract boolean contains(BaseRangeFieldQueryTestCase.Range other)
-
relate
protected BaseRangeFieldQueryTestCase.Range.QueryType relate(BaseRangeFieldQueryTestCase.Range other)
-
-