public final class DataRecord extends Object implements Serializable
| Constructor and Description |
|---|
DataRecord(java.time.Instant startTime,
java.time.Duration duration,
String location,
Set<RecordFlag> flags,
List<ChannelDatum> channels)
Creates a new instance from the field values.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<ChannelDatum> |
getChannels()
Gets the channel data associated with this record.
|
java.time.Duration |
getDuration()
Gets the length of time for which data was collected for this record.
|
Set<RecordFlag> |
getFlags()
The device status flags for the record.
|
String |
getLocation()
Gets the location at which the record's data was taken.
|
java.time.Instant |
getStartTime()
Gets the time at which data collection was started for this record.
|
public DataRecord(java.time.Instant startTime,
java.time.Duration duration,
String location,
Set<RecordFlag> flags,
List<ChannelDatum> channels)
startTime - The start time. See (@link #getStartTime()}.duration - The duration. See getDuration().location - The location. See getLocation().flags - The record flags. See getFlags().channels - The channel data items. See getChannels().public java.time.Instant getStartTime()
public java.time.Duration getDuration()
public String getLocation()
public Set<RecordFlag> getFlags()
public java.util.stream.Stream<ChannelDatum> getChannels()
Copyright © 2016 LSST. All rights reserved.