Nikolay Izhikov created IGNITE-26202:
----------------------------------------

             Summary: Reduce predefined types complexity
                 Key: IGNITE-26202
                 URL: https://issues.apache.org/jira/browse/IGNITE-26202
             Project: Ignite
          Issue Type: Sub-task
            Reporter: Nikolay Izhikov
            Assignee: Nikolay Izhikov


Currently, code for Binary predefined types is mess.

The same type registered in bunch of collection in different places over the 
code:
 * {{GridBinaryMarshaller}} - set of byte constants for predefined types.
 * {{BinaryContext}} constructor - multiple {{registerPredefinedType 
}}invocation with the same bytes constants from{{ GridBinaryMarshaller.}}
 * {{BinaryUtils}} static initializer - registration of the same constants from 
{{{{GridBinaryMarshaller }}}}in{{{{ clsToFlag }}}}map{{{}{{.}}{}}}
 * {{BinaryUtils}} static initializer - registration of the same constants from 
{{{{GridBinaryMarshaller }}}}in FIELD_TYPE_NAMES array.
 * 
BinaryWriteMode - same constants in the enum form.

To simplify binary API and implementation  extraction we must simplify 
registration and keep those constants and mapping in the one place.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to