public class BulkRecordMapperFactory extends Object implements eu.dnetlib.miscutils.factory.Factory<com.google.common.base.Function<String,eu.dnetlib.miscutils.collections.Pair<String,String>>>
| Modifier and Type | Field and Description |
|---|---|
protected ThreadLocal<XMLEventFactory> |
eventFactory |
protected ThreadLocal<XMLInputFactory> |
inputFactory |
protected static String |
MD_ID |
protected static String |
MD_RECORD |
protected ThreadLocal<XMLOutputFactory> |
outputFactory |
protected static String |
RECORD |
| Constructor and Description |
|---|
BulkRecordMapperFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getRecord(String record,
XMLEventReader parser)
Copy the /indexRecord/result element and children, preserving namespace declarations etc.
|
com.google.common.base.Function<String,eu.dnetlib.miscutils.collections.Pair<String,String>> |
newInstance() |
protected static final String MD_RECORD
protected static final String MD_ID
protected static final String RECORD
protected ThreadLocal<XMLInputFactory> inputFactory
protected ThreadLocal<XMLOutputFactory> outputFactory
protected ThreadLocal<XMLEventFactory> eventFactory
public com.google.common.base.Function<String,eu.dnetlib.miscutils.collections.Pair<String,String>> newInstance()
protected String getRecord(String record, XMLEventReader parser) throws XMLStreamException
indexDocument - results - parser - XMLStreamExceptionCopyright © 2025. All rights reserved.