Class TransformIndexerStats

java.lang.Object
org.elasticsearch.client.transform.transforms.TransformIndexerStats

public class TransformIndexerStats
extends java.lang.Object
  • 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​(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