public class MapSchema<T> extends FieldSchema<T>
fieldNumber, javaType, name, packed, primitive, protoField, tag, tagSize| Constructor and Description |
|---|
MapSchema(io.protostuff.compiler.model.Field protoField,
PropertyDescriptor propertyDescriptor,
SchemaEx<Map.Entry<Object,Object>> entrySchema) |
| Modifier and Type | Method and Description |
|---|---|
void |
getAndWriteTo(OutputEx output,
T message) |
int |
mergeFrom(InputEx input,
T message) |
void |
writeTo(OutputEx output,
Object value)
write from map
|
getFieldNumber, getProtoField, isPrimitivepublic MapSchema(io.protostuff.compiler.model.Field protoField,
PropertyDescriptor propertyDescriptor,
SchemaEx<Map.Entry<Object,Object>> entrySchema)
public final int mergeFrom(InputEx input, T message) throws IOException
mergeFrom in class FieldSchema<T>IOExceptionpublic final void getAndWriteTo(OutputEx output, T message) throws IOException
getAndWriteTo in class FieldSchema<T>IOExceptionpublic final void writeTo(OutputEx output, Object value) throws IOException
FieldSchemawriteTo in class FieldSchema<T>value - field value, will not be nullIOExceptionCopyright © 2017–2019 The Apache Software Foundation. All rights reserved.