Package io.trino.hive.formats.avro
Class AvroTypeUtils
java.lang.Object
io.trino.hive.formats.avro.AvroTypeUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.trino.hive.formats.avro.AvroTypeUtils.SimpleUnionNullIndexgetSimpleNullableUnionNullIndex(org.apache.avro.Schema schema) static booleanisSimpleNullableUnion(org.apache.avro.Schema schema) static voidverifyNoCircularReferences(org.apache.avro.Schema schema)
-
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)
-