com.tinkerpop.rexster.gremlin.converter
Class MsgPackResultConverter

java.lang.Object
  extended by 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.


Constructor Summary
MsgPackResultConverter()
           
 
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
 

Constructor Detail

MsgPackResultConverter

public MsgPackResultConverter()
Method Detail

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.