public class StreamDataSetDescriptor extends DataSetDescriptor
| Modifier and Type | Field and Description |
|---|---|
protected StandardDataStreamSource |
standardDataStreamSource |
properties| Modifier | Constructor and Description |
|---|---|
protected |
StreamDataSetDescriptor(java.util.Map properties)
Creates a new instance of
StreamDataSetDescriptor
from the specified file |
protected |
StreamDataSetDescriptor(java.util.Map properties,
boolean legacy) |
|
StreamDataSetDescriptor(StreamDescriptor sd,
StandardDataStreamSource sdss) |
| Modifier and Type | Method and Description |
|---|---|
protected DataSet |
getDataSetFromStream(java.io.InputStream in,
Datum start,
Datum end,
ProgressMonitor monitor) |
protected DataSet |
getDataSetImpl(Datum start,
Datum end,
Datum resolution,
ProgressMonitor monitor)
getDataSetImpl implements the getDataSet for this DataSetDescriptor implementation.
|
PacketDescriptor |
getDefaultPacketDescriptor() |
StandardDataStreamSource |
getStandardDataStreamSource() |
Units |
getXUnits() |
boolean |
isRestrictedAccess() |
boolean |
isServerSideReduction() |
protected byte[] |
readBytes(java.io.InputStream in)
Auxiliary method used by readDoubles(InputStream, Object, Datum, Datum);
Read data for the given start and end dates and returns an array of bytes
|
protected void |
setProperties(java.util.Map properties) |
protected void |
setProperties(java.util.Map properties,
boolean legacy) |
void |
setServerSideReduction(boolean x) |
void |
setStandardDataStreamSource(StandardDataStreamSource sdss) |
java.lang.String |
toString() |
addDataSetUpdateListener, create, drawListIcon, fireDataSetUpdateEvent, getDataSet, getDataSetCache, getDataSetID, getListIcon, getListLabel, getProperty, removeDataSetUpdateListener, requestDataSet, requestDataSet, reset, setDefaultCachingprotected StandardDataStreamSource standardDataStreamSource
protected StreamDataSetDescriptor(java.util.Map properties)
StreamDataSetDescriptor
from the specified fileproperties - the propertiesprotected StreamDataSetDescriptor(java.util.Map properties,
boolean legacy)
public StreamDataSetDescriptor(StreamDescriptor sd, StandardDataStreamSource sdss)
public Units getXUnits()
getXUnits in class DataSetDescriptorpublic void setStandardDataStreamSource(StandardDataStreamSource sdss)
public StandardDataStreamSource getStandardDataStreamSource()
protected final void setProperties(java.util.Map properties,
boolean legacy)
protected final void setProperties(java.util.Map properties)
setProperties in class DataSetDescriptorprotected byte[] readBytes(java.io.InputStream in)
throws DasException
in - the sourceDasException - If there is an error getting data from the readerpublic java.lang.String toString()
toString in class java.lang.Objectprotected DataSet getDataSetImpl(Datum start, Datum end, Datum resolution, ProgressMonitor monitor) throws DasException
DataSetDescriptorgetDataSetImpl in class DataSetDescriptorstart - beginning of range for the request.end - end of the range for the request.resolution - the resolution requirement for the reqeust. null may be used to request the finest resolution available or intrinic resolution.DasExceptionprotected DataSet getDataSetFromStream(java.io.InputStream in, Datum start, Datum end, ProgressMonitor monitor) throws DasException
DasExceptionpublic boolean isRestrictedAccess()
public void setServerSideReduction(boolean x)
public boolean isServerSideReduction()
public PacketDescriptor getDefaultPacketDescriptor()