Package io.deephaven.pivot
Class PivotTableViewExchangeMarshaller
java.lang.Object
io.deephaven.pivot.PivotTableViewExchangeMarshaller
- All Implemented Interfaces:
ExchangeMarshaller
An ExchangeMarshaller for
PivotTableView
. Subscriptions are supported, with each subsequent update providing
a complete snapshot of the desired viewport. Snapshots are not permitted.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionboolean
static @Nullable RowSet
getColumns
(io.deephaven.barrage.flatbuf.BarrageSubscriptionRequest subscriptionRequest) Helper to retrieve the viewport columns from a subscription request.int
priority()
void
snapshot
(io.deephaven.barrage.flatbuf.BarrageSnapshotRequest snapshotRequest, BarrageSnapshotOptions options, Object export, BarragePerformanceLog.SnapshotMetricsHelper metrics, io.grpc.stub.StreamObserver<BarrageMessageWriter.MessageView> listener, String ticketLogName, BarrageMessageWriter.Factory streamGeneratorFactory) subscribe
(io.deephaven.barrage.flatbuf.BarrageSubscriptionRequest subscriptionRequest, BarrageSubscriptionOptions options, Object export, io.grpc.stub.StreamObserver<BarrageMessageWriter.MessageView> listener)
-
Constructor Details
-
PivotTableViewExchangeMarshaller
-
-
Method Details
-
priority
public int priority()- Specified by:
priority
in interfaceExchangeMarshaller
-
accept
- Specified by:
accept
in interfaceExchangeMarshaller
-
snapshot
public void snapshot(io.deephaven.barrage.flatbuf.BarrageSnapshotRequest snapshotRequest, BarrageSnapshotOptions options, Object export, BarragePerformanceLog.SnapshotMetricsHelper metrics, io.grpc.stub.StreamObserver<BarrageMessageWriter.MessageView> listener, String ticketLogName, BarrageMessageWriter.Factory streamGeneratorFactory) - Specified by:
snapshot
in interfaceExchangeMarshaller
-
subscribe
public ExchangeMarshaller.Subscription subscribe(io.deephaven.barrage.flatbuf.BarrageSubscriptionRequest subscriptionRequest, BarrageSubscriptionOptions options, Object export, io.grpc.stub.StreamObserver<BarrageMessageWriter.MessageView> listener) - Specified by:
subscribe
in interfaceExchangeMarshaller
-
getColumns
@Nullable public static @Nullable RowSet getColumns(io.deephaven.barrage.flatbuf.BarrageSubscriptionRequest subscriptionRequest) Helper to retrieve the viewport columns from a subscription request.
-