|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.search.facet.termsstats.InternalTermsStatsFacet org.elasticsearch.search.facet.termsstats.longs.InternalTermsStatsLongFacet
public class InternalTermsStatsLongFacet
Nested Class Summary | |
---|---|
static class |
InternalTermsStatsLongFacet.LongEntry
|
Nested classes/interfaces inherited from interface org.elasticsearch.search.facet.termsstats.TermsStatsFacet |
---|
TermsStatsFacet.ComparatorType, TermsStatsFacet.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.termsstats.TermsStatsFacet |
---|
TYPE |
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
---|
EMPTY_PARAMS |
Constructor Summary | |
---|---|
InternalTermsStatsLongFacet()
|
|
InternalTermsStatsLongFacet(java.lang.String name,
TermsStatsFacet.ComparatorType comparatorType,
int requiredSize,
java.util.Collection<InternalTermsStatsLongFacet.LongEntry> entries,
long missing)
|
Method Summary | |
---|---|
java.util.List<InternalTermsStatsLongFacet.LongEntry> |
entries()
The terms and counts. |
java.util.List<InternalTermsStatsLongFacet.LongEntry> |
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. |
java.lang.String |
getType()
The type of the facet. |
java.util.Iterator<TermsStatsFacet.Entry> |
iterator()
|
long |
missingCount()
The number of docs missing a value. |
java.lang.String |
name()
The "logical" name of the search facet. |
void |
readFrom(StreamInput in)
|
static InternalTermsStatsLongFacet |
readTermsStatsFacet(StreamInput in)
|
Facet |
reduce(java.lang.String name,
java.util.List<Facet> facets)
|
static void |
registerStream()
|
java.lang.String |
streamType()
|
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.termsstats.InternalTermsStatsFacet |
---|
registerStreams |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InternalTermsStatsLongFacet()
public InternalTermsStatsLongFacet(java.lang.String name, TermsStatsFacet.ComparatorType comparatorType, int requiredSize, java.util.Collection<InternalTermsStatsLongFacet.LongEntry> entries, long missing)
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 java.util.List<InternalTermsStatsLongFacet.LongEntry> entries()
TermsStatsFacet
public java.util.List<InternalTermsStatsLongFacet.LongEntry> getEntries()
TermsStatsFacet
public java.util.Iterator<TermsStatsFacet.Entry> iterator()
public long missingCount()
TermsStatsFacet
public long getMissingCount()
TermsStatsFacet
public Facet reduce(java.lang.String name, java.util.List<Facet> facets)
reduce
in class InternalTermsStatsFacet
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
java.io.IOException
public static InternalTermsStatsLongFacet readTermsStatsFacet(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 |