spmallette commented on pull request #1310:
URL: https://github.com/apache/tinkerpop/pull/1310#issuecomment-677685005


   Well, GraphBinary has `GraphBinaryReader` and `GraphBinaryWriter` so to make 
a `GraphBinaryMapper` implementation you'd have to create a class to hold both 
of those - perhaps that's just a `GraphBinaryReaderWriter` and that way you 
could do:
   
   ```java
   public class GraphSONMapper implements Mapper<GraphBinaryReaderWriter> {
   
       @Override
       public GraphBinaryReaderWriter createMapper() {
          ....
       }
   ```
   
   Not sure what it looks like from there, but that would at least make all the 
MessageSerializers consistent for retrieving these sorts of things. Does that 
give you some idea on how to move forward?
   
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to