com.tinkerpop.rexster.gremlin.converter
Class MsgPackResultConverter
java.lang.Object
com.tinkerpop.rexster.gremlin.converter.MsgPackResultConverter
- All Implemented Interfaces:
- ResultConverter<byte[]>
public class MsgPackResultConverter
- extends Object
- implements ResultConverter<byte[]>
Converts a result from Gremlin to a byte array encoded by MsgPack.
Method Summary |
byte[] |
convert(Object result)
Converts the result to a sensible format given the implementation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MsgPackResultConverter
public MsgPackResultConverter()
convert
public byte[] convert(Object result)
throws Exception
- Description copied from interface:
ResultConverter
- Converts the result to a sensible format given the implementation.
- Specified by:
convert
in interface ResultConverter<byte[]>
- Throws:
Exception
Copyright © 2009-2012. All Rights Reserved.