public class WorkbookFunctionsDmaxRequest extends BaseRequest implements IWorkbookFunctionsDmaxRequest
Modifier and Type | Field and Description |
---|---|
protected WorkbookFunctionsDmaxBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
WorkbookFunctionsDmaxRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this WorkbookFunctionsDmax
|
Modifier and Type | Method and Description |
---|---|
IWorkbookFunctionsDmaxRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookFunctionResult |
post() |
void |
post(ICallback<WorkbookFunctionResult> callback) |
IWorkbookFunctionsDmaxRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookFunctionsDmaxRequest |
top(int value)
Sets the top value for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
protected final WorkbookFunctionsDmaxBody body
public WorkbookFunctionsDmaxRequest(java.lang.String requestUrl, IBaseClient client, java.util.List<? extends Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this requestpublic void post(ICallback<WorkbookFunctionResult> callback)
post
in interface IWorkbookFunctionsDmaxRequest
public WorkbookFunctionResult post() throws ClientException
post
in interface IWorkbookFunctionsDmaxRequest
ClientException
public IWorkbookFunctionsDmaxRequest select(java.lang.String value)
select
in interface IWorkbookFunctionsDmaxRequest
value
- the select clausepublic IWorkbookFunctionsDmaxRequest top(int value)
top
in interface IWorkbookFunctionsDmaxRequest
value
- the max number of items to returnpublic IWorkbookFunctionsDmaxRequest expand(java.lang.String value)
expand
in interface IWorkbookFunctionsDmaxRequest
value
- the expand clause