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 written
    long getDocumentsProcessed()
    The number of documents read from the input indices
    double getExpAvgCheckpointDurationMs()  
    double getExpAvgDocumentsIndexed()  
    double getExpAvgDocumentsProcessed()  
    long getIndexFailures()
    Number of index failures that have occurred
    long getIndexTime()
    Returns the time spent indexing (cumulative) in milliseconds
    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)
    long getNumDocuments()
    Deprecated.
    long getNumInvocations()
    Deprecated.
    long getNumPages()
    Deprecated.
    long getOutputDocuments()
    Deprecated.
    long getPagesProcessed()
    The number of pages read from the input indices
    long getProcessingTime()
    Returns the time spent processing (cumulative) in milliseconds
    long getProcessingTotal()
    Returns the total number of processing runs that have been made
    long getSearchFailures()
    Number of failures that have occurred
    long getSearchTime()
    Returns the time spent searching (cumulative) in milliseconds
    long getSearchTotal()
    Returns the total number of search requests that have been made
    long getTriggerCount()
    Number of times that the job woke up to write documents
    int hashCode()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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, use getPagesProcessed() instead
    • getNumDocuments

      @Deprecated public long getNumDocuments()
      Deprecated.
      The number of documents read from the input indices Deprecated, use getDocumentsProcessed() instead
    • getNumInvocations

      @Deprecated public long getNumInvocations()
      Deprecated.
      Number of times that the job woke up to write documents Deprecated, use getTriggerCount() instead
    • getOutputDocuments

      @Deprecated public long getOutputDocuments()
      Deprecated.
      Number of documents written Deprecated, use getDocumentsIndexed() 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 class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object