public class ElasticSearchStatsViewer extends AbstractDSpaceTransformer
| Modifier and Type | Field and Description |
|---|---|
static String |
elasticStatisticsPath |
protected static org.elasticsearch.search.facet.AbstractFacetBuilder |
facetMonthlyDownloads |
protected static org.elasticsearch.search.facet.AbstractFacetBuilder |
facetTopBitstreamsAllTime |
protected static org.elasticsearch.search.facet.AbstractFacetBuilder |
facetTopCountries |
protected static org.elasticsearch.search.facet.AbstractFacetBuilder |
facetTopTypes |
protected static org.elasticsearch.search.facet.AbstractFacetBuilder |
facetTopUniqueIP |
protected static org.elasticsearch.search.facet.AbstractFacetBuilder |
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.client.action.search.SearchRequestBuilder |
facetedQueryBuilder(org.elasticsearch.search.facet.AbstractFacetBuilder... facets) |
org.elasticsearch.client.action.search.SearchRequestBuilder |
facetedQueryBuilder(org.elasticsearch.search.facet.AbstractFacetBuilder facet) |
org.elasticsearch.client.action.search.SearchRequestBuilder |
facetedQueryBuilder(List<org.elasticsearch.search.facet.AbstractFacetBuilder> facetList) |
org.elasticsearch.search.facet.AbstractFacetBuilder |
facetTopBitstreamsLastMonth() |
String |
getLastMonthString() |
org.elasticsearch.action.search.SearchResponse |
searchResponseToDRI(org.elasticsearch.client.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.AbstractFacetBuilder facetTopCountries
protected static org.elasticsearch.search.facet.AbstractFacetBuilder facetMonthlyDownloads
protected static org.elasticsearch.search.facet.AbstractFacetBuilder facetTopBitstreamsAllTime
protected static org.elasticsearch.search.facet.AbstractFacetBuilder facetTopUSCities
protected static org.elasticsearch.search.facet.AbstractFacetBuilder facetTopUniqueIP
protected static org.elasticsearch.search.facet.AbstractFacetBuilder 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.AbstractFacetBuilder facetTopBitstreamsLastMonth()
public String getLastMonthString()
public org.elasticsearch.client.action.search.SearchRequestBuilder facetedQueryBuilder(org.elasticsearch.search.facet.AbstractFacetBuilder facet)
throws WingException
WingExceptionpublic org.elasticsearch.client.action.search.SearchRequestBuilder facetedQueryBuilder(org.elasticsearch.search.facet.AbstractFacetBuilder... facets)
throws WingException
WingExceptionpublic org.elasticsearch.client.action.search.SearchRequestBuilder facetedQueryBuilder(List<org.elasticsearch.search.facet.AbstractFacetBuilder> facetList)
public org.elasticsearch.action.search.SearchResponse searchResponseToDRI(org.elasticsearch.client.action.search.SearchRequestBuilder searchRequestBuilder)
throws WingException
WingExceptionCopyright © 2016 DuraSpace. All Rights Reserved.