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) |
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
tuples
- 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 © 2019 The Apache Software Foundation. All Rights Reserved.