public final class SolrAddCollection extends AbstractSolrCommand<java.lang.Object>
Constructor and Description |
---|
SolrAddCollection(java.util.List<PDRObject> pdrObjects)
Constructor with a collection of PDR objects.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
execute()
Executes the implemented Solr command.
|
public SolrAddCollection(java.util.List<PDRObject> pdrObjects) throws SolrCommandException
pdrObjects
- PDR objects.SolrCommandException
- Could not successfully create Solr command.public java.lang.Object execute() throws SolrCommandException
AbstractSolrCommand
execute
in class AbstractSolrCommand<java.lang.Object>
SolrCommandException
- Could not successfully execute Solr command.AbstractSolrCommand.execute()