Package edu.sc.seis.seisFile.fdsnws
Class FDSNDataSelectQueryParams
java.lang.Object
edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
edu.sc.seis.seisFile.fdsnws.FDSNDataSelectQueryParams
- All Implemented Interfaces:
java.lang.Cloneable
public class FDSNDataSelectQueryParams 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.StringCHANNELstatic java.lang.StringCHANNEL_SHORTstatic java.lang.StringDATASELECT_SERVICEstatic java.lang.StringENDTIMEstatic java.lang.StringENDTIME_SHORTstatic java.lang.StringLOCATIONstatic java.lang.StringLOCATION_SHORTstatic java.lang.StringLONGESTONLYstatic java.lang.StringMINIMUMLENGTHstatic java.lang.StringNETWORKstatic java.lang.StringNETWORK_SHORTstatic java.lang.StringQUALITYstatic java.lang.StringSTARTTIMEstatic java.lang.StringSTARTTIME_SHORTstatic java.lang.StringSTATIONstatic java.lang.StringSTATION_SHORTFields inherited from class edu.sc.seis.seisFile.fdsnws.AbstractQueryParams
DEFAULT_HOST, IRIS_HOST, NEWLINE, NO_DATA, nodata -
Constructor Summary
Constructors Constructor Description FDSNDataSelectQueryParams()FDSNDataSelectQueryParams(java.lang.String host) -
Method Summary
Modifier and Type Method Description FDSNDataSelectQueryParamsappendToChannel(java.lang.String value)FDSNDataSelectQueryParamsappendToLocation(java.lang.String value)FDSNDataSelectQueryParamsappendToNetwork(java.lang.String value)FDSNDataSelectQueryParamsappendToStation(java.lang.String value)FDSNDataSelectQueryParamsclearChannel()FDSNDataSelectQueryParamsclearEndTime()FDSNDataSelectQueryParamsclearLocation()FDSNDataSelectQueryParamsclearLongestOnly()FDSNDataSelectQueryParamsclearMinimumLength()FDSNDataSelectQueryParamsclearNetwork()FDSNDataSelectQueryParamsclearQuality()FDSNDataSelectQueryParamsclearStartTime()FDSNDataSelectQueryParamsclearStation()FDSNDataSelectQueryParamsclone()java.util.List<ChannelTimeWindow>createChannelTimeWindow()Forms the list of ChannelTimeWindow for use in a POST request to the web service.java.lang.StringformPostString()java.lang.StringformPostString(java.util.List<ChannelTimeWindow> request)Forms the text for use in a POST request to the web service.java.lang.StringgetServiceName()Service name as defined by the fdsn, ie event, station or dataselect.FDSNDataSelectQueryParamssetChannel(java.lang.String[] value)Select one or more SEED channel codes.FDSNDataSelectQueryParamssetEndTime(java.time.Instant value)Limit results to time series samples on or before the specified end timeFDSNDataSelectQueryParamssetHost(java.lang.String host)FDSNDataSelectQueryParamssetLocation(java.lang.String[] value)Select one or more SEED location identifiers.FDSNDataSelectQueryParamssetLongestOnly(boolean value)Limit results to the longest continuous segment per channel.FDSNDataSelectQueryParamssetMinimumLength(int value)Limit results to continuous data segments of a minimum length specified in seconds.FDSNDataSelectQueryParamssetNetwork(java.lang.String[] value)Select one or more network codes.FDSNDataSelectQueryParamssetPort(int port)FDSNDataSelectQueryParamssetQuality(java.lang.String value)Select a specific SEED quality indicator, handling is data center dependent.FDSNDataSelectQueryParamssetStartTime(java.time.Instant value)Limit results to time series samples on or after the specified start timeFDSNDataSelectQueryParamssetStation(java.lang.String[] value)Select one or more SEED station codes.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
-
NETWORK
public static final java.lang.String NETWORK- See Also:
- Constant Field Values
-
NETWORK_SHORT
public static final java.lang.String NETWORK_SHORT- See Also:
- Constant Field Values
-
STATION
public static final java.lang.String STATION- See Also:
- Constant Field Values
-
STATION_SHORT
public static final java.lang.String STATION_SHORT- See Also:
- Constant Field Values
-
LOCATION
public static final java.lang.String LOCATION- See Also:
- Constant Field Values
-
LOCATION_SHORT
public static final java.lang.String LOCATION_SHORT- See Also:
- Constant Field Values
-
CHANNEL
public static final java.lang.String CHANNEL- See Also:
- Constant Field Values
-
CHANNEL_SHORT
public static final java.lang.String CHANNEL_SHORT- See Also:
- Constant Field Values
-
QUALITY
public static final java.lang.String QUALITY- See Also:
- Constant Field Values
-
MINIMUMLENGTH
public static final java.lang.String MINIMUMLENGTH- See Also:
- Constant Field Values
-
LONGESTONLY
public static final java.lang.String LONGESTONLY- See Also:
- Constant Field Values
-
DATASELECT_SERVICE
public static final java.lang.String DATASELECT_SERVICE- See Also:
- Constant Field Values
-
-
Constructor Details
-
FDSNDataSelectQueryParams
public FDSNDataSelectQueryParams() -
FDSNDataSelectQueryParams
public FDSNDataSelectQueryParams(java.lang.String host)
-
-
Method Details
-
clone
- Overrides:
clonein classjava.lang.Object
-
setHost
-
setPort
-
clearStartTime
-
setStartTime
Limit results to time series samples on or after the specified start time- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearEndTime
-
setEndTime
Limit results to time series samples on or before the specified end time- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearNetwork
-
setNetwork
Select one or more network codes. Can be SEED network codes or data center defined codes. Multiple codes are comma-separated. -
appendToNetwork
-
clearStation
-
setStation
Select one or more SEED station codes. Multiple codes are comma-separated. -
appendToStation
-
clearLocation
-
setLocation
Select one or more SEED location identifiers. Multiple identifiers are comma-separated. As a special case -- (two dashes) will be translated to a string of two space characters to match blank location IDs. -
appendToLocation
-
clearChannel
-
setChannel
Select one or more SEED channel codes. Multiple codes are comma-separated. -
appendToChannel
-
clearQuality
-
setQuality
Select a specific SEED quality indicator, handling is data center dependent.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearMinimumLength
-
setMinimumLength
Limit results to continuous data segments of a minimum length specified in seconds.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
clearLongestOnly
-
setLongestOnly
Limit results to the longest continuous segment per channel.- Parameters:
value- value to set- Returns:
- the queryParams for method chaining
-
createChannelTimeWindow
Forms the list of ChannelTimeWindow for use in a POST request to the web service. All possible combinations of Networks, Stations and Channels are combined with the start and end times to form the list of ChannelTimeWindow.- Returns:
- List of Channels paired with the time window
-
formPostString
public java.lang.String formPostString() -
formPostString
Forms the text for use in a POST request to the web service. Channel and time window are taken from the list of ChannelTimeWindow.- Returns:
-
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
-