MrChang0 opened a new issue, #1595:
URL: https://github.com/apache/incubator-fury/issues/1595
## Is your feature request related to a problem? Please describe.
<!-- A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...] -->
when I want compress some `Map<String, String> map`, it have lots of same
string key, I want make user serializer contain a map key dict suche as
`Map<String, Integer> dict` and I can just serializer key as int, then write
dict data after metaContext.
but fury cant costum metaContext to save user global data.
btw, `stringRefIgnored` open will take slow serilizer time.
## Describe the solution you'd like
<!-- A clear and concise description of what you want to happen. -->
maybe we can support user context with open interface like interface
`userContext` with method `wirteData(MemoryBuffer buffer)` and
`write(MemoryBuffer buffer)` and `constructr(Fury fury)`. we can take it just
like `fury.registerUserContext("name", CompressStringDictMapContext.class)`.
we can take userContext like `fury.getUserContext("name")`
when after wirte metaContext, wirte all register userContext data by
register order, same to read.
## Additional context
<!-- Add any other context or screenshots about the feature request here. -->
I make a simple compress map version in my local project, so I think a
userContext can take better flexibility
thanks
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]