public class QDataSetStreamHandler extends java.lang.Object implements StreamHandler
which reads into the old model.| Modifier and Type | Field and Description |
|---|---|
static java.lang.Object |
MODE_SPLIT_BY_NEW_PACKET_DESCRIPTOR |
static java.lang.Object |
MODE_SPLIT_BY_PACKET_DESCRIPTOR |
| Constructor and Description |
|---|
QDataSetStreamHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
collectDataSet()
TODO: mission statement
|
void |
createBuilders(PacketDescriptor pd) |
QDataSet |
getDataSet()
return the dataset collected by the handler, or null if no records have been received.
|
void |
packet(PacketDescriptor pd,
Datum xTag,
DatumVector[] vectors) |
void |
packetDescriptor(PacketDescriptor pd) |
void |
setMonitor(ProgressMonitor monitor) |
void |
streamClosed(StreamDescriptor sd) |
void |
streamComment(StreamComment sc) |
void |
streamDescriptor(StreamDescriptor sd) |
void |
streamException(StreamException se) |
public static final java.lang.Object MODE_SPLIT_BY_PACKET_DESCRIPTOR
public static final java.lang.Object MODE_SPLIT_BY_NEW_PACKET_DESCRIPTOR
public void setMonitor(ProgressMonitor monitor)
public void streamDescriptor(StreamDescriptor sd) throws StreamException
streamDescriptor in interface StreamHandlerStreamExceptionpublic void packetDescriptor(PacketDescriptor pd) throws StreamException
packetDescriptor in interface StreamHandlerStreamExceptionpublic void packet(PacketDescriptor pd, Datum xTag, DatumVector[] vectors) throws StreamException
packet in interface StreamHandlerStreamExceptionpublic void streamClosed(StreamDescriptor sd) throws StreamException
streamClosed in interface StreamHandlerStreamExceptionpublic void streamException(StreamException se) throws StreamException
streamException in interface StreamHandlerStreamExceptionpublic void streamComment(StreamComment sc) throws StreamException
streamComment in interface StreamHandlerStreamExceptionpublic void createBuilders(PacketDescriptor pd)
public void collectDataSet()
public QDataSet getDataSet()