public class ElasticSearchStatsViewer extends AbstractDSpaceTransformer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.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,
java.util.Date dateStart,
java.util.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(java.util.List<org.elasticsearch.search.facet.FacetBuilder> facetList) |
org.elasticsearch.search.facet.FacetBuilder |
facetTopBitstreamsLastMonth() |
java.lang.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, skippedEntitypublic static final java.lang.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, java.util.Date dateStart, java.util.Date dateEnd)
public void addPageMeta(PageMeta pageMeta) throws WingException, java.sql.SQLException
AbstractDSpaceTransformeraddPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractDSpaceTransformerWingExceptionjava.sql.SQLExceptionpublic void addBody(Body body) throws WingException, java.sql.SQLException
AbstractDSpaceTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerWingExceptionjava.sql.SQLExceptionpublic void showAllReports()
throws WingException,
java.sql.SQLException
WingExceptionjava.sql.SQLExceptionpublic org.elasticsearch.search.facet.FacetBuilder facetTopBitstreamsLastMonth()
public java.lang.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(java.util.List<org.elasticsearch.search.facet.FacetBuilder> facetList)
public org.elasticsearch.action.search.SearchResponse searchResponseToDRI(org.elasticsearch.action.search.SearchRequestBuilder searchRequestBuilder)
throws WingException
WingExceptionCopyright © 2018 DuraSpace. All Rights Reserved.