DocValuesSliceQuery, TermsSliceQuerypublic abstract class SliceQuery
extends org.apache.lucene.search.Query
Query that defines an hash function to partition the documents in multiple slices.| Constructor | Description |
|---|---|
SliceQuery(java.lang.String field,
int id,
int max) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
contains(long value) |
|
boolean |
equals(java.lang.Object o) |
|
java.lang.String |
getField() |
|
int |
getId() |
|
int |
getMax() |
|
int |
hashCode() |
|
java.lang.String |
toString(java.lang.String f) |
public SliceQuery(java.lang.String field,
int id,
int max)
field - The name of the fieldid - The id of the slicemax - The maximum number of slicesprotected final boolean contains(long value)
public java.lang.String getField()
public int getId()
public int getMax()
public boolean equals(java.lang.Object o)
equals in class org.apache.lucene.search.Querypublic int hashCode()
hashCode in class org.apache.lucene.search.Querypublic java.lang.String toString(java.lang.String f)
toString in class org.apache.lucene.search.Query