- java.lang.Object
-
- swim.avro.schema.AvroType<T>
-
- swim.avro.schema.AvroComplexType<T>
-
- swim.avro.schema.AvroNamedType<T>
-
- swim.avro.schema.AvroEnumType<T>
-
public abstract class AvroEnumType<T> extends AvroNamedType<T>
-
-
Constructor Summary
Constructors Constructor Description AvroEnumType()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract T
cast(int ordinal)
abstract String
doc()
abstract AvroEnumType<T>
doc(String doc)
abstract String
getSymbol(int ordinal)
abstract AvroEnumType<T>
symbol(String symbol)
abstract int
symbolCount()
-
Methods inherited from class swim.avro.schema.AvroNamedType
alias, aliasCount, fullName, getAlias, name, namespace
-
-
-
-
Method Detail
-
doc
public abstract String doc()
-
doc
public abstract AvroEnumType<T> doc(String doc)
-
symbolCount
public abstract int symbolCount()
-
getSymbol
public abstract String getSymbol(int ordinal)
-
symbol
public abstract AvroEnumType<T> symbol(String symbol)
-
cast
public abstract T cast(int ordinal)
-
-