public class WaveAPIImpl extends AbstractAPIImpl implements WaveAPI
WaveAPI| Constructor and Description |
|---|
WaveAPIImpl(SFConfig sfConfig) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatasetId(String datasetName)
Returns DatasetId appended with VersionId separated by /
|
QueryResult |
query(String saql)
Execute the given SAQL by using "/wave/query" API
|
QueryResult |
queryMore(QueryResult queryResult)
Execute query and return the next set of results
|
QueryResult |
queryWithPagination(String saql,
String resultVar,
int pageSize)
Executes Paginated query and return the result
To get further results call WaveAPI.queryMore(QueryResult queryResult)
|
getHttpHelper, getObjectMapper, getSfConfig, getXmlMapper, setHttpHelper, setObjectMapper, setSfConfig, setXmlMapperpublic QueryResult queryWithPagination(String saql, String resultVar, int pageSize) throws Exception
WaveAPIqueryWithPagination in interface WaveAPIExceptionpublic QueryResult queryMore(QueryResult queryResult) throws Exception
WaveAPIpublic QueryResult query(String saql) throws Exception
WaveAPIquery in interface WaveAPIsaql - - SAQL to be executed. This will be converted into JSONQueryResultExceptionpublic String getDatasetId(String datasetName) throws Exception
WaveAPIgetDatasetId in interface WaveAPIdatasetName - Name of the dataset for which datasetId and versionId to be fetchedExceptionCopyright © 2019. All rights reserved.