Package org.elasticsearch.search.slice
Class SliceQuery
- java.lang.Object
-
- org.apache.lucene.search.Query
-
- org.elasticsearch.search.slice.SliceQuery
-
- Direct Known Subclasses:
DocValuesSliceQuery
,TermsSliceQuery
public abstract class SliceQuery extends org.apache.lucene.search.Query
An abstractQuery
that defines an hash function to partition the documents in multiple slices.
-
-
Constructor Summary
Constructors Constructor Description SliceQuery(java.lang.String field, int id, int max)
-
-
-
Method Detail
-
contains
protected final boolean contains(long value)
-
getField
public java.lang.String getField()
-
getId
public int getId()
-
getMax
public int getMax()
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in classorg.apache.lucene.search.Query
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classorg.apache.lucene.search.Query
-
toString
public java.lang.String toString(java.lang.String f)
- Specified by:
toString
in classorg.apache.lucene.search.Query
-
-