public class AnalyticsQuery extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Long |
accountId |
protected String |
externalId |
protected Integer |
maxCacheAge |
protected String |
queryString |
protected BigDecimal |
scannedDataLimit |
protected List<Long> |
spaceIds |
| Constructor and Description |
|---|
AnalyticsQuery() |
| Modifier and Type | Method and Description |
|---|---|
AnalyticsQuery |
accountId(Long accountId) |
AnalyticsQuery |
addSpaceIdsItem(Long spaceIdsItem) |
boolean |
equals(Object o) |
AnalyticsQuery |
externalId(String externalId) |
Long |
getAccountId()
The ID of the account in which the query is to be executed.
|
String |
getExternalId()
A client-generated nonce which uniquely identifies some action to be executed.
|
Integer |
getMaxCacheAge()
The maximum age (in minutes) of queries already executed that are to be taken into account.
|
String |
getQueryString()
The PrestoDB/Athena SQL statement to be executed.
|
BigDecimal |
getScannedDataLimit()
The maximum amount of data that the query is allowed to scan.
|
List<Long> |
getSpaceIds()
The IDs of the spaces belonging to the specified account in which the query is to be executed.
|
int |
hashCode() |
AnalyticsQuery |
maxCacheAge(Integer maxCacheAge) |
AnalyticsQuery |
queryString(String queryString) |
AnalyticsQuery |
scannedDataLimit(BigDecimal scannedDataLimit) |
void |
setAccountId(Long accountId) |
void |
setExternalId(String externalId) |
void |
setMaxCacheAge(Integer maxCacheAge) |
void |
setQueryString(String queryString) |
void |
setScannedDataLimit(BigDecimal scannedDataLimit) |
void |
setSpaceIds(List<Long> spaceIds) |
AnalyticsQuery |
spaceIds(List<Long> spaceIds) |
String |
toString() |
protected Long accountId
protected String externalId
protected Integer maxCacheAge
protected String queryString
protected BigDecimal scannedDataLimit
public AnalyticsQuery accountId(Long accountId)
public Long getAccountId()
public void setAccountId(Long accountId)
public AnalyticsQuery externalId(String externalId)
public String getExternalId()
public void setExternalId(String externalId)
public AnalyticsQuery maxCacheAge(Integer maxCacheAge)
public Integer getMaxCacheAge()
public void setMaxCacheAge(Integer maxCacheAge)
public AnalyticsQuery queryString(String queryString)
public String getQueryString()
public void setQueryString(String queryString)
public AnalyticsQuery scannedDataLimit(BigDecimal scannedDataLimit)
public BigDecimal getScannedDataLimit()
public void setScannedDataLimit(BigDecimal scannedDataLimit)
public AnalyticsQuery spaceIds(List<Long> spaceIds)
public AnalyticsQuery addSpaceIdsItem(Long spaceIdsItem)
public List<Long> getSpaceIds()
Copyright © 2024. All rights reserved.