public class SqlDownloadRequest extends DownloadRequest
| Constructor and Description |
|---|
SqlDownloadRequest() |
SqlDownloadRequest(String sql,
String creator,
Collection<String> notificationAddresses,
Boolean sendNotification,
DownloadType type,
DownloadFormat format)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@Valid String |
getSql() |
int |
hashCode() |
void |
setSql(String sql)
This parameter when present provides the SQL query for custom download
|
String |
toString() |
getCreator, getFileExtension, getFormat, getNotificationAddresses, getNotificationAddressesAsString, getSendNotification, getType, setCreator, setFormat, setNotificationAddresses, setNotificationAddressesAsString, setSendNotification, setTypepublic SqlDownloadRequest()
public SqlDownloadRequest(String sql, @Nullable String creator, @Nullable Collection<String> notificationAddresses, @Nullable Boolean sendNotification, @Nullable DownloadType type, @Nullable DownloadFormat format)
public void setSql(String sql)
sql - public int hashCode()
hashCode in class DownloadRequestpublic boolean equals(Object o)
equals in class DownloadRequestpublic String toString()
toString in class DownloadRequestCopyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.