| Modifier and Type | Field and Description |
|---|---|
org.apache.solr.client.solrj.SolrClient |
solrClient |
| Constructor and Description |
|---|
SolrResultSet(eu.dnetlib.domain.EPR epr,
org.apache.solr.client.solrj.impl.CloudSolrClient cloudSolrClient,
io.micrometer.prometheus.PrometheusMeterRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
cursorGet(Transformer transformer,
int limit,
OutputStream os)
limit is the maximum number of results the cursor get is allowed to fetch.
|
List<String> |
get(int from,
int to)
Deprecated.
|
List<String> |
getElements(int from,
int to)
Deprecated.
|
eu.dnetlib.domain.EPR |
getEpr() |
boolean |
isAlive() |
boolean |
isOpen() |
Map<String,List<String>> |
newGet(int from,
int to,
String format,
Transformer transformer,
Transformer oldRefineTransformer) |
int |
size() |
public SolrResultSet(eu.dnetlib.domain.EPR epr,
org.apache.solr.client.solrj.impl.CloudSolrClient cloudSolrClient,
io.micrometer.prometheus.PrometheusMeterRegistry registry)
throws IOException,
org.z3950.zing.cql.CQLParseException
IOExceptionorg.z3950.zing.cql.CQLParseExceptionpublic boolean isOpen()
isOpen in interface gr.uoa.di.driver.enabling.resultset.ResultSet<String>public boolean isAlive()
isAlive in interface gr.uoa.di.driver.enabling.resultset.ResultSet<String>public void close()
close in interface gr.uoa.di.driver.enabling.resultset.ResultSet<String>public int size()
size in interface gr.uoa.di.driver.enabling.resultset.ResultSet<String>@Deprecated public List<String> getElements(int from, int to)
getElements in interface gr.uoa.di.driver.enabling.resultset.ResultSet<String>@Deprecated public List<String> get(int from, int to)
get in interface gr.uoa.di.driver.enabling.resultset.ResultSet<String>public eu.dnetlib.domain.EPR getEpr()
getEpr in interface gr.uoa.di.driver.enabling.resultset.ResultSet<String>public Map<String,List<String>> newGet(int from, int to, String format, Transformer transformer, Transformer oldRefineTransformer)
public void cursorGet(Transformer transformer, int limit, OutputStream os) throws org.apache.solr.client.solrj.SolrServerException, eu.dnetlib.api.data.SearchServiceException
org.apache.solr.client.solrj.SolrServerExceptioneu.dnetlib.api.data.SearchServiceExceptionCopyright © 2020. All rights reserved.