public class TemporalPeriodSolrField extends SolrField implements ISolrField
SolrElementField
s for beginDate and endDate
Example input:
<dcterms:temporal xsi:type="dcterms:Period">
start=1999-09-25T14:20+10:00; end=1999-09-25T16:40+10:00; scheme=W3C-DTF;
</dcterms:temporal>
Uses TemporalPeriodParsingUtility
Modifier and Type | Field and Description |
---|---|
static String |
BEGIN_FIELD_NAME |
static String |
END_FIELD_NAME |
combineNodes, converter, dedupe, defaultValue, disallowedValues, multivalue, name, splitOnString, substringAfter, substringBefore, valueSeparator, xpath, xPathExpression
Constructor and Description |
---|
TemporalPeriodSolrField() |
TemporalPeriodSolrField(String xpath) |
Modifier and Type | Method and Description |
---|---|
List<SolrElementField> |
getFields(Document doc,
String identifier)
Returns one or more elements of a single SOLR record.
|
allowedValue, getCombineDelimiter, getConverter, getDefaultValue, getDisallwedValues, getName, getSplitOnString, getValueSeparator, getXpath, getxPathExpression, initExpression, isCombineNodes, isMultivalue, isSubstringAfter, isSubstringBefore, processField, processNodeValue, setCombineDelimiter, setCombineNodes, setConverter, setDedupe, setDefaultValue, setDisallowedValues, setMultivalue, setName, setSplitOnString, setSubstringAfter, setSubstringBefore, setValueSeparator, setXpath, setxPathExpression
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, initExpression
public static final String BEGIN_FIELD_NAME
public static final String END_FIELD_NAME
public TemporalPeriodSolrField()
public TemporalPeriodSolrField(String xpath)
public List<SolrElementField> getFields(Document doc, String identifier) throws Exception
SolrField
getFields
in interface ISolrField
getFields
in class SolrField
Exception
Copyright © 2022. All rights reserved.