java.lang.Object
org.elasticsearch.indices.NodeIndicesStats
- All Implemented Interfaces:
Writeable,ChunkedToXContent
Global information on indices stats running on a specific node.
-
Nested Class Summary
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.common.xcontent.ChunkedToXContent
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionNodeIndicesStats(CommonStats oldStats, Map<Index, CommonStats> statsByIndex, Map<Index, List<IndexShardStats>> statsByShard, boolean includeShardsStats) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetBulk()getDocs()getFlush()getGet()getMerge()getShardStats(Index index) getStore()inthashCode()Iterator<? extends ToXContent> toXContentChunked(ToXContent.Params outerParams) Create an iterator ofToXContentchunks for a REST response.voidwriteTo(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.common.xcontent.ChunkedToXContent
isFragment, toXContentChunkedV7
-
Constructor Details
-
NodeIndicesStats
- Throws:
IOException
-
NodeIndicesStats
public NodeIndicesStats(CommonStats oldStats, Map<Index, CommonStats> statsByIndex, Map<Index, List<IndexShardStats>> statsByShard, boolean includeShardsStats)
-
-
Method Details
-
getStore
-
getDocs
-
getIndexing
-
getGet
-
getSearch
-
getMerge
-
getRefresh
-
getFlush
-
getWarmer
-
getFieldData
-
getQueryCache
-
getRequestCache
-
getCompletion
-
getSegments
-
getTranslog
-
getRecoveryStats
-
getBulk
-
getShardCount
-
getNodeMappingStats
-
getDenseVectorStats
-
getSparseVectorStats
-
writeTo
Description copied from interface:WriteableWrite this into the StreamOutput.- Specified by:
writeToin interfaceWriteable- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toXContentChunked
Description copied from interface:ChunkedToXContentCreate an iterator ofToXContentchunks for a REST response. Each chunk is serialized with the sameXContentBuilderandToXContent.Params, which is also the same as theToXContent.Paramspassed as theparamsargument. For best results, all chunks should beO(1)size. The last chunk in the iterator must always yield at least one byte of output. See alsoChunkedToXContentHelperfor some handy utilities.Note that chunked response bodies cannot send deprecation warning headers once transmission has started, so implementations must check for deprecated feature use before returning.
- Specified by:
toXContentChunkedin interfaceChunkedToXContent- Returns:
- iterator over chunks of
ToXContent
-
getShardStats
-