Class Detector

    • Field Detail

      • DETECTOR_DESCRIPTION_FIELD

        public static final ParseField DETECTOR_DESCRIPTION_FIELD
      • FUNCTION_FIELD

        public static final ParseField FUNCTION_FIELD
      • FIELD_NAME_FIELD

        public static final ParseField FIELD_NAME_FIELD
      • BY_FIELD_NAME_FIELD

        public static final ParseField BY_FIELD_NAME_FIELD
      • OVER_FIELD_NAME_FIELD

        public static final ParseField OVER_FIELD_NAME_FIELD
      • PARTITION_FIELD_NAME_FIELD

        public static final ParseField PARTITION_FIELD_NAME_FIELD
      • USE_NULL_FIELD

        public static final ParseField USE_NULL_FIELD
      • EXCLUDE_FREQUENT_FIELD

        public static final ParseField EXCLUDE_FREQUENT_FIELD
      • CUSTOM_RULES_FIELD

        public static final ParseField CUSTOM_RULES_FIELD
      • DETECTOR_INDEX

        public static final ParseField DETECTOR_INDEX
    • Method Detail

      • getDetectorDescription

        public java.lang.String getDetectorDescription()
      • getFunction

        public DetectorFunction getFunction()
        The analysis function used e.g. count, rare, min etc.
        Returns:
        The function or null if not set
      • getFieldName

        public java.lang.String getFieldName()
        The Analysis field
        Returns:
        The field to analyse
      • getByFieldName

        public java.lang.String getByFieldName()
        The 'by' field or null if not set.
        Returns:
        The 'by' field
      • getOverFieldName

        public java.lang.String getOverFieldName()
        The 'over' field or null if not set.
        Returns:
        The 'over' field
      • getPartitionFieldName

        public java.lang.String getPartitionFieldName()
        Segments the analysis along another field to have completely independent baselines for each instance of partitionfield
        Returns:
        The Partition Field
      • isUseNull

        public boolean isUseNull()
        Where there isn't a value for the 'by' or 'over' field should a new series be used as the 'null' series.
        Returns:
        true if the 'null' series should be created
      • getExcludeFrequent

        public Detector.ExcludeFrequent getExcludeFrequent()
        Excludes frequently-occurring metrics from the analysis; can apply to 'by' field, 'over' field, or both
        Returns:
        the value that the user set
      • getDetectorIndex

        public int getDetectorIndex()
        Returns:
        the detector index or a negative number if unknown
      • 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