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

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

public class NamedJSFunctionWriter
extends Object
implements FunctionWriter

Writes a NamedJSFunction to a JsonGenerator

Author:
russell

Constructor Summary
NamedJSFunctionWriter(NamedJSFunction 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

NamedJSFunctionWriter

public NamedJSFunctionWriter(NamedJSFunction 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.