-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Rewrite JS API to share server implementation of Flight/Bar…
…rage (#5890) Rewrites JS API Flight/Barrage to share code as much as possible with the JVM client/server implementation. Some classes are effectively copied with minor updates to function in the browser, such as WebBarrageStreamReader. Others offer alternative implementations to generic interfaces, like WebChunkReaderFactory. Finally, super source is added to handle classes in Deephaven, gRPC, and Java itself, to allow use of those types in the browser. Notably, JS clients subscriptions are now the same implementation for both viewports and full table subscriptions. This change may degrade performance of viewports in some case relative to previous versions. To help mitigate this, in certain cases the configuration property `web.flattenViewport` may improve things. This lets the server instruct all clients to flatten their tables before subscribing. Fixes #188 Fixes #186
- Loading branch information
Showing
185 changed files
with
6,875 additions
and
15,379 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<module> | ||
<source path="" includes="MathUtil.java" /> | ||
<source path="verify" /> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<module> | ||
<source path="streams" includes="ByteBufferInputStream.java" /> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<module> | ||
<inherits name="io.deephaven.base.Base" /> | ||
<source path="util" includes="SafeCloseable.java,SimpleTypeMap.java,QueryConstants.java,BooleanUtils.java" /> | ||
<source path="util/type" includes="ArrayTypeUtils.java,TypeUtils.java" /> | ||
<source path="util/codec" includes="ObjectDecoder.java" /> | ||
<source path="util/datastructures" includes="LongAbortableConsumer.java,LongRangeAbortableConsumer.java,LongRangeIterator.java,LongRangeConsumer.java,LongSizedDataStructure.java,SizeException.java,SegmentedSoftPool.java" /> | ||
<source path="util/mutable" /> | ||
<source path="util/compare" /> | ||
<source path="" includes="UncheckedDeephavenException.java" /> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
engine/chunk/src/main/resources/io/deephaven/chunk/Chunk.gwt.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<module> | ||
<inherits name="io.deephaven.base.Base" /> | ||
<inherits name="io.deephaven.Util" /> | ||
<source path="" /> | ||
<source path="util/pools" excludes="ChunkPoolReleaseTracking.java" /> | ||
</module> |
3 changes: 3 additions & 0 deletions
3
engine/primitive/src/main/resources/io/deephaven/engine/primitive/function/Function.gwt.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<module> | ||
<source path="" /> | ||
</module> |
14 changes: 14 additions & 0 deletions
14
extensions/barrage/src/main/resources/io/deephaven/extensions/barrage/Barrage.gwt.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<module> | ||
<inherits name="io.deephaven.chunk.Chunk" /> | ||
<inherits name="io.deephaven.engine.primitive.function.Function" /> | ||
<inherits name="io.grpc.Grpc" /> | ||
<source path="" includes="BarrageSnapshotOptions.java,BarrageSubscriptionOptions.java,ColumnConversionMode.java,ImmutableBarrageSnapshotOptions.java,ImmutableBarrageSubscriptionOptions.java,DrainableByteArrayInputStream.java" /> | ||
<source path="util" includes="StreamReaderOptions.java,FlatBufferIteratorAdapter.java,DefensiveDrainable.java,DefensiveCapture.java,ExposedByteArrayOutputStream.java" /> | ||
<source path="chunk"> | ||
<exclude name="vector/*" /> | ||
<exclude name="VectorChunkInputStreamGenerator.java" /> | ||
<exclude name="VectorChunkReader.java" /> | ||
<exclude name="DefaultChunkReadingFactory.java" /> | ||
<exclude name="DefaultChunkInputStreamGeneratorFactory.java" /> | ||
</source> | ||
</module> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.