com.basho.riak.client.query.serialize
Class JSSourceFunctionWriter

java.lang.Object
  extended by com.basho.riak.client.query.serialize.JSSourceFunctionWriter
All Implemented Interfaces:
FunctionWriter

public class JSSourceFunctionWriter
extends Object
implements FunctionWriter

Writes a JSSourceFunction to a JsonGenerator

Author:
russell

Constructor Summary
JSSourceFunctionWriter(JSSourceFunction function, org.codehaus.jackson.JsonGenerator jsonGenerator)
           
 
Method Summary
 void write()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSSourceFunctionWriter

public JSSourceFunctionWriter(JSSourceFunction function,
                              org.codehaus.jackson.JsonGenerator jsonGenerator)
Parameters:
function -
jsonGenerator -
Method Detail

write

public void write()
           throws IOException
Specified by:
write in interface FunctionWriter
Throws:
IOException


Copyright © 2012. All Rights Reserved.