static enum RangeFieldQuery.QueryType extends java.lang.Enum<RangeFieldQuery.QueryType>
RangeFieldQuery to check how each internal or leaf node relates to the query.| Enum Constant and Description |
|---|
CONTAINS
Use this for contains
|
CROSSES
Use this for crosses queries
|
INTERSECTS
Use this for intersects queries.
|
WITHIN
Use this for within queries.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) PointValues.Relation |
compare(byte[] queryPackedValue,
byte[] minPackedValue,
byte[] maxPackedValue,
int numDims,
int bytesPerDim) |
(package private) abstract PointValues.Relation |
compare(byte[] queryPackedValue,
byte[] minPackedValue,
byte[] maxPackedValue,
int numDims,
int bytesPerDim,
int dim) |
(package private) boolean |
matches(byte[] queryPackedValue,
byte[] packedValue,
int numDims,
int bytesPerDim) |
(package private) abstract boolean |
matches(byte[] queryPackedValue,
byte[] packedValue,
int numDims,
int bytesPerDim,
int dim) |
static RangeFieldQuery.QueryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RangeFieldQuery.QueryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RangeFieldQuery.QueryType INTERSECTS
public static final RangeFieldQuery.QueryType WITHIN
public static final RangeFieldQuery.QueryType CONTAINS
public static final RangeFieldQuery.QueryType CROSSES
public static RangeFieldQuery.QueryType[] values()
for (RangeFieldQuery.QueryType c : RangeFieldQuery.QueryType.values()) System.out.println(c);
public static RangeFieldQuery.QueryType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullabstract PointValues.Relation compare(byte[] queryPackedValue, byte[] minPackedValue, byte[] maxPackedValue, int numDims, int bytesPerDim, int dim)
PointValues.Relation compare(byte[] queryPackedValue, byte[] minPackedValue, byte[] maxPackedValue, int numDims, int bytesPerDim)
abstract boolean matches(byte[] queryPackedValue,
byte[] packedValue,
int numDims,
int bytesPerDim,
int dim)
boolean matches(byte[] queryPackedValue,
byte[] packedValue,
int numDims,
int bytesPerDim)