|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.search.facet.terms.InternalTermsFacet
org.elasticsearch.search.facet.terms.bytes.InternalByteTermsFacet
public class InternalByteTermsFacet
Nested Class Summary | |
---|---|
static class |
InternalByteTermsFacet.ByteEntry
|
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.terms.TermsFacet |
---|
TermsFacet.ComparatorType, TermsFacet.Entry |
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.InternalFacet |
---|
InternalFacet.Stream, InternalFacet.Streams |
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
ToXContent.MapParams, ToXContent.Params |
Field Summary |
---|
Fields inherited from interface org.elasticsearch.search.facet.terms.TermsFacet |
---|
TYPE |
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Constructor Summary | |
---|---|
InternalByteTermsFacet(java.lang.String name,
TermsFacet.ComparatorType comparatorType,
int requiredSize,
java.util.Collection<InternalByteTermsFacet.ByteEntry> entries,
long missing,
long total)
|
Method Summary | |
---|---|
java.util.List<InternalByteTermsFacet.ByteEntry> |
entries()
The terms and counts. |
java.util.List<InternalByteTermsFacet.ByteEntry> |
getEntries()
The terms and counts. |
long |
getMissingCount()
The number of docs missing a value. |
java.lang.String |
getName()
The "logical" name of the search facet. |
long |
getOtherCount()
The count of terms other than the one provided by the entries. |
long |
getTotalCount()
The total count of terms. |
java.lang.String |
getType()
The type of the facet. |
java.util.Iterator<TermsFacet.Entry> |
iterator()
|
long |
missingCount()
The number of docs missing a value. |
java.lang.String |
name()
The "logical" name of the search facet. |
long |
otherCount()
The count of terms other than the one provided by the entries. |
void |
readFrom(StreamInput in)
|
static InternalByteTermsFacet |
readTermsFacet(StreamInput in)
|
Facet |
reduce(java.lang.String name,
java.util.List<Facet> facets)
|
static void |
registerStream()
|
java.lang.String |
streamType()
|
long |
totalCount()
The total count of terms. |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params)
|
java.lang.String |
type()
The type of the facet. |
void |
writeTo(StreamOutput out)
|
Methods inherited from class org.elasticsearch.search.facet.terms.InternalTermsFacet |
---|
registerStreams |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalByteTermsFacet(java.lang.String name, TermsFacet.ComparatorType comparatorType, int requiredSize, java.util.Collection<InternalByteTermsFacet.ByteEntry> entries, long missing, long total)
Method Detail |
---|
public static void registerStream()
public java.lang.String streamType()
public java.lang.String name()
Facet
public java.lang.String getName()
Facet
public java.lang.String type()
Facet
public java.lang.String getType()
Facet
public long missingCount()
TermsFacet
public long getMissingCount()
TermsFacet
public long totalCount()
TermsFacet
public long getTotalCount()
TermsFacet
public long otherCount()
TermsFacet
public long getOtherCount()
TermsFacet
public java.util.List<InternalByteTermsFacet.ByteEntry> entries()
TermsFacet
public java.util.List<InternalByteTermsFacet.ByteEntry> getEntries()
TermsFacet
public java.util.Iterator<TermsFacet.Entry> iterator()
public Facet reduce(java.lang.String name, java.util.List<Facet> facets)
reduce
in class InternalTermsFacet
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
public static InternalByteTermsFacet readTermsFacet(StreamInput in) throws java.io.IOException
java.io.IOException
public void readFrom(StreamInput in) throws java.io.IOException
java.io.IOException
public void writeTo(StreamOutput out) throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |