avro_enum {aurelius}R Documentation

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

Source

gen_unique_name.R

Examples

avro_enum(list("one", "two", "three"))

[Package aurelius version 0.8.4 Index]