Class BarrageStreamReader
java.lang.Object
io.deephaven.extensions.barrage.util.BarrageStreamReader
- All Implemented Interfaces:
StreamReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsafelyParseFrom(StreamReaderOptions options, BitSet expectedColumns, ChunkType[] columnChunkTypes, Class<?>[] columnTypes, Class<?>[] componentTypes, InputStream stream) Converts an InputStream to a BarrageMessage in the context of the provided parameters.
-
Constructor Details
-
BarrageStreamReader
-
-
Method Details
-
safelyParseFrom
public BarrageMessage safelyParseFrom(StreamReaderOptions options, BitSet expectedColumns, ChunkType[] columnChunkTypes, Class<?>[] columnTypes, Class<?>[] componentTypes, InputStream stream) Description copied from interface:StreamReaderConverts an InputStream to a BarrageMessage in the context of the provided parameters.- Specified by:
safelyParseFromin interfaceStreamReader- Parameters:
options- the options related to parsing this messageexpectedColumns- the columns expected to appear in the stream, null implies all columnscolumnChunkTypes- the types to use for each column chunkcolumnTypes- the actual type for the columncomponentTypes- the actual component type for the columnstream- the input stream that holds the message to be parsed- Returns:
- a BarrageMessage filled out by the stream's payload
-