Package io.protostuff.runtime
Class ArraySchemas.Int64Array
- java.lang.Object
-
- io.protostuff.runtime.PolymorphicSchema
-
- io.protostuff.runtime.ArraySchemas.Base
-
- io.protostuff.runtime.ArraySchemas.Int64Array
-
- All Implemented Interfaces:
Schema<java.lang.Object>
- Enclosing class:
- ArraySchemas
public static class ArraySchemas.Int64Array extends ArraySchemas.Base
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.protostuff.runtime.PolymorphicSchema
PolymorphicSchema.Factory, PolymorphicSchema.Handler
-
-
Field Summary
Fields Modifier and Type Field Description protected Pipe.Schema<java.lang.Object>pipeSchema(package private) booleanprimitive-
Fields inherited from class io.protostuff.runtime.ArraySchemas.Base
allowNullArrayElement, handler
-
Fields inherited from class io.protostuff.runtime.PolymorphicSchema
strategy
-
-
Constructor Summary
Constructors Constructor Description Int64Array(IdStrategy strategy, PolymorphicSchema.Handler handler, boolean primitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pipe.Schema<java.lang.Object>getPipeSchema()The pipe schema associated with this schema.protected java.lang.ObjectreadBoxedFrom(Input input, java.lang.Object owner, int len)java.lang.ObjectreadFrom(Input input, java.lang.Object owner)protected java.lang.ObjectreadPrimitiveFrom(Input input, java.lang.Object owner, int len)protected voidwriteLengthTo(Output output, int len, boolean primitive)voidwriteTo(Output output, java.lang.Object value)Serializes a message/object to theoutput.protected voidwriteTo(Output output, java.lang.Object value, boolean primitive)-
Methods inherited from class io.protostuff.runtime.ArraySchemas.Base
getFieldName, getFieldNumber, mergeFrom, messageFullName, messageName, setValue
-
Methods inherited from class io.protostuff.runtime.PolymorphicSchema
isInitialized, newMessage, typeClass
-
-
-
-
Field Detail
-
pipeSchema
protected final Pipe.Schema<java.lang.Object> pipeSchema
-
primitive
final boolean primitive
-
-
Constructor Detail
-
Int64Array
Int64Array(IdStrategy strategy, PolymorphicSchema.Handler handler, boolean primitive)
-
-
Method Detail
-
getPipeSchema
public Pipe.Schema<java.lang.Object> getPipeSchema()
Description copied from class:PolymorphicSchemaThe pipe schema associated with this schema.- Specified by:
getPipeSchemain classPolymorphicSchema
-
readPrimitiveFrom
protected java.lang.Object readPrimitiveFrom(Input input, java.lang.Object owner, int len) throws java.io.IOException
- Throws:
java.io.IOException
-
readBoxedFrom
protected java.lang.Object readBoxedFrom(Input input, java.lang.Object owner, int len) throws java.io.IOException
- Throws:
java.io.IOException
-
readFrom
public java.lang.Object readFrom(Input input, java.lang.Object owner) throws java.io.IOException
- Specified by:
readFromin classArraySchemas.Base- Throws:
java.io.IOException
-
writeLengthTo
protected void writeLengthTo(Output output, int len, boolean primitive) throws java.io.IOException
- Throws:
java.io.IOException
-
writeTo
protected void writeTo(Output output, java.lang.Object value, boolean primitive) throws java.io.IOException
- Throws:
java.io.IOException
-
-