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