Package edu.sc.seis.seisFile.fdsnws
Class FDSNEventQueryParams
java.lang.Object
edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
edu.sc.seis.seisFile.fdsnws.FDSNEventQueryParams
- All Implemented Interfaces:
java.lang.Cloneable
public class FDSNEventQueryParams extends AbstractQueryParams implements java.lang.Cloneable
Autogenerated by groovy FDSNQueryParamGenerator.groovy in src/metacode/groovy
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCATALOGstatic java.lang.StringCONTRIBUTORstatic java.lang.StringENDTIMEstatic java.lang.StringENDTIME_SHORTstatic java.lang.StringEVENT_SERVICEstatic java.lang.StringEVENTIDstatic java.lang.StringINCLUDEALLMAGNITUDESstatic java.lang.StringINCLUDEALLORIGINSstatic java.lang.StringINCLUDEARRIVALSstatic java.lang.StringISC_HOSTstatic java.lang.StringISC_MIRROR_HOSTstatic java.lang.StringLATITUDEstatic java.lang.StringLATITUDE_SHORTstatic java.lang.StringLIMITstatic java.lang.StringLONGITUDEstatic java.lang.StringLONGITUDE_SHORTstatic java.lang.StringMAGNITUDETYPEstatic java.lang.StringMAGNITUDETYPE_SHORTstatic java.lang.StringMAXDEPTHstatic java.lang.StringMAXLATITUDEstatic java.lang.StringMAXLATITUDE_SHORTstatic java.lang.StringMAXLONGITUDEstatic java.lang.StringMAXLONGITUDE_SHORTstatic java.lang.StringMAXMAGNITUDEstatic java.lang.StringMAXMAGNITUDE_SHORTstatic java.lang.StringMAXRADIUSstatic java.lang.StringMINDEPTHstatic java.lang.StringMINLATITUDEstatic java.lang.StringMINLATITUDE_SHORTstatic java.lang.StringMINLONGITUDEstatic java.lang.StringMINLONGITUDE_SHORTstatic java.lang.StringMINMAGNITUDEstatic java.lang.StringMINMAGNITUDE_SHORTstatic java.lang.StringMINRADIUSstatic java.lang.StringOFFSETstatic java.lang.StringORDER_MAGNITUDEmagnitude: order by descending magnitudestatic java.lang.StringORDER_MAGNITUDE_ASCmagnitude-asc : order by ascending magnitudestatic java.lang.StringORDER_TIMEtime: order by origin descending timestatic java.lang.StringORDER_TIME_ASCtime-asc : order by origin ascending timestatic java.lang.StringORDERBYstatic java.lang.StringSTARTTIMEstatic java.lang.StringSTARTTIME_SHORTstatic java.lang.StringUPDATEDAFTERstatic java.lang.StringUSGS_HOSTFields inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
DEFAULT_HOST, IRIS_HOST, NEWLINE, NO_DATA, nodata -
Constructor Summary
Constructors Constructor Description FDSNEventQueryParams()FDSNEventQueryParams(java.lang.String host) -
Method Summary
Modifier and Type Method Description FDSNEventQueryParamsarea(float minLat, float maxLat, float minLon, float maxLon)FDSNEventQueryParamsboxArea(BoxArea box)FDSNEventQueryParamsclearCatalog()FDSNEventQueryParamsclearContributor()FDSNEventQueryParamsclearEndTime()FDSNEventQueryParamsclearEventid()FDSNEventQueryParamsclearIncludeAllMagnitudes()FDSNEventQueryParamsclearIncludeAllOrigins()FDSNEventQueryParamsclearIncludeArrivals()FDSNEventQueryParamsclearLatitude()FDSNEventQueryParamsclearLimit()FDSNEventQueryParamsclearLongitude()FDSNEventQueryParamsclearMagnitudeType()FDSNEventQueryParamsclearMaxDepth()FDSNEventQueryParamsclearMaxLatitude()FDSNEventQueryParamsclearMaxLongitude()FDSNEventQueryParamsclearMaxMagnitude()FDSNEventQueryParamsclearMaxRadius()FDSNEventQueryParamsclearMinDepth()FDSNEventQueryParamsclearMinLatitude()FDSNEventQueryParamsclearMinLongitude()FDSNEventQueryParamsclearMinMagnitude()FDSNEventQueryParamsclearMinRadius()FDSNEventQueryParamsclearOffset()FDSNEventQueryParamsclearOrderBy()FDSNEventQueryParamsclearStartTime()FDSNEventQueryParamsclearUpdatedAfter()FDSNEventQueryParamsclone()FDSNEventQueryParamsdonut(DonutArea donut)java.lang.StringgetServiceName()Service name as defined by the fdsn, ie event, station or dataselect.FDSNEventQueryParamsring(float lat, float lon, float maxRadius)FDSNEventQueryParamssetCatalog(java.lang.String value)Limit to events from a specified catalogFDSNEventQueryParamssetContributor(java.lang.String value)Limit to events contributed by a specified contributor.FDSNEventQueryParamssetEndTime(java.time.Instant value)Limit to events on or before the specified end time.FDSNEventQueryParamssetEventid(java.lang.String value)Select a specific event by ID; event identifiers are data center specific.FDSNEventQueryParamssetHost(java.lang.String host)FDSNEventQueryParamssetIncludeAllMagnitudes(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.FDSNEventQueryParamssetIncludeAllOrigins(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.FDSNEventQueryParamssetIncludeArrivals(boolean value)Specify if phase arrivals should be included.FDSNEventQueryParamssetLatitude(float value)Specify the latitude to be used for a radius search.FDSNEventQueryParamssetLimit(int value)Limit the results to the specified number of events.FDSNEventQueryParamssetLongitude(float value)Specify the longitude to the used for a radius search.FDSNEventQueryParamssetMagnitudeType(java.lang.String value)Specify a magnitude type to use for testing the minimum and maximum limits.FDSNEventQueryParamssetMaxDepth(float value)Limit to events with depth less than the specified maximum.FDSNEventQueryParamssetMaxLatitude(float value)Limit to events with a latitude smaller than the specified maximum.FDSNEventQueryParamssetMaxLongitude(float value)Limit to events with a longitude smaller than the specified maximum.FDSNEventQueryParamssetMaxMagnitude(float value)Limit to events with a magnitude smaller than the specified maximum.FDSNEventQueryParamssetMaxRadius(float value)Limit to events within the specified maximum number of degrees from the geographic point defined by the latitude and longitude parameters.FDSNEventQueryParamssetMinDepth(float value)Limit to events with depth more than the specified minimum.FDSNEventQueryParamssetMinLatitude(float value)Limit to events with a latitude larger than the specified minimum.FDSNEventQueryParamssetMinLongitude(float value)Limit to events with a longitude larger than the specified minimum.FDSNEventQueryParamssetMinMagnitude(float value)Limit to events with a magnitude larger than the specified minimum.FDSNEventQueryParamssetMinRadius(float value)Limit to events within the specified minimum number of degrees from the geographic point defined by the latitude and longitude parameters.FDSNEventQueryParamssetOffset(int value)Return results starting at the event count specified, starting at 1.FDSNEventQueryParamssetOrderBy(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 magnitudeFDSNEventQueryParamssetPort(int port)FDSNEventQueryParamssetStartTime(java.time.Instant value)Limit to events on or after the specified start time.FDSNEventQueryParamssetUpdatedAfter(java.time.Instant value)Limit to events updated after the specified time.Methods inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
appendToParam, clear, clearParam, createDateFormat, formURI, getFDSNMajorVersion, getFdsnQueryStyle, getFdsnwsPath, getHost, getParam, getParams, getPort, getScheme, setBaseURL, setFdsnwsPath, setParam, setParam, setParam, setParam, setParam, setSchemeMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
STARTTIME
public static final java.lang.String STARTTIME- See Also:
- Constant Field Values
-
STARTTIME_SHORT
public static final java.lang.String STARTTIME_SHORT- See Also:
- Constant Field Values
-
ENDTIME
public static final java.lang.String ENDTIME- See Also:
- Constant Field Values
-
ENDTIME_SHORT
public static final java.lang.String ENDTIME_SHORT- See Also:
- Constant Field Values
-
MINLATITUDE
public static final java.lang.String MINLATITUDE- See Also:
- Constant Field Values
-
MINLATITUDE_SHORT
public static final java.lang.String MINLATITUDE_SHORT- See Also:
- Constant Field Values
-
MAXLATITUDE
public static final java.lang.String MAXLATITUDE- See Also:
- Constant Field Values
-
MAXLATITUDE_SHORT
public static final java.lang.String MAXLATITUDE_SHORT- See Also:
- Constant Field Values
-
MINLONGITUDE
public static final java.lang.String MINLONGITUDE- See Also:
- Constant Field Values
-
MINLONGITUDE_SHORT
public static final java.lang.String MINLONGITUDE_SHORT- See Also:
- Constant Field Values
-
MAXLONGITUDE
public static final java.lang.String MAXLONGITUDE- See Also:
- Constant Field Values
-
MAXLONGITUDE_SHORT
public static final java.lang.String MAXLONGITUDE_SHORT- See Also:
- Constant Field Values
-
LATITUDE
public static final java.lang.String LATITUDE- See Also:
- Constant Field Values
-
LATITUDE_SHORT
public static final java.lang.String LATITUDE_SHORT- See Also:
- Constant Field Values
-
LONGITUDE
public static final java.lang.String LONGITUDE- See Also:
- Constant Field Values
-
LONGITUDE_SHORT
public static final java.lang.String LONGITUDE_SHORT- See Also:
- Constant Field Values
-
MINRADIUS
public static final java.lang.String MINRADIUS- See Also:
- Constant Field Values
-
MAXRADIUS
public static final java.lang.String MAXRADIUS- See Also:
- Constant Field Values
-
MINDEPTH
public static final java.lang.String MINDEPTH- See Also:
- Constant Field Values
-
MAXDEPTH
public static final java.lang.String MAXDEPTH- See Also:
- Constant Field Values
-
MINMAGNITUDE
public static final java.lang.String MINMAGNITUDE- See Also:
- Constant Field Values
-
MINMAGNITUDE_SHORT
public static final java.lang.String MINMAGNITUDE_SHORT- See Also:
- Constant Field Values
-
MAXMAGNITUDE
public static final java.lang.String MAXMAGNITUDE- See Also:
- Constant Field Values
-
MAXMAGNITUDE_SHORT
public static final java.lang.String MAXMAGNITUDE_SHORT- See Also:
- Constant Field Values
-
MAGNITUDETYPE
public static final java.lang.String MAGNITUDETYPE- See Also:
- Constant Field Values
-
MAGNITUDETYPE_SHORT
public static final java.lang.String MAGNITUDETYPE_SHORT- See Also:
- Constant Field Values
-
INCLUDEALLORIGINS
public static final java.lang.String INCLUDEALLORIGINS- See Also:
- Constant Field Values
-
INCLUDEALLMAGNITUDES
public static final java.lang.String INCLUDEALLMAGNITUDES- See Also:
- Constant Field Values
-
INCLUDEARRIVALS
public static final java.lang.String INCLUDEARRIVALS- See Also:
- Constant Field Values
-
EVENTID
public static final java.lang.String EVENTID- See Also:
- Constant Field Values
-
LIMIT
public static final java.lang.String LIMIT- See Also:
- Constant Field Values
-
OFFSET
public static final java.lang.String OFFSET- See Also:
- Constant Field Values
-
ORDERBY
public static final java.lang.String ORDERBY- See Also:
- Constant Field Values
-
CATALOG
public static final java.lang.String CATALOG- See Also:
- Constant Field Values
-
CONTRIBUTOR
public static final java.lang.String CONTRIBUTOR- See Also:
- Constant Field Values
-
UPDATEDAFTER
public static final java.lang.String UPDATEDAFTER- See Also:
- Constant Field Values
-
USGS_HOST
public static final java.lang.String USGS_HOST- See Also:
- Constant Field Values
-
ISC_HOST
public static final java.lang.String ISC_HOST- See Also:
- Constant Field Values
-
ISC_MIRROR_HOST
public static final java.lang.String ISC_MIRROR_HOST- See Also:
- Constant Field Values
-
ORDER_TIME
public static final java.lang.String ORDER_TIMEtime: order by origin descending time- See Also:
- Constant Field Values
-
ORDER_TIME_ASC
public static final java.lang.String ORDER_TIME_ASCtime-asc : order by origin ascending time- See Also:
- Constant Field Values
-
ORDER_MAGNITUDE
public static final java.lang.String ORDER_MAGNITUDEmagnitude: order by descending magnitude- See Also:
- Constant Field Values
-
ORDER_MAGNITUDE_ASC
public static final java.lang.String ORDER_MAGNITUDE_ASCmagnitude-asc : order by ascending magnitude- See Also:
- Constant Field Values
-
EVENT_SERVICE
public static final java.lang.String EVENT_SERVICE- See Also:
- Constant Field Values
-
-
Constructor Details
-
FDSNEventQueryParams
public FDSNEventQueryParams() -
FDSNEventQueryParams
public FDSNEventQueryParams(java.lang.String host)
-
-
Method Details
-
clone
- Overrides:
clonein classjava.lang.Object
-
setHost
-
setPort
-
clearStartTime
-
setStartTime
Limit to events on or after the specified start time.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearEndTime
-
setEndTime
Limit to events on or before the specified end time.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMinLatitude
-
setMinLatitude
Limit to events with a latitude larger than the specified minimum.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMaxLatitude
-
setMaxLatitude
Limit to events with a latitude smaller than the specified maximum.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMinLongitude
-
setMinLongitude
Limit to events with a longitude larger than the specified minimum.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMaxLongitude
-
setMaxLongitude
Limit to events with a longitude smaller than the specified maximum.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearLatitude
-
setLatitude
Specify the latitude to be used for a radius search.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearLongitude
-
setLongitude
Specify the longitude to the used for a radius search.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMinRadius
-
setMinRadius
Limit to events within the specified minimum number of degrees from the geographic point defined by the latitude and longitude parameters.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMaxRadius
-
setMaxRadius
Limit to events within the specified maximum number of degrees from the geographic point defined by the latitude and longitude parameters.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMinDepth
-
setMinDepth
Limit to events with depth more than the specified minimum.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMaxDepth
-
setMaxDepth
Limit to events with depth less than the specified maximum.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMinMagnitude
-
setMinMagnitude
Limit to events with a magnitude larger than the specified minimum.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMaxMagnitude
-
setMaxMagnitude
Limit to events with a magnitude smaller than the specified maximum.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMagnitudeType
-
setMagnitudeType
Specify a magnitude type to use for testing the minimum and maximum limits.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearIncludeAllOrigins
-
setIncludeAllOrigins
Specify if all origins for the event should be included, default is data center dependent but is suggested to be the preferred origin only.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearIncludeAllMagnitudes
-
setIncludeAllMagnitudes
Specify if all magnitudes for the event should be included, default is data center dependent but is suggested to be the preferred magnitude only.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearIncludeArrivals
-
setIncludeArrivals
Specify if phase arrivals should be included.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearEventid
-
setEventid
Select a specific event by ID; event identifiers are data center specific.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearLimit
-
setLimit
Limit the results to the specified number of events.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearOffset
-
setOffset
Return results starting at the event count specified, starting at 1.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearOrderBy
-
setOrderBy
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- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearCatalog
-
setCatalog
Limit to events from a specified catalog- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearContributor
-
setContributor
Limit to events contributed by a specified contributor.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearUpdatedAfter
-
setUpdatedAfter
Limit to events updated after the specified time.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
boxArea
-
area
-
ring
-
donut
-
getServiceName
public java.lang.String getServiceName()Description copied from class:AbstractQueryParamsService name as defined by the fdsn, ie event, station or dataselect.- Specified by:
getServiceNamein classAbstractQueryParams
-