Class TransformIndexerStats

java.lang.Object
org.elasticsearch.xpack.core.indexing.IndexerJobStats
org.elasticsearch.xpack.core.transform.transforms.TransformIndexerStats
All Implemented Interfaces:
Writeable, org.elasticsearch.xcontent.ToXContent, org.elasticsearch.xcontent.ToXContentObject

public class TransformIndexerStats extends IndexerJobStats
  • Field Details

    • NAME

      public static final String NAME
      See Also:
    • NUM_PAGES

      public static final org.elasticsearch.xcontent.ParseField NUM_PAGES
    • NUM_INPUT_DOCUMENTS

      public static final org.elasticsearch.xcontent.ParseField NUM_INPUT_DOCUMENTS
    • NUM_OUTPUT_DOCUMENTS

      public static final org.elasticsearch.xcontent.ParseField NUM_OUTPUT_DOCUMENTS
    • NUM_DELETED_DOCUMENTS

      public static final org.elasticsearch.xcontent.ParseField NUM_DELETED_DOCUMENTS
    • NUM_INVOCATIONS

      public static final org.elasticsearch.xcontent.ParseField NUM_INVOCATIONS
    • INDEX_TIME_IN_MS

      public static final org.elasticsearch.xcontent.ParseField INDEX_TIME_IN_MS
    • SEARCH_TIME_IN_MS

      public static final org.elasticsearch.xcontent.ParseField SEARCH_TIME_IN_MS
    • PROCESSING_TIME_IN_MS

      public static final org.elasticsearch.xcontent.ParseField PROCESSING_TIME_IN_MS
    • DELETE_TIME_IN_MS

      public static final org.elasticsearch.xcontent.ParseField DELETE_TIME_IN_MS
    • INDEX_TOTAL

      public static final org.elasticsearch.xcontent.ParseField INDEX_TOTAL
    • SEARCH_TOTAL

      public static final org.elasticsearch.xcontent.ParseField SEARCH_TOTAL
    • PROCESSING_TOTAL

      public static final org.elasticsearch.xcontent.ParseField PROCESSING_TOTAL
    • SEARCH_FAILURES

      public static final org.elasticsearch.xcontent.ParseField SEARCH_FAILURES
    • INDEX_FAILURES

      public static final org.elasticsearch.xcontent.ParseField INDEX_FAILURES
    • EXPONENTIAL_AVG_CHECKPOINT_DURATION_MS

      public static final org.elasticsearch.xcontent.ParseField EXPONENTIAL_AVG_CHECKPOINT_DURATION_MS
    • EXPONENTIAL_AVG_DOCUMENTS_INDEXED

      public static final org.elasticsearch.xcontent.ParseField EXPONENTIAL_AVG_DOCUMENTS_INDEXED
    • EXPONENTIAL_AVG_DOCUMENTS_PROCESSED

      public static final org.elasticsearch.xcontent.ParseField EXPONENTIAL_AVG_DOCUMENTS_PROCESSED
  • Constructor Details

    • TransformIndexerStats

      public TransformIndexerStats()
      Create with all stats set to zero
    • TransformIndexerStats

      public TransformIndexerStats(long numPages, long numInputDocuments, long numOutputDocuments, long numDeletedDocuments, long numInvocations, long indexTime, long searchTime, long processingTime, long deleteTime, long indexTotal, long searchTotal, long processingTotal, long indexFailures, long searchFailures, double expAvgCheckpointDurationMs, double expAvgDocumentsIndexed, double expAvgDocumentsProcessed)
    • TransformIndexerStats

      public TransformIndexerStats(TransformIndexerStats other)
    • TransformIndexerStats

      public TransformIndexerStats(StreamInput in) throws IOException
      Throws:
      IOException
  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class IndexerJobStats
      Throws:
      IOException
    • toXContent

      public org.elasticsearch.xcontent.XContentBuilder toXContent(org.elasticsearch.xcontent.XContentBuilder builder, org.elasticsearch.xcontent.ToXContent.Params params) throws IOException
      Throws:
      IOException
    • getDeleteTime

      public long getDeleteTime()
    • getNumDeletedDocuments

      public long getNumDeletedDocuments()
    • getExpAvgCheckpointDurationMs

      public double getExpAvgCheckpointDurationMs()
    • getExpAvgDocumentsIndexed

      public double getExpAvgDocumentsIndexed()
    • getExpAvgDocumentsProcessed

      public double getExpAvgDocumentsProcessed()
    • incrementNumDeletedDocuments

      public void incrementNumDeletedDocuments(long n)
    • markStartDelete

      public void markStartDelete()
    • markEndDelete

      public void markEndDelete()
    • incrementCheckpointExponentialAverages

      public void incrementCheckpointExponentialAverages(long checkpointDurationMs, long docsIndexed, long docsProcessed)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class IndexerJobStats
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromXContent

      public static TransformIndexerStats fromXContent(org.elasticsearch.xcontent.XContentParser parser)