Enum TextAnalyzer.Feature

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      COLLECT_STATISTICS
      Feature that determines whether to collect statistics or not.
      DEFAULT_LOGICAL_TYPES
      Feature that indicates whether to enable the built-in Logical Types.
      FORMAT_DETECTION
      Feature that indicates whether to attempt to detect the stream format (HTML, XML, JSON, BASE64, OTHER).
      LENGTH_QUALIFIER
      Indicate whether we should qualify the size of the RegExp.
      NUMERIC_WIDENING
      Feature that if enabled return a double if we see a set of integers followed by some doubles call it a double.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static TextAnalyzer.Feature valueOf​(String name)
      Returns the enum constant of this type with the specified name.
      static TextAnalyzer.Feature[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • NUMERIC_WIDENING

        public static final TextAnalyzer.Feature NUMERIC_WIDENING
        Feature that if enabled return a double if we see a set of integers followed by some doubles call it a double. Feature is enabled by default.
      • COLLECT_STATISTICS

        public static final TextAnalyzer.Feature COLLECT_STATISTICS
        Feature that determines whether to collect statistics or not. Feature is enabled by default.
      • DEFAULT_LOGICAL_TYPES

        public static final TextAnalyzer.Feature DEFAULT_LOGICAL_TYPES
        Feature that indicates whether to enable the built-in Logical Types. Feature is enabled by default.
      • FORMAT_DETECTION

        public static final TextAnalyzer.Feature FORMAT_DETECTION
        Feature that indicates whether to attempt to detect the stream format (HTML, XML, JSON, BASE64, OTHER). Feature is disabled by default.
      • LENGTH_QUALIFIER

        public static final TextAnalyzer.Feature LENGTH_QUALIFIER
        Indicate whether we should qualify the size of the RegExp.
    • Method Detail

      • values

        public static TextAnalyzer.Feature[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TextAnalyzer.Feature c : TextAnalyzer.Feature.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TextAnalyzer.Feature valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null