Class Facts


  • public class Facts
    extends java.lang.Object
    A set of facts for the Analysis in question.
    • Field Detail

      • minRawLength

        protected int minRawLength
        The minimum length (not trimmed) - Only relevant for Numeric, Boolean and String. Note: For String and Boolean types this length includes any whitespace.
      • maxRawLength

        protected int maxRawLength
        The maximum length (not trimmed) - Only relevant for Numeric, Boolean and String. Note: For String and Boolean types this length includes any whitespace.
      • multiline

        protected boolean multiline
        Are any elements multi-line?
      • leadingWhiteSpace

        protected boolean leadingWhiteSpace
        Do any elements have leading White Space?
      • trailingWhiteSpace

        protected boolean trailingWhiteSpace
        Do any elements have trailing White Space?
      • keyConfidence

        protected java.lang.Double keyConfidence
        The percentage confidence (0-1.0) that the observed stream is a Key field.
      • leadingZeroCount

        protected long leadingZeroCount
        The number of leading zeros seen in sample set. Only relevant for type Long.
      • decimalSeparator

        protected char decimalSeparator
        Get the Decimal Separator used to interpret Doubles. Only relevant for type double.
      • uniqueness

        protected java.lang.Double uniqueness
        What is the uniqueness percentage of this column.
      • minBoolean

        public java.lang.String minBoolean
      • maxBoolean

        public java.lang.String maxBoolean
      • minLong

        public long minLong
      • maxLong

        public long maxLong
      • tbLong

        public final TopBottomK<java.lang.Long,​java.lang.Long> tbLong
      • minDouble

        public double minDouble
      • maxDouble

        public double maxDouble
      • tbDouble

        public final TopBottomK<java.lang.Double,​java.lang.Double> tbDouble
      • minString

        public java.lang.String minString
      • maxString

        public java.lang.String maxString
      • tbString

        public final TopBottomK<java.lang.String,​java.lang.String> tbString
      • minLocalDate

        public java.time.LocalDate minLocalDate
      • maxLocalDate

        public java.time.LocalDate maxLocalDate
      • tbLocalDate

        public final TopBottomK<java.time.LocalDate,​java.time.chrono.ChronoLocalDate> tbLocalDate
      • minLocalTime

        public java.time.LocalTime minLocalTime
      • maxLocalTime

        public java.time.LocalTime maxLocalTime
      • tbLocalTime

        public final TopBottomK<java.time.LocalTime,​java.time.LocalTime> tbLocalTime
      • minLocalDateTime

        public java.time.LocalDateTime minLocalDateTime
      • maxLocalDateTime

        public java.time.LocalDateTime maxLocalDateTime
      • tbLocalDateTime

        public final TopBottomK<java.time.LocalDateTime,​java.time.chrono.ChronoLocalDateTime<?>> tbLocalDateTime
      • minOffsetDateTime

        public java.time.OffsetDateTime minOffsetDateTime
      • maxOffsetDateTime

        public java.time.OffsetDateTime maxOffsetDateTime
      • tbOffsetDateTime

        public final TopBottomK<java.time.OffsetDateTime,​java.time.OffsetDateTime> tbOffsetDateTime
      • minZonedDateTime

        public java.time.ZonedDateTime minZonedDateTime
      • maxZonedDateTime

        public java.time.ZonedDateTime maxZonedDateTime
      • tbZonedDateTime

        public final TopBottomK<java.time.ZonedDateTime,​java.time.chrono.ChronoZonedDateTime<?>> tbZonedDateTime
      • currentM2

        protected double currentM2
      • currentMean

        protected double currentMean
      • minValue

        protected java.lang.String minValue
        The minimum value observed.
      • maxValue

        protected java.lang.String maxValue
        The maximum value observed.
      • mean

        protected java.lang.Double mean
        The mean of the observed values (Numeric types only).
      • variance

        protected java.lang.Double variance
        The variance of the observed values (Numeric types only).
      • topK

        protected java.util.Set<java.lang.String> topK
        The top 10 values.
      • bottomK

        protected java.util.Set<java.lang.String> bottomK
        The bottom 10 values.
    • Constructor Detail

      • Facts

        public Facts()
    • Method Detail

      • setLocale

        public void setLocale​(java.util.Locale locale)
      • setCollectStatistics

        public void setCollectStatistics​(boolean collectStatistics)
      • calculateFacts

        public Facts calculateFacts​(com.cobber.fta.PatternInfo matchPatternInfo,
                                    long matchCount)