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 SummaryNested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContentToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.WriteableWriteable.Reader<V>, Writeable.Writer<V>
- 
Field SummaryFields inherited from interface org.elasticsearch.xcontent.ToXContentEMPTY_PARAMS
- 
Constructor SummaryConstructorsConstructorDescriptionPerFieldUsageStats(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 SummaryModifier and TypeMethodDescriptionlonggetAny()longlonglonggetNorms()longlonglonglonglonglonglonglonglonggetTerms()longkeySet()toString()toXContent(XContentBuilder builder, ToXContent.Params params) voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentFragmentisFragment
- 
Constructor Details- 
PerFieldUsageStatspublic 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- 
writeToDescription copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
- writeToin interface- Writeable
- Throws:
- IOException
 
- 
toXContentpublic XContentBuilder toXContent(XContentBuilder builder, ToXContent.Params params) throws IOException - Specified by:
- toXContentin interface- ToXContent
- Throws:
- IOException
 
- 
keySet
- 
getTermspublic long getTerms()
- 
getPostingspublic long getPostings()
- 
getTermFrequenciespublic long getTermFrequencies()
- 
getPositionspublic long getPositions()
- 
getOffsetspublic long getOffsets()
- 
getDocValuespublic long getDocValues()
- 
getStoredFieldspublic long getStoredFields()
- 
getNormspublic long getNorms()
- 
getPayloadspublic long getPayloads()
- 
getTermVectorspublic long getTermVectors()
- 
getPointspublic long getPoints()
- 
getKnnVectorspublic long getKnnVectors()
- 
getProximitypublic long getProximity()
- 
getAnypublic long getAny()
- 
toString
 
-