public class CountExtractionComponent extends AbstractGroupExtractionComponent
_groupingFields_clauses, _contentTypes, _getQueryFromJSONHelper, _jsonUtils, _queryReferenceId_contentTypeExtensionPoint, _contentTypesHelper, _subComponents, _tagName, _thesaurusDAO, EXTRACTION_METADATA_PATH_SEPARATOR, JOIN_HIERARCHY_ELEMENT, JOIN_HIERARCHY_SEPARATOR| Constructor and Description |
|---|
CountExtractionComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSubComponent(ExtractionComponent subComponent)
Add sub component
|
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
|
protected void |
saxContents(ContentHandler contentHandler,
ExtractionExecutionContext context,
Collection<? extends ResultField> resultFields,
List<Content> contents)
Sax a content
|
addGroupingFields, configure, getGroupingFields, organizeContentsInGroups, prepareComponentExecution, saxGroup, service_extractGroupExpressionsFromClause, _extractVariableFromClauseExpression, _getClauseQueries, _getMetadataType, addClauses, addContentTypes, computeReferencedQueryInfos, executeComponent, getClauses, getContentSearcher, getContentTypes, getQueryReferenceId, setQueryReferenceIdexecute, executeSubComponents, getSubComponents, getTagName, setTagNameenableLogging, getLogger, setupLogger, setupLogger, setupLoggerpublic CountExtractionComponent()
protected 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 occursprotected void saxContents(ContentHandler contentHandler, ExtractionExecutionContext context, Collection<? extends ResultField> resultFields, List<Content> contents) throws Exception
AbstractGroupExtractionComponentsaxContents in class AbstractGroupExtractionComponentcontentHandler - result documentcontext - execution contextresultFields - result fields to saxcontents - contents to saxException - if an error occurspublic void addSubComponent(ExtractionComponent subComponent)
ExtractionComponentaddSubComponent in interface ExtractionComponentaddSubComponent in class AbstractExtractionComponentsubComponent - the sub components to addpublic Map<String,Object> getComponentDetailsForTree()
ExtractionComponentgetComponentDetailsForTree in interface ExtractionComponentgetComponentDetailsForTree in class AbstractGroupExtractionComponentMap containing component detailsprotected String getDefaultTagName()
AbstractExtractionComponentgetDefaultTagName in class AbstractExtractionComponentprotected String getLogsPrefix()
AbstractExtractionComponentgetLogsPrefix in class AbstractExtractionComponent