Class TransformIndexerStats

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

public class TransformIndexerStats extends Object
  • Field Details

  • 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 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
    • 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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object