Class SchemaType


  • public class SchemaType
    extends Object
    Defines the types of schemas supported.
    • Field Detail

      • FIXED_TEXT

        public static final SchemaType FIXED_TEXT
        Fixed-width type schema
      • DELIMITED_TEXT

        public static final SchemaType DELIMITED_TEXT
        Delimited text type schema
      • BINARY

        public static final SchemaType BINARY
        Binary format type schema
      • UNSUPPORTED

        public static final SchemaType UNSUPPORTED
        Unsupported (unknown) type schema
    • Method Detail

      • getType

        public static SchemaType getType​(String text)
        Return the schema type for the given type name.
        Parameters:
        text - type name
        Returns:
        schema type matching the name