Class TransformIndexerStats
java.lang.Object
org.elasticsearch.client.transform.transforms.TransformIndexerStats
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.elasticsearch.xcontent.ConstructingObjectParser<TransformIndexerStats,
Void> static final String
-
Constructor Summary
ConstructorDescriptionTransformIndexerStats
(long pagesProcessed, long documentsProcessed, long documentsIndexed, long documentsDeleted, long triggerCount, long indexTime, long searchTime, long processingTime, long deleteTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures, double expAvgCheckpointDurationMs, double expAvgDocumentsIndexed, double expAvgDocumentsProcessed) -
Method Summary
Modifier and TypeMethodDescriptionboolean
static TransformIndexerStats
fromXContent
(org.elasticsearch.xcontent.XContentParser parser) long
Returns the time spent deleting (cumulative) in millisecondslong
Number of documents deletedlong
Number of documents writtenlong
The number of documents read from the input indicesdouble
double
double
long
Number of index failures that have occurredlong
Returns the time spent indexing (cumulative) in millisecondslong
Returns the total number of indexing requests that have been processed (Note: this is not the number of _documents_ that have been indexed)long
Deprecated.long
Deprecated.long
Deprecated.long
Deprecated.long
The number of pages read from the input indiceslong
Returns the time spent processing (cumulative) in millisecondslong
Returns the total number of processing runs that have been madelong
Number of failures that have occurredlong
Returns the time spent searching (cumulative) in millisecondslong
Returns the total number of search requests that have been madelong
Number of times that the job woke up to write documentsint
hashCode()
-
Field Details
-
NAME
- See Also:
-
LENIENT_PARSER
public static final org.elasticsearch.xcontent.ConstructingObjectParser<TransformIndexerStats,Void> LENIENT_PARSER
-
-
Constructor Details
-
TransformIndexerStats
public TransformIndexerStats(long pagesProcessed, long documentsProcessed, long documentsIndexed, long documentsDeleted, long triggerCount, long indexTime, long searchTime, long processingTime, long deleteTime, 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.xcontent.XContentParser parser) throws IOException - Throws:
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.The number of pages read from the input indices Deprecated, usegetPagesProcessed()
instead -
getNumDocuments
Deprecated.The number of documents read from the input indices Deprecated, usegetDocumentsProcessed()
instead -
getNumInvocations
Deprecated.Number of times that the job woke up to write documents Deprecated, usegetTriggerCount()
instead -
getOutputDocuments
Deprecated.Number of documents written Deprecated, usegetDocumentsIndexed()
instead -
getDocumentsDeleted
public long getDocumentsDeleted()Number of documents deleted -
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 -
getDeleteTime
public long getDeleteTime()Returns the time spent deleting (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
-
hashCode
public int hashCode()
-