public class SolrJsonMapper extends Object implements SolrMapper
Modifier and Type | Class and Description |
---|---|
static class |
SolrJsonMapper.Builder |
Modifier and Type | Method and Description |
---|---|
String |
getCollection() |
org.apache.solr.client.solrj.SolrRequest |
toSolrRequest(ITuple tuple) |
org.apache.solr.client.solrj.SolrRequest |
toSolrRequest(List<? extends ITuple> tuples)
Maps to Solr request.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
configure
public String getCollection()
getCollection
in interface SolrMapper
public org.apache.solr.client.solrj.SolrRequest toSolrRequest(List<? extends ITuple> tuples) throws SolrMapperException
toSolrRequest
in interface SolrMapper
SolrMapperException
- if the tuple does not contain thepublic org.apache.solr.client.solrj.SolrRequest toSolrRequest(ITuple tuple) throws SolrMapperException
toSolrRequest
in interface SolrMapper
SolrMapperException
Copyright © 2023 The Apache Software Foundation. All rights reserved.