Class MarcToSolrParameters
- java.lang.Object
-
- de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
-
- de.gwdg.metadataqa.marc.cli.parameters.MarcToSolrParameters
-
- All Implemented Interfaces:
Serializable
public class MarcToSolrParameters extends CommonParameters
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
alephseq, args, cmd, dataSource, DEFAULT_MARC_VERSION, DEFAULT_OUTPUT_DIR, defaultEncoding, defaultRecordType, doHelp, doLog, fixAlephseq, fixAlma, fixKbr, id, ignorableFields, limit, lineSeparated, marcFormat, marcVersion, marcxml, offset, options, parser, recordFilter, recordIgnorator, stream, trimId
-
-
Constructor Summary
Constructors Constructor Description MarcToSolrParameters(String[] arguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandoCommit()StringformatParameters()org.apache.solr.client.solrj.SolrClientgetMainClient()SolrFieldTypegetSolrFieldType()StringgetSolrUrl()org.apache.solr.client.solrj.SolrClientgetValidationClient()StringgetValidationUrl()voidsetMainClient(org.apache.solr.client.solrj.SolrClient mainClient)protected voidsetOptions()voidsetValidationClient(org.apache.solr.client.solrj.SolrClient validationClient)booleanuseEmbedded()-
Methods inherited from class de.gwdg.metadataqa.marc.cli.parameters.CommonParameters
doHelp, doLog, fixAlephseq, fixAlma, fixKbr, getAlephseqLineType, getArgs, getDataSource, getDefaultEncoding, getDefaultRecordType, getGroupBy, getGroupListFile, getId, getIgnorableFields, getLimit, getMarcFormat, getMarcVersion, getOffset, getOptions, getOutputDir, getPicaIdField, getPicaRecordTypeField, getPicaSchemaFile, getPicaSubfieldSeparator, getRecordFilter, getRecordIgnorator, getReplacementInControlFields, getSchemaType, getStream, getTrimId, hasId, isAlephseq, isLineSeparated, isMarc21, isMarcxml, isPica, setAlephseq, setDataSource, setDataSource, setDefaultRecordType, setDefaultRecordType, setDoHelp, setDoLog, setFixAlephseq, setFixAlma, setFixKbr, setId, setIgnorableFields, setLimit, setLineSeparated, setMarcFormat, setMarcFormat, setMarcVersion, setMarcVersion, setMarcxml, setOffset, setOutputDir, setPicaIdField, setPicaSubfieldSeparator, setRecordFilter, setRecordIgnorator, setStream, setTrimId
-
-
-
-
Constructor Detail
-
MarcToSolrParameters
public MarcToSolrParameters(String[] arguments) throws org.apache.commons.cli.ParseException
- Throws:
org.apache.commons.cli.ParseException
-
-
Method Detail
-
setOptions
protected void setOptions()
- Overrides:
setOptionsin classCommonParameters
-
getSolrUrl
public String getSolrUrl()
-
doCommit
public boolean doCommit()
-
getSolrFieldType
public SolrFieldType getSolrFieldType()
-
getValidationUrl
public String getValidationUrl()
-
getMainClient
public org.apache.solr.client.solrj.SolrClient getMainClient()
-
setMainClient
public void setMainClient(org.apache.solr.client.solrj.SolrClient mainClient)
-
getValidationClient
public org.apache.solr.client.solrj.SolrClient getValidationClient()
-
setValidationClient
public void setValidationClient(org.apache.solr.client.solrj.SolrClient validationClient)
-
useEmbedded
public boolean useEmbedded()
-
formatParameters
public String formatParameters()
- Overrides:
formatParametersin classCommonParameters
-
-