public static class ArraySchemas.PojoArray extends ArraySchemas.Base
PolymorphicSchema.Factory, PolymorphicSchema.Handler| Modifier and Type | Field and Description |
|---|---|
protected Pipe.Schema<java.lang.Object> |
pipeSchema |
allowNullArrayElement, handlerstrategy| Constructor and Description |
|---|
PojoArray(IdStrategy strategy,
PolymorphicSchema.Handler handler,
HasSchema<java.lang.Object> hs) |
| Modifier and Type | Method and Description |
|---|---|
Pipe.Schema<java.lang.Object> |
getPipeSchema()
The pipe schema associated with this schema.
|
java.lang.Object |
readFrom(Input input,
java.lang.Object owner) |
void |
writeTo(Output output,
java.lang.Object arr) |
getFieldName, getFieldNumber, mergeFrom, messageFullName, messageName, setValueisInitialized, newMessage, typeClassprotected final Pipe.Schema<java.lang.Object> pipeSchema
public PojoArray(IdStrategy strategy, PolymorphicSchema.Handler handler, HasSchema<java.lang.Object> hs)
public Pipe.Schema<java.lang.Object> getPipeSchema()
PolymorphicSchemagetPipeSchema in class PolymorphicSchemapublic java.lang.Object readFrom(Input input, java.lang.Object owner) throws java.io.IOException
readFrom in class ArraySchemas.Basejava.io.IOExceptionpublic void writeTo(Output output, java.lang.Object arr) throws java.io.IOException
java.io.IOExceptionCopyright © 2009-2023. All Rights Reserved.