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 TypeMethodDescriptionbooleanstatic @Nullable RowSetgetColumns(io.deephaven.barrage.flatbuf.BarrageSubscriptionRequest subscriptionRequest) Helper to retrieve the viewport columns from a subscription request.intpriority()voidsnapshot(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:
priorityin interfaceExchangeMarshaller
-
accept
- Specified by:
acceptin 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:
snapshotin 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:
subscribein interfaceExchangeMarshaller
-
getColumns
@Nullable public static @Nullable RowSet getColumns(io.deephaven.barrage.flatbuf.BarrageSubscriptionRequest subscriptionRequest) Helper to retrieve the viewport columns from a subscription request.
-