[jira] [Created] (IGNITE-5655) Introduce pluggable string encoder/decoder

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-5655) Introduce pluggable string encoder/decoder

Anton Vinogradov (Jira)
Valentin Kulichenko created IGNITE-5655:
-------------------------------------------

             Summary: Introduce pluggable string encoder/decoder
                 Key: IGNITE-5655
                 URL: https://issues.apache.org/jira/browse/IGNITE-5655
             Project: Ignite
          Issue Type: New Feature
          Components: binary
    Affects Versions: 2.0
            Reporter: Valentin Kulichenko


Currently binary marshaller encodes strings in UTF-8. However, sometimes it makes sense to customize this.

Need to:
# Create {{BinaryStringEncoder}} interface with {{encode}} and {{decode}} methods that will convert string to byte array and back.
# Create default implementation based on UTF-8.
# Add {{stringEncoder}} configuration property to {{BinaryConfiguration}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)