|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.client.Query
com.google.gdata.client.analytics.DataQuery
public class DataQuery
Describes a query for the arbitrary data from an Analytics profile.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gdata.client.Query |
---|
Query.CategoryFilter, Query.CustomParameter, Query.ResultFormat |
Field Summary |
---|
Fields inherited from class com.google.gdata.client.Query |
---|
UNDEFINED |
Constructor Summary | |
---|---|
DataQuery(java.net.URL feedUrl)
Constructs a new query object that targets a feed. |
Method Summary | |
---|---|
java.lang.String |
getDimensions()
Returns the row keys. |
java.lang.String |
getEndDate()
Returns the last day for which to retrieve data in form YYYY-MM-DD. |
java.lang.String |
getFilters()
Returns the dimension value filters. |
java.lang.String |
getIds()
Returns the Google Analytics profile ID, prefixed by 'ga:'. |
java.lang.String |
getMetrics()
Returns the comma separated list of numeric value fields. |
java.lang.String |
getSort()
Returns the comma separated list of sort keys in order of importance. |
java.lang.String |
getStartDate()
Returns the first day for which to retrieve data in form YYYY-MM-DD. |
void |
setDimensions(java.lang.String dimensions)
Sets the row keys. |
void |
setEndDate(java.lang.String endDate)
Sets the last day for which to retrieve data in form YYYY-MM-DD. |
void |
setFilters(java.lang.String filters)
Sets the dimension value filters. |
void |
setIds(java.lang.String ids)
Sets the Google Analytics profile ID, prefixed by 'ga:'. |
void |
setMetrics(java.lang.String metrics)
Sets the comma separated list of numeric value fields. |
void |
setSort(java.lang.String sort)
Sets the comma separated list of sort keys in order of importance. |
void |
setStartDate(java.lang.String startDate)
Sets the first day for which to retrieve data in form YYYY-MM-DD. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataQuery(java.net.URL feedUrl)
feedUrl
- the URL of the feed against which queries will be executed.Method Detail |
---|
public java.lang.String getDimensions()
null
to indicate that the parameter is not
set.public void setDimensions(java.lang.String dimensions)
dimensions
- row keys or null
to remove this parameter if
set.public java.lang.String getEndDate()
null
to indicate that the parameter is not set.public void setEndDate(java.lang.String endDate)
endDate
- last day for which to retrieve data in form YYYY-MM-DD or
null
to remove this parameter if set.public java.lang.String getFilters()
null
to indicate that the
parameter is not set.public void setFilters(java.lang.String filters)
filters
- dimension value filters or null
to remove this
parameter if set.public java.lang.String getIds()
null
to indicate that the parameter is not set.public void setIds(java.lang.String ids)
ids
- Google Analytics profile ID, prefixed by 'ga:' or
null
to remove this parameter if set.public java.lang.String getMetrics()
null
to indicate that the parameter is not set.public void setMetrics(java.lang.String metrics)
metrics
- comma separated list of numeric value fields or
null
to remove this parameter if set.public java.lang.String getSort()
null
to indicate that the parameter is not set.public void setSort(java.lang.String sort)
sort
- comma separated list of sort keys in order of importance or
null
to remove this parameter if set.public java.lang.String getStartDate()
null
to indicate that the parameter is not set.public void setStartDate(java.lang.String startDate)
startDate
- first day for which to retrieve data in form YYYY-MM-DD or
null
to remove this parameter if set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |