Package org.yamcs.client.archive
Class ArchiveClient
java.lang.Object
org.yamcs.client.archive.ArchiveClient
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
static final class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateTableLoader
(String table) dumpTable
(String table, StreamReceiver<Table.Row> consumer) getCommand
(String id) getRanges
(String parameter, Instant start, Instant stop, ArchiveClient.RangeOptions.RangeOption... options) getSamples
(String parameter, Instant start, Instant stop) listAlarms
(String parameter) listAlarms
(String alarmName, Instant start, Instant stop) listAlarms
(Instant start, Instant stop) listCommandIndex
(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) listCommands
(Instant start, Instant stop) listCompletenessIndex
(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) listEventIndex
(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) listEvents
(Instant start, Instant stop) listPacketIndex
(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) listParameterIndex
(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) listRecords
(String table) listValues
(String parameter, Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) listValues
(String parameter, ArchiveClient.ListOptions.ListOption... options) streamCommandIndex
(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop) streamCommands
(StreamReceiver<Command> consumer, Instant start, Instant stop, ArchiveClient.StreamOptions.StreamOption... options) streamCompletenessIndex
(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop) streamEventIndex
(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop) streamEvents
(StreamReceiver<Event> consumer, Instant start, Instant stop, ArchiveClient.StreamOptions.StreamOption... options) streamPacketIndex
(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop, ArchiveClient.StreamOptions.StreamOption... options) streamPackets
(StreamReceiver<TmPacketData> consumer, Instant start, Instant stop, ArchiveClient.StreamOptions.StreamOption... options) streamParameterIndex
(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop) streamValues
(List<String> parameters, List<String> tmLinks, StreamReceiver<Map<String, Pvalue.ParameterValue>> consumer, Instant start, Instant stop) streamValues
(List<String> parameters, StreamReceiver<Map<String, Pvalue.ParameterValue>> consumer, Instant start, Instant stop)
-
Constructor Details
-
ArchiveClient
-
-
Method Details
-
getInstance
-
listCommandIndex
public CompletableFuture<Page<IndexGroup>> listCommandIndex(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) -
listPacketIndex
public CompletableFuture<Page<IndexGroup>> listPacketIndex(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) -
listParameterIndex
public CompletableFuture<Page<IndexGroup>> listParameterIndex(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) -
listEventIndex
public CompletableFuture<Page<IndexGroup>> listEventIndex(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) -
listCompletenessIndex
public CompletableFuture<Page<IndexGroup>> listCompletenessIndex(Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) -
streamPacketIndex
public CompletableFuture<Void> streamPacketIndex(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop, ArchiveClient.StreamOptions.StreamOption... options) -
streamParameterIndex
public CompletableFuture<Void> streamParameterIndex(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop) -
streamCommandIndex
public CompletableFuture<Void> streamCommandIndex(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop) -
streamEventIndex
public CompletableFuture<Void> streamEventIndex(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop) -
streamCompletenessIndex
public CompletableFuture<Void> streamCompletenessIndex(StreamReceiver<Yamcs.ArchiveRecord> consumer, Instant start, Instant stop) -
listCommands
-
listCommands
-
getCommand
-
streamCommands
public CompletableFuture<Void> streamCommands(StreamReceiver<Command> consumer, Instant start, Instant stop, ArchiveClient.StreamOptions.StreamOption... options) -
listEvents
-
listEvents
-
streamEvents
public CompletableFuture<Void> streamEvents(StreamReceiver<Event> consumer, Instant start, Instant stop, ArchiveClient.StreamOptions.StreamOption... options) -
streamPackets
public CompletableFuture<Void> streamPackets(StreamReceiver<TmPacketData> consumer, Instant start, Instant stop, ArchiveClient.StreamOptions.StreamOption... options) -
streamValues
public CompletableFuture<Void> streamValues(List<String> parameters, StreamReceiver<Map<String, Pvalue.ParameterValue>> consumer, Instant start, Instant stop) -
streamValues
public CompletableFuture<Void> streamValues(List<String> parameters, List<String> tmLinks, StreamReceiver<Map<String, Pvalue.ParameterValue>> consumer, Instant start, Instant stop) -
listAlarms
-
listAlarms
-
listAlarms
-
listAlarms
-
listRecords
-
listValues
public CompletableFuture<Page<Pvalue.ParameterValue>> listValues(String parameter, ArchiveClient.ListOptions.ListOption... options) -
listValues
public CompletableFuture<Page<Pvalue.ParameterValue>> listValues(String parameter, Instant start, Instant stop, ArchiveClient.ListOptions.ListOption... options) -
getSamples
public CompletableFuture<List<Pvalue.TimeSeries.Sample>> getSamples(String parameter, Instant start, Instant stop) -
getRanges
public CompletableFuture<List<Pvalue.Ranges.Range>> getRanges(String parameter, Instant start, Instant stop, ArchiveClient.RangeOptions.RangeOption... options) -
getEventSources
-
dumpTable
-
createTableLoader
-