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 |
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 |
LATITUDE |
static java.lang.String |
LIMIT |
static java.lang.String |
LONGITUDE |
static java.lang.String |
MAGNITUDETYPE |
static java.lang.String |
MAXDEPTH |
static java.lang.String |
MAXLATITUDE |
static java.lang.String |
MAXLONGITUDE |
static java.lang.String |
MAXMAGNITUDE |
static java.lang.String |
MAXRADIUS |
static java.lang.String |
MINDEPTH |
static java.lang.String |
MINLATITUDE |
static java.lang.String |
MINLONGITUDE |
static java.lang.String |
MINMAGNITUDE |
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 |
UPDATEDAFTER |
IRIS_HOST
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 |
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(float lat,
float lon,
float minRadius,
float maxRadius) |
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.util.Date 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) |
FDSNEventQueryParams |
setIncludeAllMagnitudes(java.lang.String 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 |
setStartTime(java.util.Date value)
Limit to events on or after the specified start time.
|
FDSNEventQueryParams |
setUpdatedAfter(java.util.Date value)
Limit to events updated after the specified time.
|
appendToParam, clear, clearParam, createDateFormat, formURI, getFdsnwsPath, getHost, getParam, getParams, setFdsnwsPath, setParam, setParam, setParam, setParam, setParam, setPort, setScheme
public static final java.lang.String STARTTIME
public static final java.lang.String ENDTIME
public static final java.lang.String MINLATITUDE
public static final java.lang.String MAXLATITUDE
public static final java.lang.String MINLONGITUDE
public static final java.lang.String MAXLONGITUDE
public static final java.lang.String LATITUDE
public static final java.lang.String LONGITUDE
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 MAXMAGNITUDE
public static final java.lang.String MAGNITUDETYPE
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 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 setStartTime(java.util.Date value)
public FDSNEventQueryParams clearStartTime()
public FDSNEventQueryParams setEndTime(java.util.Date value)
public FDSNEventQueryParams clearEndTime()
public FDSNEventQueryParams setMinLatitude(float value)
public FDSNEventQueryParams clearMinLatitude()
public FDSNEventQueryParams setMaxLatitude(float value)
public FDSNEventQueryParams clearMaxLatitude()
public FDSNEventQueryParams setMinLongitude(float value)
public FDSNEventQueryParams clearMinLongitude()
public FDSNEventQueryParams setMaxLongitude(float value)
public FDSNEventQueryParams clearMaxLongitude()
public FDSNEventQueryParams setLatitude(float value)
public FDSNEventQueryParams clearLatitude()
public FDSNEventQueryParams setLongitude(float value)
public FDSNEventQueryParams clearLongitude()
public FDSNEventQueryParams setMinRadius(float value)
public FDSNEventQueryParams clearMinRadius()
public FDSNEventQueryParams setMaxRadius(float value)
public FDSNEventQueryParams clearMaxRadius()
public FDSNEventQueryParams setMinDepth(float value)
public FDSNEventQueryParams clearMinDepth()
public FDSNEventQueryParams setMaxDepth(float value)
public FDSNEventQueryParams clearMaxDepth()
public FDSNEventQueryParams setMinMagnitude(float value)
public FDSNEventQueryParams clearMinMagnitude()
public FDSNEventQueryParams setMaxMagnitude(float value)
public FDSNEventQueryParams clearMaxMagnitude()
public FDSNEventQueryParams setMagnitudeType(java.lang.String value)
public FDSNEventQueryParams clearMagnitudeType()
public FDSNEventQueryParams setIncludeAllOrigins(boolean value)
public FDSNEventQueryParams clearIncludeAllOrigins()
public FDSNEventQueryParams setIncludeAllMagnitudes(java.lang.String value)
public FDSNEventQueryParams setIncludeAllMagnitudes(boolean value)
public FDSNEventQueryParams clearIncludeAllMagnitudes()
public FDSNEventQueryParams setIncludeArrivals(boolean value)
public FDSNEventQueryParams clearIncludeArrivals()
public FDSNEventQueryParams setEventid(java.lang.String value)
public FDSNEventQueryParams clearEventid()
public FDSNEventQueryParams setLimit(int value)
public FDSNEventQueryParams clearLimit()
public FDSNEventQueryParams setOffset(int value)
public FDSNEventQueryParams clearOffset()
public FDSNEventQueryParams setOrderBy(java.lang.String value)
public FDSNEventQueryParams clearOrderBy()
public FDSNEventQueryParams setCatalog(java.lang.String value)
public FDSNEventQueryParams clearCatalog()
public FDSNEventQueryParams setContributor(java.lang.String value)
public FDSNEventQueryParams clearContributor()
public FDSNEventQueryParams setUpdatedAfter(java.util.Date value)
public FDSNEventQueryParams clearUpdatedAfter()
public FDSNEventQueryParams area(float minLat, float maxLat, float minLon, float maxLon)
public FDSNEventQueryParams ring(float lat, float lon, float maxRadius)
public FDSNEventQueryParams donut(float lat, float lon, float minRadius, float maxRadius)
public java.lang.String getServiceName()
AbstractQueryParams
getServiceName
in class AbstractQueryParams