|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.elasticsearch.search.facet.terms.InternalTermsFacet org.elasticsearch.search.facet.terms.ip.InternalIpTermsFacet
public class InternalIpTermsFacet
Nested Class Summary | |
---|---|
static class |
InternalIpTermsFacet.LongEntry
|
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 | |
---|---|
InternalIpTermsFacet(String name,
TermsFacet.ComparatorType comparatorType,
int requiredSize,
Collection<InternalIpTermsFacet.LongEntry> entries,
long missing,
long total)
|
Method Summary | |
---|---|
List<InternalIpTermsFacet.LongEntry> |
entries()
The terms and counts. |
List<InternalIpTermsFacet.LongEntry> |
getEntries()
The terms and counts. |
long |
getMissingCount()
The number of docs missing a value. |
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. |
String |
getType()
The type of the facet. |
Iterator<TermsFacet.Entry> |
iterator()
|
long |
missingCount()
The number of docs missing a value. |
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 InternalIpTermsFacet |
readTermsFacet(StreamInput in)
|
Facet |
reduce(String name,
List<Facet> facets)
|
static void |
registerStream()
|
String |
streamType()
|
long |
totalCount()
The total count of terms. |
XContentBuilder |
toXContent(XContentBuilder builder,
ToXContent.Params params)
|
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 InternalIpTermsFacet(String name, TermsFacet.ComparatorType comparatorType, int requiredSize, Collection<InternalIpTermsFacet.LongEntry> entries, long missing, long total)
Method Detail |
---|
public static void registerStream()
public String streamType()
public String name()
Facet
public String getName()
Facet
public String type()
Facet
public String getType()
Facet
public List<InternalIpTermsFacet.LongEntry> entries()
TermsFacet
public List<InternalIpTermsFacet.LongEntry> getEntries()
TermsFacet
public Iterator<TermsFacet.Entry> iterator()
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 Facet reduce(String name, List<Facet> facets)
reduce
in class InternalTermsFacet
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException
IOException
public static InternalIpTermsFacet readTermsFacet(StreamInput in) throws IOException
IOException
public void readFrom(StreamInput in) throws IOException
IOException
public void writeTo(StreamOutput out) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |