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