-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds InputTableService support for blink tables
This adds `TablePublisher#inputTable`, which adds a very simple InputTableUpdater implementation to the blink table. Also, some further simplifications in the spirit of #4923: `InputTableUpdater#getDescription`, `InputTableUpdater#getTable`, and `InputTableUpdater#canEdit` were removed to due no usages. Fixes #4915
- Loading branch information
1 parent
1d255d3
commit 9ce1783
Showing
14 changed files
with
789 additions
and
344 deletions.
There are no files selected for viewing
656 changes: 389 additions & 267 deletions
656
cpp-client/deephaven/dhclient/proto/deephaven/proto/table.pb.cc
Large diffs are not rendered by default.
Oops, something went wrong.
235 changes: 229 additions & 6 deletions
235
cpp-client/deephaven/dhclient/proto/deephaven/proto/table.pb.h
Large diffs are not rendered by default.
Oops, something went wrong.
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 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 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 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
Large diffs are not rendered by default.
Oops, something went wrong.
37 changes: 37 additions & 0 deletions
37
qst/src/main/java/io/deephaven/qst/table/BlinkInputTable.java
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,37 @@ | ||
/** | ||
* Copyright (c) 2016-2022 Deephaven Data Labs and Patent Pending | ||
*/ | ||
package io.deephaven.qst.table; | ||
|
||
import io.deephaven.annotations.NodeStyle; | ||
import org.immutables.value.Value.Default; | ||
import org.immutables.value.Value.Immutable; | ||
|
||
import java.util.List; | ||
import java.util.UUID; | ||
|
||
/** | ||
* Creates a blink input-table. | ||
*/ | ||
@Immutable | ||
@NodeStyle | ||
public abstract class BlinkInputTable extends InputTableBase { | ||
|
||
public static BlinkInputTable of(TableSchema schema) { | ||
return ImmutableBlinkInputTable.builder() | ||
.schema(schema) | ||
.build(); | ||
} | ||
|
||
public abstract TableSchema schema(); | ||
|
||
@Default | ||
UUID id() { | ||
return UUID.randomUUID(); | ||
} | ||
|
||
@Override | ||
public final <R> R walk(InputTable.Visitor<R> visitor) { | ||
return visitor.visit(this); | ||
} | ||
} |
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 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