The correct hierarchy should look like
DataType {
Nullable,
NotNull {
Simple { Number, String },
Composite { Collect, Partial },
},
}
Number should support signed and unsigned, integer and fractional, limited and unlimited precision.
Blob/ByteString is a kind of String, there's really nothing special that it's binary.
Collect and Partial will now be under Composite group.
The correct hierarchy should look like
Numbershould support signed and unsigned, integer and fractional, limited and unlimited precision.Blob/ByteStringis a kind ofString, there's really nothing special that it's binary.CollectandPartialwill now be underCompositegroup.