public static class ArraySchemas.EnumArray extends ArraySchemas.Base
PolymorphicSchema.Factory, PolymorphicSchema.Handler| Modifier and Type | Field and Description |
|---|---|
protected Pipe.Schema<Object> |
pipeSchema |
allowNullArrayElement, handlerstrategy| Constructor and Description |
|---|
ArraySchemas.EnumArray(IdStrategy strategy,
PolymorphicSchema.Handler handler,
EnumIO<?> eio) |
| Modifier and Type | Method and Description |
|---|---|
Pipe.Schema<Object> |
getPipeSchema()
The pipe schema associated with this schema.
|
Object |
readFrom(Input input,
Object owner) |
void |
writeTo(Output output,
Object array) |
getFieldName, getFieldNumber, mergeFrom, messageFullName, messageName, setValueisInitialized, newMessage, typeClassprotected final Pipe.Schema<Object> pipeSchema
public ArraySchemas.EnumArray(IdStrategy strategy, PolymorphicSchema.Handler handler, EnumIO<?> eio)
public Pipe.Schema<Object> getPipeSchema()
PolymorphicSchemagetPipeSchema in class PolymorphicSchemapublic Object readFrom(Input input, Object owner) throws IOException
readFrom in class ArraySchemas.BaseIOExceptionpublic void writeTo(Output output, Object array) throws IOException
IOExceptionCopyright © 2009–2018. All rights reserved.