Does avro support numeric constants for enum values, similar to protocol buffers enums?

前端 未结 0 947
轻奢々
轻奢々 2021-02-01 14:09

In Protobuf, I can use numeric values for enum constants.

  enum EnumAllowingAlias {
    option allow_alias = true;
    UNKNOWN = 0;
    STARTED = 1;
    RUNNING          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题