Class ParameterizedQueryServerImpl
java.lang.Object
io.deephaven.query.parameterized.impl.ParameterizedQueryServerImpl
- All Implemented Interfaces:
Deflatable<ParameterizedQueryClientImpl>
,LiveWidget<ParameterizedQueryClientImpl>
,LiveWidgetVisibilityProvider
,ParameterizedQueryWidgetMarker
,ParameterizedQuery
public class ParameterizedQueryServerImpl
extends Object
implements ParameterizedQuery, LiveWidget<ParameterizedQueryClientImpl>, ParameterizedQueryWidgetMarker, LiveWidgetVisibilityProvider
The primary implementation of a Parameterized query. It is split into two parts, the client impl and the server impl.
This keeps the client code isolated from the server code to reduce confusion.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
-
Method Summary
Modifier and TypeMethodDescriptionapplyAndUpdate
(Map<String, String[]> parameterValues, int universeId) Apply the specified parameter values to the session and retrieve the new set of computed results.deflate
(ExportedObjectClient client) Convert this object into an Inflatable suitable for serialization.String[]
Provide a list of groups which may view this widget.static SessionFetcher
setSessionFetcher
(SessionFetcher wrapper) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.db.tables.utils.LiveWidget
getComponent, getComponent, updateTelemetryInfo
-
Method Details
-
applyAndUpdate
Apply the specified parameter values to the session and retrieve the new set of computed results.- Parameters:
parameterValues
- the values of the parameters.universeId
- the universe ID for the invocation.- Returns:
- an
ApplyParametersQuery.Result
on success, containing the complete list of tables and widgetsan
Error
if the application failed for any reason.
-
setSessionFetcher
-
deflate
Description copied from interface:Deflatable
Convert this object into an Inflatable suitable for serialization.- Specified by:
deflate
in interfaceDeflatable<ParameterizedQueryClientImpl>
- Parameters:
client
- the ExportedObjectClient we are deflating for.- Returns:
- an Inflatable for serializing to the client
-
getValidGroups
Description copied from interface:LiveWidgetVisibilityProvider
Provide a list of groups which may view this widget. null indicates that there are no viewing restrictions on this widget.- Specified by:
getValidGroups
in interfaceLiveWidgetVisibilityProvider
- Returns:
- the list of groups which may view this widget, null for no restrictions
-