| 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,
DatasourceCsvMapper datasourceCsvMapper,
OrganizationCsvMapper organizationCsvMapper,
ProjectCsvMapper projectCsvMapper,
ResearchProductCsvMapper researchProductCsvMapper,
ResearchProductCsvConverter researchProductCsvConverter,
ResearchProductsHtmlMapper researchProductsHtmlMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
cursorGet(Transformer transformer,
boolean special,
boolean hasTitle,
boolean isHtml,
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() |
static void |
main(String[] args) |
Map<String,List<String>> |
newGet(int from,
int to,
String format,
Transformer transformer,
Transformer oldRefineTransformer,
boolean timeout,
String timeoutValue) |
Map<String,List<String>> |
newJsonGet(int from,
int to,
String format,
Transformer transformer,
Transformer oldRefineTransformer,
boolean timeout,
String timeoutValue) |
int |
size() |
void |
updateCursorMark(String nextCursorMark) |
void |
writeCsvEntity(com.fasterxml.jackson.dataformat.csv.CsvMapper csvMapper,
CsvEntity csvEntity,
boolean special,
OutputStream os) |
void |
writeHeader(com.fasterxml.jackson.dataformat.csv.CsvMapper csvMapper,
CsvEntity csvEntity,
OutputStream os) |
public SolrResultSet(eu.dnetlib.domain.EPR epr,
org.apache.solr.client.solrj.impl.CloudSolrClient cloudSolrClient,
io.micrometer.prometheus.PrometheusMeterRegistry registry,
DatasourceCsvMapper datasourceCsvMapper,
OrganizationCsvMapper organizationCsvMapper,
ProjectCsvMapper projectCsvMapper,
ResearchProductCsvMapper researchProductCsvMapper,
ResearchProductCsvConverter researchProductCsvConverter,
ResearchProductsHtmlMapper researchProductsHtmlMapper)
throws IOException,
org.z3950.zing.cql.CQLParseException,
eu.dnetlib.api.data.SearchServiceException
IOExceptionorg.z3950.zing.cql.CQLParseExceptioneu.dnetlib.api.data.SearchServiceExceptionpublic 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, boolean timeout, String timeoutValue) throws eu.dnetlib.api.data.SearchServiceException
eu.dnetlib.api.data.SearchServiceExceptionpublic Map<String,List<String>> newJsonGet(int from, int to, String format, Transformer transformer, Transformer oldRefineTransformer, boolean timeout, String timeoutValue) throws eu.dnetlib.api.data.SearchServiceException
eu.dnetlib.api.data.SearchServiceExceptionpublic void cursorGet(Transformer transformer, boolean special, boolean hasTitle, boolean isHtml, 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.SearchServiceExceptionpublic void writeHeader(com.fasterxml.jackson.dataformat.csv.CsvMapper csvMapper,
CsvEntity csvEntity,
OutputStream os)
throws IOException
IOExceptionpublic void writeCsvEntity(com.fasterxml.jackson.dataformat.csv.CsvMapper csvMapper,
CsvEntity csvEntity,
boolean special,
OutputStream os)
throws IOException
IOExceptionpublic void updateCursorMark(String nextCursorMark)
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2025. All rights reserved.