Package org.elasticsearch.client.core
Class IndexerJobStats
- java.lang.Object
-
- org.elasticsearch.client.core.IndexerJobStats
-
- Direct Known Subclasses:
GetRollupJobResponse.RollupIndexerJobStats
,TransformIndexerStats
public abstract class IndexerJobStats extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ParseField
INDEX_FAILURES
static ParseField
INDEX_TIME_IN_MS
static ParseField
INDEX_TOTAL
protected long
indexFailures
protected long
indexTime
protected long
indexTotal
static java.lang.String
NAME
static ParseField
NUM_INPUT_DOCUMENTS
static ParseField
NUM_INVOCATIONS
static ParseField
NUM_OUTPUT_DOCUMENTS
static ParseField
NUM_PAGES
protected long
numInputDocuments
protected long
numInvocations
protected long
numOuputDocuments
protected long
numPages
static ParseField
SEARCH_FAILURES
static ParseField
SEARCH_TIME_IN_MS
static ParseField
SEARCH_TOTAL
protected long
searchFailures
protected long
searchTime
protected long
searchTotal
-
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 boolean
equals(java.lang.Object other)
long
getIndexFailures()
Number of index failures that have occurredlong
getIndexTime()
Returns the time spent indexing (cumulative) in millisecondslong
getIndexTotal()
Returns the total number of indexing requests that have been processed (Note: this is not the number of _documents_ that have been indexed)long
getNumDocuments()
The number of documents read from the input indiceslong
getNumInvocations()
Number of times that the job woke up to write documentslong
getNumPages()
The number of pages read from the input indiceslong
getOutputDocuments()
Number of documents writtenlong
getSearchFailures()
Number of failures that have occurredlong
getSearchTime()
Returns the time spent searching (cumulative) in millisecondslong
getSearchTotal()
Returns the total number of search requests that have been madeint
hashCode()
java.lang.String
toString()
-
-
-
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
-
numPages
protected final long numPages
-
numInputDocuments
protected final long numInputDocuments
-
numOuputDocuments
protected final long numOuputDocuments
-
numInvocations
protected final long numInvocations
-
indexTime
protected final long indexTime
-
indexTotal
protected final long indexTotal
-
searchTime
protected final long searchTime
-
searchTotal
protected final long searchTotal
-
indexFailures
protected final long indexFailures
-
searchFailures
protected final long searchFailures
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public final java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-