public class SolrIndexClientFactory extends AbstractIndexClientFactory implements IndexClientFactory
| Modifier and Type | Field and Description |
|---|---|
protected Type |
typeToken
The type token.
|
isQueryTools| Constructor and Description |
|---|
SolrIndexClientFactory() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBackendId() |
IndexClient |
getClient(MetadataReference mdRef) |
IndexClient |
getClient(String collection) |
IndexClient |
getClient(String format,
String layout,
String interpretation) |
String |
getConfiguration()
Gets the configuration.
|
void |
init()
Inits the class.
|
void |
setConfiguration(String configuration)
Sets the configuration.
|
setBackendIdprotected Type typeToken
public void init()
throws IndexClientException
init in class AbstractIndexClientFactoryIndexClientException - the index client exceptionpublic String getBackendId()
getBackendId in interface IndexClientFactorygetBackendId in class AbstractIndexClientFactoryIndexClientFactory.getBackendId()public IndexClient getClient(String format, String layout, String interpretation) throws IndexClientException
getClient in interface IndexClientFactoryIndexClientExceptionIndexClientFactory.getClient(String, String, String)public IndexClient getClient(MetadataReference mdRef) throws IndexClientException
getClient in interface IndexClientFactoryIndexClientExceptionIndexClientFactory.getClient(MetadataReference)public IndexClient getClient(String collection) throws IndexClientException
getClient in interface IndexClientFactoryIndexClientExceptionpublic String getConfiguration()
public void setConfiguration(String configuration)
configuration - the configurationCopyright © 2019. All rights reserved.