Learn R Programming

aurelius (version 0.8.4)

avro_enum: avro_enum

Description

Constructs a list of lists Avro schema for the enum (set of symbols) type.

Usage

avro_enum(symbols, name = NULL, namespace = NULL)

Arguments

symbols

list of string-valued symbol names

name

required name (if missing, gen_unique_enum_name is invoked)

namespace

optional namespace

Examples

Run this code
avro_enum(list("one", "two", "three"))

Run the code above in your browser using DataLab