org.apache.solr.handler.loader
Class JavabinLoader

java.lang.Object
  extended by org.apache.solr.handler.loader.ContentStreamLoader
      extended by org.apache.solr.handler.loader.JavabinLoader

public class JavabinLoader
extends ContentStreamLoader

Update handler which uses the JavaBin format

See Also:
JavaBinUpdateRequestCodec, JavaBinCodec

Field Summary
static org.slf4j.Logger log
           
 
Constructor Summary
JavabinLoader()
           
 
Method Summary
 void load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream, UpdateRequestProcessor processor)
          Loaders are responsible for closing the stream
 
Methods inherited from class org.apache.solr.handler.loader.ContentStreamLoader
getDefaultWT, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static org.slf4j.Logger log
Constructor Detail

JavabinLoader

public JavabinLoader()
Method Detail

load

public void load(SolrQueryRequest req,
                 SolrQueryResponse rsp,
                 ContentStream stream,
                 UpdateRequestProcessor processor)
          throws Exception
Description copied from class: ContentStreamLoader
Loaders are responsible for closing the stream

Specified by:
load in class ContentStreamLoader
Parameters:
req - The input SolrQueryRequest
rsp - The response, in case the Loader wishes to add anything
stream - The ContentStream to add
processor - The UpdateRequestProcessor to use
Throws:
Exception


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.