Package io.deephaven.extensions.barrage
Class BarrageStreamGeneratorImpl.RowSetGenerator
java.lang.Object
io.deephaven.extensions.barrage.BarrageStreamGeneratorImpl.ByteArrayGenerator
io.deephaven.extensions.barrage.BarrageStreamGeneratorImpl.RowSetGenerator
- All Implemented Interfaces:
SafeCloseable
,AutoCloseable
- Enclosing class:
- BarrageStreamGeneratorImpl
public static class BarrageStreamGeneratorImpl.RowSetGenerator
extends BarrageStreamGeneratorImpl.ByteArrayGenerator
implements SafeCloseable
-
Field Summary
Fields inherited from class io.deephaven.extensions.barrage.BarrageStreamGeneratorImpl.ByteArrayGenerator
len, raw
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
addToFlatBuffer
(RowSet viewport, com.google.flatbuffers.FlatBufferBuilder builder) Appends the intersection of the viewport and the originally provided RowSet.void
close()
protected void
Methods inherited from class io.deephaven.extensions.barrage.BarrageStreamGeneratorImpl.ByteArrayGenerator
addToFlatBuffer
-
Constructor Details
-
RowSetGenerator
- Throws:
IOException
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSafeCloseable
-
ensureComputed
- Specified by:
ensureComputed
in classBarrageStreamGeneratorImpl.ByteArrayGenerator
- Throws:
IOException
-
addToFlatBuffer
protected int addToFlatBuffer(RowSet viewport, com.google.flatbuffers.FlatBufferBuilder builder) throws IOException Appends the intersection of the viewport and the originally provided RowSet.- Parameters:
viewport
- the key-space version of the viewportbuilder
- the flatbuffer builder- Returns:
- offset of the item in the flatbuffer
- Throws:
IOException
-