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 Jackson node.
The "name" of the type, which is used as a key in tagged unions.
wrapped Avro library org.apache.avro.Schema
object.
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()
.
Avro "long" type for 64-bit integers.
See companion object for a constructor that does not require Avro library objects.