Class AvroTypeUtils

java.lang.Object
io.trino.hive.formats.avro.AvroTypeUtils

public final class AvroTypeUtils extends Object
  • Method Details

    • typeFromAvro

      public static Type typeFromAvro(org.apache.avro.Schema schema, AvroTypeManager avroTypeManager) throws AvroTypeException
      Throws:
      AvroTypeException
    • getSimpleNullableUnionNullIndex

      public static io.trino.hive.formats.avro.AvroTypeUtils.SimpleUnionNullIndex getSimpleNullableUnionNullIndex(org.apache.avro.Schema schema)