Class ExtractMetrics

  • All Implemented Interfaces:
    IBaseMetrics

    public final class ExtractMetrics
    extends java.lang.Object
    implements IBaseMetrics
    • Method Detail

      • getNumFiles

        public java.util.Optional<java.lang.Double> getNumFiles()
        Specified by:
        getNumFiles in interface IBaseMetrics
        Returns:
        The total number of files that were processed.
      • getNumPages

        public java.util.Optional<java.lang.Double> getNumPages()
        Specified by:
        getNumPages in interface IBaseMetrics
        Returns:
        The total number of pages that were processed.
      • getMeanRunTimeMs

        public java.util.Optional<java.lang.Double> getMeanRunTimeMs()
        Specified by:
        getMeanRunTimeMs in interface IBaseMetrics
        Returns:
        The mean runtime in milliseconds per document.
      • getType

        public java.util.Optional<java.lang.String> getType()
        Returns:
        The type of metrics. Will always be "EXTRACT" for extraction processors.
      • getFieldMetrics

        public java.util.Optional<ExtractMetricsFieldMetrics> getFieldMetrics()
        Returns:
        Record mapping field names to their respective metrics.
      • getArrayCardinalityMetrics

        public java.util.Optional<java.util.Map<java.lang.String,​java.lang.Object>> getArrayCardinalityMetrics()
        Returns:
        Maps the root array field name to a number indicating how many times the array field has the correct number of rows extracted.
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object