public class WorkbookFunctionsPowerRequest extends BaseRequest implements IWorkbookFunctionsPowerRequest
Modifier and Type | Field and Description |
---|---|
protected WorkbookFunctionsPowerBody |
body |
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
WorkbookFunctionsPowerRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for this WorkbookFunctionsPower
|
Modifier and Type | Method and Description |
---|---|
IWorkbookFunctionsPowerRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WorkbookFunctionResult |
post() |
void |
post(ICallback<WorkbookFunctionResult> callback) |
IWorkbookFunctionsPowerRequest |
select(java.lang.String value)
Sets the select clause for the request
|
IWorkbookFunctionsPowerRequest |
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 WorkbookFunctionsPowerBody body
public WorkbookFunctionsPowerRequest(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 IWorkbookFunctionsPowerRequest
public WorkbookFunctionResult post() throws ClientException
post
in interface IWorkbookFunctionsPowerRequest
ClientException
public IWorkbookFunctionsPowerRequest select(java.lang.String value)
select
in interface IWorkbookFunctionsPowerRequest
value
- the select clausepublic IWorkbookFunctionsPowerRequest top(int value)
top
in interface IWorkbookFunctionsPowerRequest
value
- the max number of items to returnpublic IWorkbookFunctionsPowerRequest expand(java.lang.String value)
expand
in interface IWorkbookFunctionsPowerRequest
value
- the expand clause