public class Total extends Object
Total
holds the results and meta information from a total query.
Constructor and Description |
---|
Total() |
Modifier and Type | Method and Description |
---|---|
int |
getDistinctMetaCount()
Returns the number of distinct meta values.
|
int |
getMode()
Returns the query mode
|
int |
getObjId()
Returns the object ID if this was set in the query, else it returns -1;
|
int |
getPageviews()
Returns the number of page views.
|
int |
getResponseTime()
Returns the response time for the query execution in milliseconds
|
String |
getTitle()
Returns the title of the object if an object ID was submitted in the query.
|
String |
getUrl()
Returns the URL of the object if an object ID was submitted in the query.
|
protected void |
setDistinctMetaCount(int distinctMetaCount) |
protected void |
setMode(int mode) |
protected void |
setObjId(int objId) |
protected void |
setPageviews(int pageviews) |
protected void |
setResponseTime(int responseTime) |
protected void |
setTitle(String title) |
protected void |
setUrl(String url) |
public int getPageviews()
com.escenic.analysis.common.Constants.QUERY_MODE_PAGEVIEW_TOTAL
and
com.escenic.analysis.common.Constants.QUERY_MODE_PAGEVIEW_TOTAL_ALL
this method will return -1
.protected void setPageviews(int pageviews)
public int getDistinctMetaCount()
com.escenic.analysis.common.Constants.QUERY_MODE_PAGEVIEW_TOTAL_DISTINCT_META_COUNT
and
com.escenic.analysis.common.Constants.QUERY_MODE_PAGEVIEW_TOTAL_ALL
this method will return -1
.protected void setDistinctMetaCount(int distinctMetaCount)
public int getObjId()
protected void setObjId(int objId)
protected void setResponseTime(int responseTime)
public int getResponseTime()
protected void setTitle(String title)
public String getTitle()
null
.null
.public String getUrl()
null
.null
.protected void setUrl(String url)
public int getMode()
protected void setMode(int mode)
© 1998- 2014 Escenic
Contact Escenic Support for bug submission or feature requests. For further API reference and developer documentation, see Technet. The Technet documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Escenic A/S, Sommerrogt. 13-15 Solli, 0255 Oslo, Norway.