public class SparqlField extends Object implements ISolrDataField
Modifier and Type | Field and Description |
---|---|
protected boolean |
multivalue |
protected String |
separator |
Constructor and Description |
---|
SparqlField(String name,
String query) |
Modifier and Type | Method and Description |
---|---|
Boolean |
getConcatValues() |
IConverter |
getConverter()
Get the converter
|
List<SolrElementField> |
getFields(byte[] data,
String arg1)
Method for extracting data from document
|
String |
getName()
Returns the search field name.
|
String |
getQuery() |
String |
getSeparator() |
boolean |
isMultivalue()
Can this field contain multiple values.
|
void |
setConcatValues(Boolean concatValues) |
void |
setConverter(IConverter converter)
Set the converter
|
void |
setMultivalue(boolean multivalue)
Controls whether the search index field this instance of SolrField is generating is defined
as accepting multiple values (a collection of values).
|
void |
setName(String name) |
void |
setQuery(String query) |
void |
setSeparator(String separator) |
protected String separator
protected boolean multivalue
public String getName()
ISolrDataField
getName
in interface ISolrDataField
public void setName(String name)
public String getQuery()
public void setQuery(String query)
public List<SolrElementField> getFields(byte[] data, String arg1) throws Exception
ISolrDataField
getFields
in interface ISolrDataField
Exception
public Boolean getConcatValues()
public void setConcatValues(Boolean concatValues)
public boolean isMultivalue()
public String getSeparator()
public void setSeparator(String separator)
public void setMultivalue(boolean multivalue)
multivalue
- public IConverter getConverter()
public void setConverter(IConverter converter)
converter
- set the converter to this fieldCopyright © 2022. All rights reserved.