Package io.deephaven.extensions.barrage
Interface BarrageSubscriptionOptions.Builder
- Enclosing class:
- BarrageSubscriptionOptions
public static interface BarrageSubscriptionOptions.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbatchSize
(int batchSize) SeeStreamReaderOptions.batchSize()
for details.build()
columnConversionMode
(ColumnConversionMode columnConversionMode) Deprecated.Since 0.37.0 and is marked for removal.columnsAsList
(boolean columnsAsList) SeeStreamReaderOptions.columnsAsList()
for details.maxMessageSize
(int messageSize) SeeStreamReaderOptions.maxMessageSize()
for details.minUpdateIntervalMs
(int minUpdateIntervalMs) SeeBarrageSubscriptionOptions.minUpdateIntervalMs()
for details.previewListLengthLimit
(long previewListLengthLimit) SeeStreamReaderOptions.previewListLengthLimit()
for details.useDeephavenNulls
(boolean useDeephavenNulls) SeeStreamReaderOptions.useDeephavenNulls()
for details.
-
Method Details
-
useDeephavenNulls
SeeStreamReaderOptions.useDeephavenNulls()
for details.- Parameters:
useDeephavenNulls
- whether to use deephaven nulls- Returns:
- this builder
-
columnsAsList
SeeStreamReaderOptions.columnsAsList()
for details.- Parameters:
columnsAsList
- whether to wrap columns in a list to be compatible with native Flight clients- Returns:
- this builder
-
columnConversionMode
@FinalDefault @Deprecated default BarrageSubscriptionOptions.Builder columnConversionMode(ColumnConversionMode columnConversionMode) Deprecated.Since 0.37.0 and is marked for removal. (Note, GWT does not support encoding this context via annotation values.)The default conversion mode is to Stringify all objects that do not have a registered encoding. Column conversion modes are no longer supported.- Returns:
- this builder
-
minUpdateIntervalMs
SeeBarrageSubscriptionOptions.minUpdateIntervalMs()
for details.- Parameters:
minUpdateIntervalMs
- the update interval used to limit barrage message frequency- Returns:
- this builder
-
batchSize
SeeStreamReaderOptions.batchSize()
for details.- Parameters:
batchSize
- the ideal number of records to send per record batch- Returns:
- this builder
-
maxMessageSize
SeeStreamReaderOptions.maxMessageSize()
for details.- Parameters:
messageSize
- the maximum size of a GRPC message in bytes- Returns:
- this builder
-
previewListLengthLimit
SeeStreamReaderOptions.previewListLengthLimit()
for details.- Parameters:
previewListLengthLimit
- the magnitude of the number of elements to include in a preview list- Returns:
- this builder
-
build
BarrageSubscriptionOptions build()- Returns:
- a new BarrageSubscriptionOptions instance
-