com.opendatagroup.hadrian.datatype
Convert the type to a Jackson node.
Convert the type to a Jackson node.
used to avoid infinite loops on recursive record types.
The "name" of the type, which is used as a key in tagged unions.
The "name" of the type, which is used as a key in tagged unions.
The the Avro library org.apache.avro.Schema
wrapped by this object.
The the Avro library org.apache.avro.Schema
wrapped by this object.
Perform type resolution: would PFA objects of type that
be accepted where a PFA object of type this
is expected?
Perform type resolution: would PFA objects of type that
be accepted where a PFA object of type this
is expected?
If x.accepts(y) && y.accepts(x)
, then x
and y
are equal. In general, acceptability is not symmetric.
the given argument to be accepted or rejected
if true
, require named types to have the same name (nominal type checking); if false
, consider types with the same structure but different names to be equivalent (structural type checking)
true
if that
is an acceptable substitute for this
(or is exactly the same); false
if incompatible
Return this
if an AvroType, raise an IllegalArgumentException
otherwise.
The a fully qualified name of this type, including the optional namespace.
The a fully qualified name of this type, including the optional namespace.
Convert the type to a JSON string (suitable for an Avro ".
Convert the type to a JSON string (suitable for an Avro ".avsc" file).
Calls toJson()
.
Calls toJson()
.
AvroTypes that contain other AvroTypes (AvroArray, AvroMap, AvroRecord).