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
ConstructorDescriptionNodeIndicesStats
(CommonStats oldStats, Map<Index, CommonStats> statsByIndex, Map<Index, List<IndexShardStats>> statsByShard, boolean includeShardsStats) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBulk()
getDocs()
getFlush()
getGet()
getMerge()
getShardStats
(Index index) getStore()
int
hashCode()
Iterator<? extends ToXContent>
toXContentChunked
(ToXContent.Params outerParams) Create an iterator ofToXContent
chunks for a REST response.void
writeTo
(StreamOutput out) Write this into the StreamOutput.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods 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
-
writeTo
Description copied from interface:Writeable
Write this into the StreamOutput.- Specified by:
writeTo
in interfaceWriteable
- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toXContentChunked
Description copied from interface:ChunkedToXContent
Create an iterator ofToXContent
chunks for a REST response. Each chunk is serialized with the sameXContentBuilder
andToXContent.Params
, which is also the same as theToXContent.Params
passed as theparams
argument. 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 alsoChunkedToXContentHelper
for 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:
toXContentChunked
in interfaceChunkedToXContent
- Returns:
- iterator over chunks of
ToXContent
-
getShardStats
-