public class FDSNEventQueryParams extends AbstractQueryParams implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CATALOG |
static java.lang.String |
CONTRIBUTOR |
static java.lang.String |
ENDTIME |
static java.lang.String |
ENDTIME_SHORT |
static java.lang.String |
EVENT_SERVICE |
static java.lang.String |
EVENTID |
static java.lang.String |
INCLUDEALLMAGNITUDES |
static java.lang.String |
INCLUDEALLORIGINS |
static java.lang.String |
INCLUDEARRIVALS |
static java.lang.String |
ISC_HOST |
static java.lang.String |
ISC_MIRROR_HOST |
static java.lang.String |
LATITUDE |
static java.lang.String |
LATITUDE_SHORT |
static java.lang.String |
LIMIT |
static java.lang.String |
LONGITUDE |
static java.lang.String |
LONGITUDE_SHORT |
static java.lang.String |
MAGNITUDETYPE |
static java.lang.String |
MAGNITUDETYPE_SHORT |
static java.lang.String |
MAXDEPTH |
static java.lang.String |
MAXLATITUDE |
static java.lang.String |
MAXLATITUDE_SHORT |
static java.lang.String |
MAXLONGITUDE |
static java.lang.String |
MAXLONGITUDE_SHORT |
static java.lang.String |
MAXMAGNITUDE |
static java.lang.String |
MAXMAGNITUDE_SHORT |
static java.lang.String |
MAXRADIUS |
static java.lang.String |
MINDEPTH |
static java.lang.String |
MINLATITUDE |
static java.lang.String |
MINLATITUDE_SHORT |
static java.lang.String |
MINLONGITUDE |
static java.lang.String |
MINLONGITUDE_SHORT |
static java.lang.String |
MINMAGNITUDE |
static java.lang.String |
MINMAGNITUDE_SHORT |
static java.lang.String |
MINRADIUS |
static java.lang.String |
OFFSET |
static java.lang.String |
ORDER_MAGNITUDE
magnitude: order by descending magnitude
|
static java.lang.String |
ORDER_MAGNITUDE_ASC
magnitude-asc : order by ascending magnitude
|
static java.lang.String |
ORDER_TIME
time: order by origin descending time
|
static java.lang.String |
ORDER_TIME_ASC
time-asc : order by origin ascending time
|
static java.lang.String |
ORDERBY |
static java.lang.String |
STARTTIME |
static java.lang.String |
STARTTIME_SHORT |
static java.lang.String |
UPDATEDAFTER |
static java.lang.String |
USGS_HOST |
DEFAULT_HOST, IRIS_HOST, NEWLINE, NO_DATA, nodata
Constructor and Description |
---|
FDSNEventQueryParams() |
FDSNEventQueryParams(java.lang.String host) |
Modifier and Type | Method and Description |
---|---|
FDSNEventQueryParams |
area(float minLat,
float maxLat,
float minLon,
float maxLon) |
FDSNEventQueryParams |
boxArea(BoxArea box) |
FDSNEventQueryParams |
clearCatalog() |
FDSNEventQueryParams |
clearContributor() |
FDSNEventQueryParams |
clearEndTime() |
FDSNEventQueryParams |
clearEventid() |
FDSNEventQueryParams |
clearIncludeAllMagnitudes() |
FDSNEventQueryParams |
clearIncludeAllOrigins() |
FDSNEventQueryParams |
clearIncludeArrivals() |
FDSNEventQueryParams |
clearLatitude() |
FDSNEventQueryParams |
clearLimit() |
FDSNEventQueryParams |
clearLongitude() |
FDSNEventQueryParams |
clearMagnitudeType() |
FDSNEventQueryParams |
clearMaxDepth() |
FDSNEventQueryParams |
clearMaxLatitude() |
FDSNEventQueryParams |
clearMaxLongitude() |
FDSNEventQueryParams |
clearMaxMagnitude() |
FDSNEventQueryParams |
clearMaxRadius() |
FDSNEventQueryParams |
clearMinDepth() |
FDSNEventQueryParams |
clearMinLatitude() |
FDSNEventQueryParams |
clearMinLongitude() |
FDSNEventQueryParams |
clearMinMagnitude() |
FDSNEventQueryParams |
clearMinRadius() |
FDSNEventQueryParams |
clearOffset() |
FDSNEventQueryParams |
clearOrderBy() |
FDSNEventQueryParams |
clearStartTime() |
FDSNEventQueryParams |
clearUpdatedAfter() |
FDSNEventQueryParams |
clone() |
FDSNEventQueryParams |
donut(DonutArea donut) |
java.lang.String |
getServiceName()
Service name as defined by the fdsn, ie event, station or dataselect.
|
FDSNEventQueryParams |
ring(float lat,
float lon,
float maxRadius) |
FDSNEventQueryParams |
setCatalog(java.lang.String value)
Limit to events from a specified catalog
|
FDSNEventQueryParams |
setContributor(java.lang.String value)
Limit to events contributed by a specified contributor.
|
FDSNEventQueryParams |
setEndTime(java.time.Instant value)
Limit to events on or before the specified end time.
|
FDSNEventQueryParams |
setEventid(java.lang.String value)
Select a specific event by ID; event identifiers are data center specific.
|
FDSNEventQueryParams |
setHost(java.lang.String host) |
FDSNEventQueryParams |
setIncludeAllMagnitudes(boolean value)
Specify if all magnitudes for the event should be included, default is data center dependent but is suggested to be the preferred magnitude only.
|
FDSNEventQueryParams |
setIncludeAllOrigins(boolean value)
Specify if all origins for the event should be included, default is data center dependent but is suggested to be the preferred origin only.
|
FDSNEventQueryParams |
setIncludeArrivals(boolean value)
Specify if phase arrivals should be included.
|
FDSNEventQueryParams |
setLatitude(float value)
Specify the latitude to be used for a radius search.
|
FDSNEventQueryParams |
setLimit(int value)
Limit the results to the specified number of events.
|
FDSNEventQueryParams |
setLongitude(float value)
Specify the longitude to the used for a radius search.
|
FDSNEventQueryParams |
setMagnitudeType(java.lang.String value)
Specify a magnitude type to use for testing the minimum and maximum limits.
|
FDSNEventQueryParams |
setMaxDepth(float value)
Limit to events with depth less than the specified maximum.
|
FDSNEventQueryParams |
setMaxLatitude(float value)
Limit to events with a latitude smaller than the specified maximum.
|
FDSNEventQueryParams |
setMaxLongitude(float value)
Limit to events with a longitude smaller than the specified maximum.
|
FDSNEventQueryParams |
setMaxMagnitude(float value)
Limit to events with a magnitude smaller than the specified maximum.
|
FDSNEventQueryParams |
setMaxRadius(float value)
Limit to events within the specified maximum number of degrees from the geographic point defined by the latitude and longitude parameters.
|
FDSNEventQueryParams |
setMinDepth(float value)
Limit to events with depth more than the specified minimum.
|
FDSNEventQueryParams |
setMinLatitude(float value)
Limit to events with a latitude larger than the specified minimum.
|
FDSNEventQueryParams |
setMinLongitude(float value)
Limit to events with a longitude larger than the specified minimum.
|
FDSNEventQueryParams |
setMinMagnitude(float value)
Limit to events with a magnitude larger than the specified minimum.
|
FDSNEventQueryParams |
setMinRadius(float value)
Limit to events within the specified minimum number of degrees from the geographic point defined by the latitude and longitude parameters.
|
FDSNEventQueryParams |
setOffset(int value)
Return results starting at the event count specified, starting at 1.
|
FDSNEventQueryParams |
setOrderBy(java.lang.String value)
Order the result by time or magnitude with the following possibilities: time: order by origin descending time time-asc : order by origin ascending time magnitude: order by descending magnitude magnitude-asc : order by ascending magnitude
|
FDSNEventQueryParams |
setPort(int port) |
FDSNEventQueryParams |
setStartTime(java.time.Instant value)
Limit to events on or after the specified start time.
|
FDSNEventQueryParams |
setUpdatedAfter(java.time.Instant value)
Limit to events updated after the specified time.
|
appendToParam, clear, clearParam, createDateFormat, formURI, getFDSNMajorVersion, getFdsnQueryStyle, getFdsnwsPath, getHost, getParam, getParams, getPort, getScheme, setBaseURL, setFdsnwsPath, setParam, setParam, setParam, setParam, setParam, setScheme
public static final java.lang.String STARTTIME
public static final java.lang.String STARTTIME_SHORT
public static final java.lang.String ENDTIME
public static final java.lang.String ENDTIME_SHORT
public static final java.lang.String MINLATITUDE
public static final java.lang.String MINLATITUDE_SHORT
public static final java.lang.String MAXLATITUDE
public static final java.lang.String MAXLATITUDE_SHORT
public static final java.lang.String MINLONGITUDE
public static final java.lang.String MINLONGITUDE_SHORT
public static final java.lang.String MAXLONGITUDE
public static final java.lang.String MAXLONGITUDE_SHORT
public static final java.lang.String LATITUDE
public static final java.lang.String LATITUDE_SHORT
public static final java.lang.String LONGITUDE
public static final java.lang.String LONGITUDE_SHORT
public static final java.lang.String MINRADIUS
public static final java.lang.String MAXRADIUS
public static final java.lang.String MINDEPTH
public static final java.lang.String MAXDEPTH
public static final java.lang.String MINMAGNITUDE
public static final java.lang.String MINMAGNITUDE_SHORT
public static final java.lang.String MAXMAGNITUDE
public static final java.lang.String MAXMAGNITUDE_SHORT
public static final java.lang.String MAGNITUDETYPE
public static final java.lang.String MAGNITUDETYPE_SHORT
public static final java.lang.String INCLUDEALLORIGINS
public static final java.lang.String INCLUDEALLMAGNITUDES
public static final java.lang.String INCLUDEARRIVALS
public static final java.lang.String EVENTID
public static final java.lang.String LIMIT
public static final java.lang.String OFFSET
public static final java.lang.String ORDERBY
public static final java.lang.String CATALOG
public static final java.lang.String CONTRIBUTOR
public static final java.lang.String UPDATEDAFTER
public static final java.lang.String USGS_HOST
public static final java.lang.String ISC_HOST
public static final java.lang.String ISC_MIRROR_HOST
public static final java.lang.String ORDER_TIME
public static final java.lang.String ORDER_TIME_ASC
public static final java.lang.String ORDER_MAGNITUDE
public static final java.lang.String ORDER_MAGNITUDE_ASC
public static final java.lang.String EVENT_SERVICE
public FDSNEventQueryParams()
public FDSNEventQueryParams(java.lang.String host)
public FDSNEventQueryParams clone()
clone
in class java.lang.Object
public FDSNEventQueryParams setHost(java.lang.String host)
public FDSNEventQueryParams setPort(int port)
public FDSNEventQueryParams clearStartTime()
public FDSNEventQueryParams setStartTime(java.time.Instant value)
value
- value to setpublic FDSNEventQueryParams clearEndTime()
public FDSNEventQueryParams setEndTime(java.time.Instant value)
value
- value to setpublic FDSNEventQueryParams clearMinLatitude()
public FDSNEventQueryParams setMinLatitude(float value)
value
- value to setpublic FDSNEventQueryParams clearMaxLatitude()
public FDSNEventQueryParams setMaxLatitude(float value)
value
- value to setpublic FDSNEventQueryParams clearMinLongitude()
public FDSNEventQueryParams setMinLongitude(float value)
value
- value to setpublic FDSNEventQueryParams clearMaxLongitude()
public FDSNEventQueryParams setMaxLongitude(float value)
value
- value to setpublic FDSNEventQueryParams clearLatitude()
public FDSNEventQueryParams setLatitude(float value)
value
- value to setpublic FDSNEventQueryParams clearLongitude()
public FDSNEventQueryParams setLongitude(float value)
value
- value to setpublic FDSNEventQueryParams clearMinRadius()
public FDSNEventQueryParams setMinRadius(float value)
value
- value to setpublic FDSNEventQueryParams clearMaxRadius()
public FDSNEventQueryParams setMaxRadius(float value)
value
- value to setpublic FDSNEventQueryParams clearMinDepth()
public FDSNEventQueryParams setMinDepth(float value)
value
- value to setpublic FDSNEventQueryParams clearMaxDepth()
public FDSNEventQueryParams setMaxDepth(float value)
value
- value to setpublic FDSNEventQueryParams clearMinMagnitude()
public FDSNEventQueryParams setMinMagnitude(float value)
value
- value to setpublic FDSNEventQueryParams clearMaxMagnitude()
public FDSNEventQueryParams setMaxMagnitude(float value)
value
- value to setpublic FDSNEventQueryParams clearMagnitudeType()
public FDSNEventQueryParams setMagnitudeType(java.lang.String value)
value
- value to setpublic FDSNEventQueryParams clearIncludeAllOrigins()
public FDSNEventQueryParams setIncludeAllOrigins(boolean value)
value
- value to setpublic FDSNEventQueryParams clearIncludeAllMagnitudes()
public FDSNEventQueryParams setIncludeAllMagnitudes(boolean value)
value
- value to setpublic FDSNEventQueryParams clearIncludeArrivals()
public FDSNEventQueryParams setIncludeArrivals(boolean value)
value
- value to setpublic FDSNEventQueryParams clearEventid()
public FDSNEventQueryParams setEventid(java.lang.String value)
value
- value to setpublic FDSNEventQueryParams clearLimit()
public FDSNEventQueryParams setLimit(int value)
value
- value to setpublic FDSNEventQueryParams clearOffset()
public FDSNEventQueryParams setOffset(int value)
value
- value to setpublic FDSNEventQueryParams clearOrderBy()
public FDSNEventQueryParams setOrderBy(java.lang.String value)
value
- value to setpublic FDSNEventQueryParams clearCatalog()
public FDSNEventQueryParams setCatalog(java.lang.String value)
value
- value to setpublic FDSNEventQueryParams clearContributor()
public FDSNEventQueryParams setContributor(java.lang.String value)
value
- value to setpublic FDSNEventQueryParams clearUpdatedAfter()
public FDSNEventQueryParams setUpdatedAfter(java.time.Instant value)
value
- value to setpublic FDSNEventQueryParams boxArea(BoxArea box)
public FDSNEventQueryParams area(float minLat, float maxLat, float minLon, float maxLon)
public FDSNEventQueryParams ring(float lat, float lon, float maxRadius)
public FDSNEventQueryParams donut(DonutArea donut)
public java.lang.String getServiceName()
AbstractQueryParams
getServiceName
in class AbstractQueryParams