org.das2.qstream.QDataSetStreamHandler

reads a stream and produces QDataSets representing the data found on the stream. The stream is read in, and then getDataSet or getDataSet(name) is called to retrieve datasets.


BUILDER_JOIN_CHILDREN


flattenJoin

flattenJoin( QDataSet ds ) → MutablePropertyDataSet

since an appended series of rank 1 datasets will return as a rank 2 join, this utility provides a standard place to flatten it. This will also flatten DEPENDNAME_0.

Parameters

ds - rank 2 or 3 join dataset.

Returns:

rank 1 or 2 dataset.

search for examples view on GitHub view source


getDataSetNames

getDataSetNames( ) → List

return a list of available datasets

Returns:

java.util.List

search for examples view on GitHub view source


getDataSetNamesAndDescriptions

getDataSetNamesAndDescriptions( ) → Map

return a list of available datasets and their label (or name if not available).

Returns:

java.util.Map

search for examples view on GitHub view source


isFlattenableJoin

isFlattenableJoin( QDataSet ds ) → boolean

If the dataset is a join of appendable datasets, then we can append them to reduce the rank by 1 and make one long time series. These datasets should be equivalent, however most of the system doesn't implement this (and probably never will). So this is a bit of a kludge, where I don't want to flatten a dataset automatically, but we probably want to.

Parameters

ds - a join dataset of rank 2 or rank 3.

Returns:

true if the data can be joined.

search for examples view on GitHub view source