public class FeedMissingClaimsJobNode
extends eu.dnetlib.msro.workflows.nodes.AsyncJobNode
| Modifier and Type | Field and Description |
|---|---|
static int |
ATTEMPTS |
static int |
BATCH_SIZE |
static int |
SLEEP_MS_SOLR_CLIENT |
| Constructor and Description |
|---|
FeedMissingClaimsJobNode() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
execute(com.googlecode.sarasvati.NodeToken nodeToken) |
eu.dnetlib.openaire.directindex.utils.OafToIndexRecordFactory |
getOafToIndexRecordFactory() |
eu.dnetlib.openaire.directindex.api.RecentResultsQueue |
getQueue() |
protected boolean |
isRecordIndexed(eu.dnetlib.data.index.CloudIndexClient idxClient,
String baseUrl,
String coll,
String id,
int attempt) |
protected org.apache.solr.common.SolrInputDocument |
prepareSolrDoc(eu.dnetlib.data.index.CloudIndexClient idxClient,
String baseUrl,
String coll,
String recordId,
String record,
eu.dnetlib.miscutils.functional.xml.ApplyXslt xslt,
int attempt) |
void |
setOafToIndexRecordFactory(eu.dnetlib.openaire.directindex.utils.OafToIndexRecordFactory oafToIndexRecordFactory) |
void |
setQueue(eu.dnetlib.openaire.directindex.api.RecentResultsQueue queue) |
protected void |
tryToFeed(eu.dnetlib.data.index.CloudIndexClient idxClient,
String baseUrl,
String coll,
List<org.apache.solr.common.SolrInputDocument> toFeed,
int attempt) |
beforeCompleted, beforeFailed, beforeStart, executegetBeanName, getEnvParams, getParams, getPropertyFetcher, getSysParams, parseJsonParameters, setBeanName, setEnvParams, setParams, setSysParamsbacktrack, clone, getAdaptor, getDefiningGraph, getExternal, getExternalEnv, getGraph, getGuard, getId, getJoinParam, getJoinStrategy, getJoinType, getName, getOriginatingExternalNode, getType, guard, initId, isBacktrackable, isImportedFromExternal, isStart, setDefiningGraph, setExternal, setGraph, setGuard, setJoinParam, setJoinType, setName, setOriginatingExternalNode, setStart, setTypepublic static final int BATCH_SIZE
public static final int ATTEMPTS
public static final int SLEEP_MS_SOLR_CLIENT
protected String execute(com.googlecode.sarasvati.NodeToken nodeToken) throws Exception
execute in class eu.dnetlib.msro.workflows.nodes.AsyncJobNodeExceptionprotected boolean isRecordIndexed(eu.dnetlib.data.index.CloudIndexClient idxClient,
String baseUrl,
String coll,
String id,
int attempt)
throws IOException,
eu.dnetlib.data.index.CloudIndexClientException,
eu.dnetlib.msro.rmi.MSROException,
InterruptedException
IOExceptioneu.dnetlib.data.index.CloudIndexClientExceptioneu.dnetlib.msro.rmi.MSROExceptionInterruptedExceptionprotected org.apache.solr.common.SolrInputDocument prepareSolrDoc(eu.dnetlib.data.index.CloudIndexClient idxClient,
String baseUrl,
String coll,
String recordId,
String record,
eu.dnetlib.miscutils.functional.xml.ApplyXslt xslt,
int attempt)
throws IOException,
eu.dnetlib.data.index.CloudIndexClientException,
eu.dnetlib.msro.rmi.MSROException,
InterruptedException
IOExceptioneu.dnetlib.data.index.CloudIndexClientExceptioneu.dnetlib.msro.rmi.MSROExceptionInterruptedExceptionprotected void tryToFeed(eu.dnetlib.data.index.CloudIndexClient idxClient,
String baseUrl,
String coll,
List<org.apache.solr.common.SolrInputDocument> toFeed,
int attempt)
throws eu.dnetlib.msro.rmi.MSROException,
IOException,
eu.dnetlib.data.index.CloudIndexClientException,
InterruptedException
eu.dnetlib.msro.rmi.MSROExceptionIOExceptioneu.dnetlib.data.index.CloudIndexClientExceptionInterruptedExceptionpublic eu.dnetlib.openaire.directindex.api.RecentResultsQueue getQueue()
public void setQueue(eu.dnetlib.openaire.directindex.api.RecentResultsQueue queue)
public eu.dnetlib.openaire.directindex.utils.OafToIndexRecordFactory getOafToIndexRecordFactory()
public void setOafToIndexRecordFactory(eu.dnetlib.openaire.directindex.utils.OafToIndexRecordFactory oafToIndexRecordFactory)
Copyright © 2025. All rights reserved.