Module org.elasticsearch.server
Class FieldUsageStats.PerFieldUsageStats
java.lang.Object
org.elasticsearch.index.search.stats.FieldUsageStats.PerFieldUsageStats
- All Implemented Interfaces:
Writeable
,ToXContent
,ToXContentFragment
- Enclosing class:
- FieldUsageStats
public static class FieldUsageStats.PerFieldUsageStats
extends Object
implements ToXContentFragment, Writeable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY_PARAMS
-
Constructor Summary
ConstructorsConstructorDescriptionPerFieldUsageStats
(long any, long proximity, long terms, long postings, long termFrequencies, long positions, long offsets, long docValues, long storedFields, long norms, long payloads, long termVectors, long points, long knnVectors) -
Method Summary
Modifier and TypeMethodDescriptionlong
getAny()
long
long
long
getNorms()
long
long
long
long
long
long
long
long
long
getTerms()
long
keySet()
toString()
toXContent
(XContentBuilder builder, ToXContent.Params params) void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.elasticsearch.xcontent.ToXContentFragment
isFragment
-
Constructor Details
-
PerFieldUsageStats
public PerFieldUsageStats(long any, long proximity, long terms, long postings, long termFrequencies, long positions, long offsets, long docValues, long storedFields, long norms, long payloads, long termVectors, long points, long knnVectors) -
PerFieldUsageStats
- Throws:
IOException
-
-
Method Details
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
toXContent
public XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
toXContent
in interfaceToXContent
- Throws:
IOException
-
keySet
-
getTerms
public long getTerms() -
getPostings
public long getPostings() -
getTermFrequencies
public long getTermFrequencies() -
getPositions
public long getPositions() -
getOffsets
public long getOffsets() -
getDocValues
public long getDocValues() -
getStoredFields
public long getStoredFields() -
getNorms
public long getNorms() -
getPayloads
public long getPayloads() -
getTermVectors
public long getTermVectors() -
getPoints
public long getPoints() -
getKnnVectors
public long getKnnVectors() -
getProximity
public long getProximity() -
getAny
public long getAny() -
toString
-