Class AvroTypeUtils

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

public final class AvroTypeUtils extends Object
  • Method Details

    • verifyNoCircularReferences

      public static void verifyNoCircularReferences(org.apache.avro.Schema schema) throws AvroTypeException
      Throws:
      AvroTypeException
    • isSimpleNullableUnion

      public static boolean isSimpleNullableUnion(org.apache.avro.Schema schema)
    • getSimpleNullableUnionNullIndex

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