Package org.elasticsearch.client.core
Class IndexerJobStats
- java.lang.Object
-
- org.elasticsearch.client.core.IndexerJobStats
-
- Direct Known Subclasses:
DataFrameIndexerTransformStats,GetRollupJobResponse.RollupIndexerJobStats
public abstract class IndexerJobStats extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ParseFieldINDEX_FAILURESstatic ParseFieldINDEX_TIME_IN_MSstatic ParseFieldINDEX_TOTALstatic java.lang.StringNAMEstatic ParseFieldNUM_INPUT_DOCUMENTSstatic ParseFieldNUM_INVOCATIONSstatic ParseFieldNUM_OUTPUT_DOCUMENTSstatic ParseFieldNUM_PAGESstatic ParseFieldSEARCH_FAILURESstatic ParseFieldSEARCH_TIME_IN_MSstatic ParseFieldSEARCH_TOTAL
-
Constructor Summary
Constructors Constructor Description IndexerJobStats(long numPages, long numInputDocuments, long numOutputDocuments, long numInvocations, long indexTime, long searchTime, long indexTotal, long searchTotal, long indexFailures, long searchFailures)
-
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object other)longgetIndexFailures()Number of index failures that have occurredlonggetIndexTime()Returns the time spent indexing (cumulative) in millisecondslonggetIndexTotal()Returns the total number of indexing requests that have been processed (Note: this is not the number of _documents_ that have been indexed)longgetNumDocuments()The number of documents read from the input indiceslonggetNumInvocations()Number of times that the job woke up to write documentslonggetNumPages()The number of pages read from the input indiceslonggetOutputDocuments()Number of documents writtenlonggetSearchFailures()Number of failures that have occurredlonggetSearchTime()Returns the time spent searching (cumulative) in millisecondslonggetSearchTotal()Returns the total number of search requests that have been madeinthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
NUM_PAGES
public static ParseField NUM_PAGES
-
NUM_INPUT_DOCUMENTS
public static ParseField NUM_INPUT_DOCUMENTS
-
NUM_OUTPUT_DOCUMENTS
public static ParseField NUM_OUTPUT_DOCUMENTS
-
NUM_INVOCATIONS
public static ParseField NUM_INVOCATIONS
-
INDEX_TIME_IN_MS
public static ParseField INDEX_TIME_IN_MS
-
SEARCH_TIME_IN_MS
public static ParseField SEARCH_TIME_IN_MS
-
INDEX_TOTAL
public static ParseField INDEX_TOTAL
-
SEARCH_TOTAL
public static ParseField SEARCH_TOTAL
-
SEARCH_FAILURES
public static ParseField SEARCH_FAILURES
-
INDEX_FAILURES
public static ParseField INDEX_FAILURES
-
-
Method Detail
-
getNumPages
public long getNumPages()
The number of pages read from the input indices
-
getNumDocuments
public long getNumDocuments()
The number of documents read from the input indices
-
getNumInvocations
public long getNumInvocations()
Number of times that the job woke up to write documents
-
getOutputDocuments
public long getOutputDocuments()
Number of documents written
-
getIndexFailures
public long getIndexFailures()
Number of index failures that have occurred
-
getSearchFailures
public long getSearchFailures()
Number of failures that have occurred
-
getIndexTime
public long getIndexTime()
Returns the time spent indexing (cumulative) in milliseconds
-
getSearchTime
public long getSearchTime()
Returns the time spent searching (cumulative) in milliseconds
-
getIndexTotal
public long getIndexTotal()
Returns the total number of indexing requests that have been processed (Note: this is not the number of _documents_ that have been indexed)
-
getSearchTotal
public long getSearchTotal()
Returns the total number of search requests that have been made
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-