public class MappingQueryExtractionComponent extends AbstractSolrExtractionComponent
_clauses, _contentTypes, _getQueryFromJSONHelper, _jsonUtils, _queryReferenceId
_contentTypeExtensionPoint, _contentTypesHelper, _subComponents, _tagName, _thesaurusDAO, EXTRACTION_METADATA_PATH_SEPARATOR, JOIN_HIERARCHY_ELEMENT, JOIN_HIERARCHY_SEPARATOR
Constructor and Description |
---|
MappingQueryExtractionComponent() |
Modifier and Type | Method and Description |
---|---|
void |
configure(Configuration configuration) |
Map<String,Object> |
getComponentDetailsForTree()
Retrieves the details of the component for tree
|
protected String |
getDefaultTagName()
Retrieves the default tag name
|
protected String |
getLogsPrefix()
Retrieves the prefix to use in exceptions thrown by this component
|
protected void |
processContents(Iterable<Content> contents,
ContentHandler contentHandler,
ExtractionExecutionContext context)
Process result contents to format the result document
|
_extractGroupExpressionsFromClause, _extractVariableFromClauseExpression, _getClauseQueries, _getMetadataType, addClauses, addContentTypes, computeReferencedQueryInfos, executeComponent, getClauses, getContents, getContentSearcher, getContentTypes, getQueryReferenceId, prepareComponentExecution, service, setQueryReferenceId
addSubComponent, execute, executeSubComponents, getSubComponents, getTagName, setTagName
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public MappingQueryExtractionComponent()
public void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configure
in class AbstractSolrExtractionComponent
ConfigurationException
protected void processContents(Iterable<Content> contents, ContentHandler contentHandler, ExtractionExecutionContext context) throws Exception
AbstractSolrExtractionComponent
processContents
in class AbstractSolrExtractionComponent
contents
- search resultscontentHandler
- result documentcontext
- component execution contextException
- if an error occurspublic Map<String,Object> getComponentDetailsForTree()
ExtractionComponent
getComponentDetailsForTree
in interface ExtractionComponent
getComponentDetailsForTree
in class AbstractSolrExtractionComponent
Map
containing component detailsprotected String getDefaultTagName()
AbstractExtractionComponent
getDefaultTagName
in class AbstractExtractionComponent
protected String getLogsPrefix()
AbstractExtractionComponent
getLogsPrefix
in class AbstractExtractionComponent