public class ElasticSearchStatsViewer extends AbstractDSpaceTransformer
| Modifier and Type | Field and Description |
|---|---|
static String |
elasticStatisticsPath |
protected static org.elasticsearch.search.facet.FacetBuilder |
facetMonthlyDownloads |
protected static org.elasticsearch.search.facet.FacetBuilder |
facetTopBitstreamsAllTime |
protected static org.elasticsearch.search.facet.FacetBuilder |
facetTopCountries |
protected static org.elasticsearch.search.facet.FacetBuilder |
facetTopTypes |
protected static org.elasticsearch.search.facet.FacetBuilder |
facetTopUniqueIP |
protected static org.elasticsearch.search.facet.FacetBuilder |
facetTopUSCities |
protected static org.elasticsearch.index.query.TermFilterBuilder |
justOriginals |
context, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
ElasticSearchStatsViewer() |
ElasticSearchStatsViewer(DSpaceObject dso,
Date dateStart,
Date dateEnd) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
What to add at the end of the body
|
void |
addPageMeta(PageMeta pageMeta)
What page metadata to add to the document
|
org.elasticsearch.action.search.SearchRequestBuilder |
facetedQueryBuilder(org.elasticsearch.search.facet.FacetBuilder... facets) |
org.elasticsearch.action.search.SearchRequestBuilder |
facetedQueryBuilder(org.elasticsearch.search.facet.FacetBuilder facet) |
org.elasticsearch.action.search.SearchRequestBuilder |
facetedQueryBuilder(List<org.elasticsearch.search.facet.FacetBuilder> facetList) |
org.elasticsearch.search.facet.FacetBuilder |
facetTopBitstreamsLastMonth() |
String |
getLastMonthString() |
org.elasticsearch.action.search.SearchResponse |
searchResponseToDRI(org.elasticsearch.action.search.SearchRequestBuilder searchRequestBuilder) |
void |
showAllReports() |
addOptions, addUserMeta, decodeFromURL, dispose, encodeForURL, generateURL, getComponentName, getObjectManager, handleException, recycle, setupcreateWingDocument, endDocument, endElement, endPrefixMapping, getDefaultMessageCatalogue, message, message, setupWing, startDocument, startElement, startPrefixMappingcharacters, comment, endCDATA, endDTD, endEntity, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntitysetConsumer, setContentHandler, setLexicalHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntitycomment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntitypublic static final String elasticStatisticsPath
protected static org.elasticsearch.index.query.TermFilterBuilder justOriginals
protected static org.elasticsearch.search.facet.FacetBuilder facetTopCountries
protected static org.elasticsearch.search.facet.FacetBuilder facetMonthlyDownloads
protected static org.elasticsearch.search.facet.FacetBuilder facetTopBitstreamsAllTime
protected static org.elasticsearch.search.facet.FacetBuilder facetTopUSCities
protected static org.elasticsearch.search.facet.FacetBuilder facetTopUniqueIP
protected static org.elasticsearch.search.facet.FacetBuilder facetTopTypes
public ElasticSearchStatsViewer()
public ElasticSearchStatsViewer(DSpaceObject dso, Date dateStart, Date dateEnd)
public void addPageMeta(PageMeta pageMeta) throws WingException, SQLException
AbstractDSpaceTransformeraddPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerWingExceptionSQLExceptionpublic void addBody(Body body) throws WingException, SQLException
AbstractDSpaceTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerWingExceptionSQLExceptionpublic void showAllReports()
throws WingException,
SQLException
WingExceptionSQLExceptionpublic org.elasticsearch.search.facet.FacetBuilder facetTopBitstreamsLastMonth()
public String getLastMonthString()
public org.elasticsearch.action.search.SearchRequestBuilder facetedQueryBuilder(org.elasticsearch.search.facet.FacetBuilder facet)
throws WingException
WingExceptionpublic org.elasticsearch.action.search.SearchRequestBuilder facetedQueryBuilder(org.elasticsearch.search.facet.FacetBuilder... facets)
throws WingException
WingExceptionpublic org.elasticsearch.action.search.SearchRequestBuilder facetedQueryBuilder(List<org.elasticsearch.search.facet.FacetBuilder> facetList)
public org.elasticsearch.action.search.SearchResponse searchResponseToDRI(org.elasticsearch.action.search.SearchRequestBuilder searchRequestBuilder)
throws WingException
WingExceptionCopyright © 2013 DuraSpace. All Rights Reserved.