Module org.elasticsearch.xcore
Class RollupIndexerJobStats
java.lang.Object
org.elasticsearch.xpack.core.indexing.IndexerJobStats
org.elasticsearch.xpack.core.rollup.job.RollupIndexerJobStats
- All Implemented Interfaces:
Writeable,org.elasticsearch.xcontent.ToXContent,org.elasticsearch.xcontent.ToXContentObject
The Rollup specialization of stats for the AsyncTwoPhaseIndexer.
Note: instead of `documents_indexed`, this XContent show `rollups_indexed`
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.elasticsearch.xcontent.ToXContent
org.elasticsearch.xcontent.ToXContent.DelegatingMapParams, org.elasticsearch.xcontent.ToXContent.MapParams, org.elasticsearch.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ConstructingObjectParser<RollupIndexerJobStats, Void> Fields inherited from class org.elasticsearch.xpack.core.indexing.IndexerJobStats
indexFailures, indexTime, indexTotal, NAME, numInputDocuments, numInvocations, numOuputDocuments, numPages, processingTime, processingTotal, searchFailures, searchTime, searchTotalFields inherited from interface org.elasticsearch.xcontent.ToXContent
EMPTY, EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionRollupIndexerJobStats(long numPages, long numInputDocuments, long numOuputDocuments, long numInvocations, long indexTime, long searchTime, long processingTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures) -
Method Summary
Modifier and TypeMethodDescriptionstatic RollupIndexerJobStatsfromXContent(org.elasticsearch.xcontent.XContentParser parser) org.elasticsearch.xcontent.XContentBuildertoXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) Methods inherited from class org.elasticsearch.xpack.core.indexing.IndexerJobStats
equals, getIndexFailures, getIndexTime, getIndexTotal, getNumDocuments, getNumInvocations, getNumPages, getOutputDocuments, getProcessingTime, getProcessingTotal, getSearchFailures, getSearchTime, getSearchTotal, hashCode, incrementIndexingFailures, incrementNumDocuments, incrementNumInvocations, incrementNumOutputDocuments, incrementNumPages, incrementSearchFailures, markEndIndexing, markEndProcessing, markEndSearch, markStartIndexing, markStartProcessing, markStartSearch, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.xcontent.ToXContentObject
isFragment
-
Field Details
-
PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<RollupIndexerJobStats,Void> PARSER
-
-
Constructor Details
-
RollupIndexerJobStats
public RollupIndexerJobStats() -
RollupIndexerJobStats
public RollupIndexerJobStats(long numPages, long numInputDocuments, long numOuputDocuments, long numInvocations, long indexTime, long searchTime, long processingTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures) -
RollupIndexerJobStats
- Throws:
IOException
-
-
Method Details
-
toXContent
public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException - Throws:
IOException
-
fromXContent
-