Class WaveformLocalClient
java.lang.Object
gov.llnl.gnem.apps.coda.calibration.standalone.data.client.WaveformLocalClient
- All Implemented Interfaces:
WaveformClient
-
Constructor Summary
ConstructorDescriptionWaveformLocalClient
(WaveformService service, WaveformPickService pickService, SyntheticService synthService, GeometryService geometryService) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<String>
reactor.core.publisher.Flux<Waveform>
reactor.core.publisher.Flux<Waveform>
reactor.core.publisher.Flux<Waveform>
reactor.core.publisher.Flux<Waveform>
reactor.core.publisher.Mono<SyntheticCoda>
reactor.core.publisher.Flux<SyntheticCoda>
reactor.core.publisher.Flux<Waveform>
reactor.core.publisher.Mono<Waveform>
reactor.core.publisher.Flux<Waveform>
reactor.core.publisher.Flux<Waveform>
reactor.core.publisher.Mono<Waveform>
postWaveform
(Waveform segment) reactor.core.publisher.Flux<String>
postWaveforms
(Long sessionId, List<Waveform> segments) reactor.core.publisher.Flux<String>
setWaveformsActiveByEventId
(String id, boolean active) reactor.core.publisher.Flux<String>
setWaveformsActiveByIds
(List<Long> selectedWaveforms, boolean active) reactor.core.publisher.Flux<String>
setWaveformsActiveByStationName
(String name, boolean active) reactor.core.publisher.Flux<String>
setWaveformsActiveByStationNameAndEventId
(String name, String id, boolean active) reactor.core.publisher.Flux<String>
setWaveformsActiveInsidePolygon
(boolean active) reactor.core.publisher.Flux<String>
setWaveformsActiveOutsidePolygon
(boolean active)
-
Constructor Details
-
WaveformLocalClient
@Autowired public WaveformLocalClient(WaveformService service, WaveformPickService pickService, SyntheticService synthService, GeometryService geometryService)
-
-
Method Details
-
getWaveformFromId
- Specified by:
getWaveformFromId
in interfaceWaveformClient
-
getSyntheticFromWaveformId
- Specified by:
getSyntheticFromWaveformId
in interfaceWaveformClient
-
postWaveform
public reactor.core.publisher.Mono<Waveform> postWaveform(Waveform segment) throws com.fasterxml.jackson.core.JsonProcessingException - Specified by:
postWaveform
in interfaceWaveformClient
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
postWaveforms
- Specified by:
postWaveforms
in interfaceWaveformClient
-
getAllStacks
- Specified by:
getAllStacks
in interfaceWaveformClient
-
getAllActiveStacks
- Specified by:
getAllActiveStacks
in interfaceWaveformClient
-
getUniqueEventStationMetadataForStacks
- Specified by:
getUniqueEventStationMetadataForStacks
in interfaceWaveformClient
-
getWaveformsFromIds
- Specified by:
getWaveformsFromIds
in interfaceWaveformClient
-
getWaveformMetadataFromIds
- Specified by:
getWaveformMetadataFromIds
in interfaceWaveformClient
-
getSyntheticsFromWaveformIds
public reactor.core.publisher.Flux<SyntheticCoda> getSyntheticsFromWaveformIds(Collection<Long> ids) - Specified by:
getSyntheticsFromWaveformIds
in interfaceWaveformClient
-
setWaveformsActiveByIds
public reactor.core.publisher.Flux<String> setWaveformsActiveByIds(List<Long> selectedWaveforms, boolean active) - Specified by:
setWaveformsActiveByIds
in interfaceWaveformClient
-
setWaveformsActiveByEventId
- Specified by:
setWaveformsActiveByEventId
in interfaceWaveformClient
-
setWaveformsActiveByStationName
public reactor.core.publisher.Flux<String> setWaveformsActiveByStationName(String name, boolean active) - Specified by:
setWaveformsActiveByStationName
in interfaceWaveformClient
-
setWaveformsActiveByStationNameAndEventId
public reactor.core.publisher.Flux<String> setWaveformsActiveByStationNameAndEventId(String name, String id, boolean active) - Specified by:
setWaveformsActiveByStationNameAndEventId
in interfaceWaveformClient
-
clearAutoPicks
- Specified by:
clearAutoPicks
in interfaceWaveformClient
-
setWaveformsActiveOutsidePolygon
- Specified by:
setWaveformsActiveOutsidePolygon
in interfaceWaveformClient
-
setWaveformsActiveInsidePolygon
- Specified by:
setWaveformsActiveInsidePolygon
in interfaceWaveformClient
-