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(AmetysObjectIterable<Content> contents,
ContentHandler contentHandler,
ExtractionExecutionContext context)
Process result contents to format the result document
|
_extractGroupExpressionsFromClause, _extractVariableFromClauseExpression, _getClauseQueries, _getMetadataType, addClauses, addContentTypes, computeReferencedQueryInfos, executeComponent, getClauses, getContentSearcher, getContentTypes, getQueryReferenceId, prepareComponentExecution, service, setQueryReferenceIdaddSubComponent, execute, executeSubComponents, getSubComponents, getTagName, setTagNameenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic MappingQueryExtractionComponent()
public void configure(Configuration configuration) throws ConfigurationException
configure in interface Configurableconfigure in class AbstractSolrExtractionComponentConfigurationExceptionprotected void processContents(AmetysObjectIterable<Content> contents, ContentHandler contentHandler, ExtractionExecutionContext context) throws Exception
AbstractSolrExtractionComponentprocessContents in class AbstractSolrExtractionComponentcontents - search resultscontentHandler - result documentcontext - component execution contextException - if an error occurspublic Map<String,Object> getComponentDetailsForTree()
ExtractionComponentgetComponentDetailsForTree in interface ExtractionComponentgetComponentDetailsForTree in class AbstractSolrExtractionComponentMap containing component detailsprotected String getDefaultTagName()
AbstractExtractionComponentgetDefaultTagName in class AbstractExtractionComponentprotected String getLogsPrefix()
AbstractExtractionComponentgetLogsPrefix in class AbstractExtractionComponent