Class TransformIndexerStats
java.lang.Object
org.elasticsearch.client.transform.transforms.TransformIndexerStats
public class TransformIndexerStats
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static org.elasticsearch.common.xcontent.ConstructingObjectParser<TransformIndexerStats,java.lang.Void>
LENIENT_PARSER
static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description TransformIndexerStats(long pagesProcessed, long documentsProcessed, long documentsIndexed, long triggerCount, long indexTime, long searchTime, long processingTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures, double expAvgCheckpointDurationMs, double expAvgDocumentsIndexed, double expAvgDocumentsProcessed)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object other)
static TransformIndexerStats
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
long
getDocumentsIndexed()
Number of documents writtenlong
getDocumentsProcessed()
The number of documents read from the input indicesdouble
getExpAvgCheckpointDurationMs()
double
getExpAvgDocumentsIndexed()
double
getExpAvgDocumentsProcessed()
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()
Deprecated.long
getNumInvocations()
Deprecated.long
getNumPages()
Deprecated.long
getOutputDocuments()
Deprecated.long
getPagesProcessed()
The number of pages read from the input indiceslong
getProcessingTime()
Returns the time spent processing (cumulative) in millisecondslong
getProcessingTotal()
Returns the total number of processing runs that have been madelong
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 madelong
getTriggerCount()
Number of times that the job woke up to write documentsint
hashCode()
-
Field Details
-
NAME
public static final java.lang.String NAME- See Also:
- Constant Field Values
-
LENIENT_PARSER
public static final org.elasticsearch.common.xcontent.ConstructingObjectParser<TransformIndexerStats,java.lang.Void> LENIENT_PARSER
-
-
Constructor Details
-
TransformIndexerStats
public TransformIndexerStats(long pagesProcessed, long documentsProcessed, long documentsIndexed, long triggerCount, long indexTime, long searchTime, long processingTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures, double expAvgCheckpointDurationMs, double expAvgDocumentsIndexed, double expAvgDocumentsProcessed)
-
-
Method Details
-
fromXContent
public static TransformIndexerStats fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
getExpAvgCheckpointDurationMs
public double getExpAvgCheckpointDurationMs() -
getExpAvgDocumentsIndexed
public double getExpAvgDocumentsIndexed() -
getExpAvgDocumentsProcessed
public double getExpAvgDocumentsProcessed() -
getPagesProcessed
public long getPagesProcessed()The number of pages read from the input indices -
getDocumentsProcessed
public long getDocumentsProcessed()The number of documents read from the input indices -
getTriggerCount
public long getTriggerCount()Number of times that the job woke up to write documents -
getDocumentsIndexed
public long getDocumentsIndexed()Number of documents written -
getNumPages
@Deprecated public long getNumPages()Deprecated.The number of pages read from the input indices Deprecated, usegetPagesProcessed()
instead -
getNumDocuments
@Deprecated public long getNumDocuments()Deprecated.The number of documents read from the input indices Deprecated, usegetDocumentsProcessed()
instead -
getNumInvocations
@Deprecated public long getNumInvocations()Deprecated.Number of times that the job woke up to write documents Deprecated, usegetTriggerCount()
instead -
getOutputDocuments
@Deprecated public long getOutputDocuments()Deprecated.Number of documents written Deprecated, usegetDocumentsIndexed()
instead -
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 -
getProcessingTime
public long getProcessingTime()Returns the time spent processing (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 -
getProcessingTotal
public long getProcessingTotal()Returns the total number of processing runs 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
-