chaokunyang commented on issue #1309:
URL:
https://github.com/apache/incubator-fury/issues/1309#issuecomment-1878350219
You can invoke Fury first to generate serializer code to java files, then
compile it with your project together:
```java
BaseObjectCodecBuilder codecBuilder = new ObjectCodecBuilder(cls, fury);
String code = codecBuilder.genCode();
Files.write(new File(codecBuilder.codecQualifiedClassName(cls).replace(".",
"/") + ".java").toPath(),
code.getBytes(StandardCharsets.UTF_8));
```
--
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]