Package io.protostuff.runtime
Class ArraySchemas
java.lang.Object
io.protostuff.runtime.ArraySchemas
Built-in array schemas.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final PolymorphicSchema.Handler
(package private) static final int
(package private) static final int
(package private) static final int
(package private) static final String
(package private) static final String
(package private) static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static ArraySchemas.Base
getGenericElementSchema
(int id, IdStrategy strategy) (package private) static ArraySchemas.Base
getSchema
(int id, boolean primitive, IdStrategy strategy) (package private) static boolean
isPrimitive
(int arrayId) (package private) static String
name
(int number) (package private) static ArraySchemas.Base
newSchema
(int id, Class<?> compontentType, Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler) (package private) static int
(package private) static int
toArrayId
(int id, boolean primitive) (package private) static int
toInlineId
(int arrayId) (package private) static void
transferObject
(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, Delegate<?> delegate)
-
Field Details
-
ID_ARRAY_LEN
static final int ID_ARRAY_LEN- See Also:
-
ID_ARRAY_DATA
static final int ID_ARRAY_DATA- See Also:
-
ID_ARRAY_NULLCOUNT
static final int ID_ARRAY_NULLCOUNT- See Also:
-
STR_ARRAY_LEN
- See Also:
-
STR_ARRAY_DATA
- See Also:
-
STR_ARRAY_NULLCOUNT
- See Also:
-
GENERIC_HANDLER
-
-
Constructor Details
-
ArraySchemas
private ArraySchemas()
-
-
Method Details
-
isPrimitive
static boolean isPrimitive(int arrayId) -
toArrayId
static int toArrayId(int id, boolean primitive) -
toInlineId
static int toInlineId(int arrayId) -
getSchema
-
getGenericElementSchema
-
newSchema
static ArraySchemas.Base newSchema(int id, Class<?> compontentType, Class<?> typeClass, IdStrategy strategy, PolymorphicSchema.Handler handler) -
name
-
number
-
transferObject
static void transferObject(Pipe.Schema<Object> pipeSchema, Pipe pipe, Input input, Output output, IdStrategy strategy, Delegate<?> delegate) throws IOException - Throws:
IOException
-