public abstract static class ArraySchemas.Base extends PolymorphicSchema
PolymorphicSchema.Factory, PolymorphicSchema.Handler| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowNullArrayElement |
protected PolymorphicSchema.Handler |
handler |
strategy| Constructor and Description |
|---|
Base(IdStrategy strategy,
PolymorphicSchema.Handler handler) |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldName(int number) |
int |
getFieldNumber(String name) |
void |
mergeFrom(Input input,
Object owner) |
String |
messageFullName() |
String |
messageName() |
protected abstract Object |
readFrom(Input input,
Object owner) |
protected void |
setValue(Object value,
Object owner)
Set the value to the owner.
|
getPipeSchema, isInitialized, newMessage, typeClassprotected final PolymorphicSchema.Handler handler
protected final boolean allowNullArrayElement
public Base(IdStrategy strategy, PolymorphicSchema.Handler handler)
public String getFieldName(int number)
public int getFieldNumber(String name)
public String messageFullName()
public String messageName()
protected void setValue(Object value, Object owner)
PolymorphicSchemasetValue in class PolymorphicSchemapublic void mergeFrom(Input input, Object owner) throws IOException
IOExceptionprotected abstract Object readFrom(Input input, Object owner) throws IOException
IOExceptionCopyright © 2009–2017. All rights reserved.