Class ArraySchemas.Base
java.lang.Object
io.protostuff.runtime.PolymorphicSchema
io.protostuff.runtime.ArraySchemas.Base
- Direct Known Subclasses:
ArraySchemas.BigDecimalArray, ArraySchemas.BigIntegerArray, ArraySchemas.BoolArray, ArraySchemas.ByteArrayArray, ArraySchemas.ByteStringArray, ArraySchemas.CharArray, ArraySchemas.DateArray, ArraySchemas.DelegateArray, ArraySchemas.DoubleArray, ArraySchemas.EnumArray, ArraySchemas.FloatArray, ArraySchemas.Int32Array, ArraySchemas.Int64Array, ArraySchemas.PojoArray, ArraySchemas.ShortArray, ArraySchemas.StringArray
- Enclosing class:
ArraySchemas
-
Nested Class Summary
Nested classes/interfaces inherited from class PolymorphicSchema
PolymorphicSchema.Factory, PolymorphicSchema.Handler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final PolymorphicSchema.HandlerFields inherited from class PolymorphicSchema
strategy -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFieldName(int number) Gets the field name associated with the number.intgetFieldNumber(String name) Gets the field number associated with the name.voidDeserializes a message/object from theinput.Returns the full name of the message tied to this schema.Returns the simple name of the message tied to this schema.protected abstract Objectprotected voidSet the value to the owner.Methods inherited from class PolymorphicSchema
getPipeSchema, isInitialized, newMessage, typeClass
-
Field Details
-
handler
-
allowNullArrayElement
protected final boolean allowNullArrayElement
-
-
Constructor Details
-
Base
-
-
Method Details
-
getFieldName
-
getFieldNumber
-
messageFullName
-
messageName
-
setValue
Description copied from class:PolymorphicSchemaSet the value to the owner.- Specified by:
setValuein classPolymorphicSchema
-
mergeFrom
Description copied from interface:SchemaDeserializes a message/object from theinput.- Throws:
IOException
-
readFrom
- Throws:
IOException
-