
@Singleton public class DataServer extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DataServer.ChannelMetadataList |
| Constructor and Description |
|---|
DataServer() |
| Modifier and Type | Method and Description |
|---|---|
protected Data |
exportRawData(long rawId,
long t1,
long t2) |
protected Data |
exportStatDataFromRaw(long rawId,
long t1,
long t2,
int nsamples) |
protected Data |
exportStatDataFromStat(long rawId,
long id,
long t1,
long t2,
int nsamples) |
protected long |
getAvailableRawData(long rawId,
long t1,
long t2) |
protected Map<StatDesc,Long> |
getAvailableStats(long rawId,
long t1,
long t2) |
DataChannel.DataChannelList |
getChannels() |
DataChannel.DataChannelList |
getChannels(String subsystemName) |
DataChannel[] |
getChannels(String partialPath,
int level) |
DataChannel[] |
getChannelsByKeywork(String keyword)
Return all available channels for a given keyword.
|
Data |
getData(long id,
long t1,
long t2,
String flavor,
int nbins) |
List<ChannelMetaData> |
getMetadata(int channelId) |
List<ChannelMetaData> |
getMetadata(int channelId,
long t1,
long t2) |
DataServer.ChannelMetadataList |
getMetadataList(long channelId) |
protected List<RawData> |
getRawData(long id,
long t1,
long t2) |
protected List<StatData> |
getStatData(long id,
long t1,
long t2) |
static void |
main(String[] args) |
public List<ChannelMetaData> getMetadata(int channelId)
public List<ChannelMetaData> getMetadata(int channelId, long t1, long t2)
public DataServer.ChannelMetadataList getMetadataList(long channelId)
public DataChannel.DataChannelList getChannels()
public DataChannel.DataChannelList getChannels(String subsystemName)
subsystemName - public DataChannel[] getChannels(String partialPath, int level)
partialPath - level - public DataChannel[] getChannelsByKeywork(String keyword)
keyword - protected long getAvailableRawData(long rawId,
long t1,
long t2)
protected Data exportRawData(long rawId, long t1, long t2)
protected Data exportStatDataFromRaw(long rawId, long t1, long t2, int nsamples)
protected Data exportStatDataFromStat(long rawId, long id, long t1, long t2, int nsamples)
public static void main(String[] args) throws IOException
IOExceptionCopyright © 2015 LSST. All rights reserved.