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 classstatic 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 SessionFetchersetSessionFetcher(SessionFetcher wrapper) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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.Resulton success, containing the complete list of tables and widgetsan
Errorif the application failed for any reason.
-
setSessionFetcher
-
deflate
Description copied from interface:DeflatableConvert this object into an Inflatable suitable for serialization.- Specified by:
deflatein interfaceDeflatable<ParameterizedQueryClientImpl>- Parameters:
client- the ExportedObjectClient we are deflating for.- Returns:
- an Inflatable for serializing to the client
-
getValidGroups
Description copied from interface:LiveWidgetVisibilityProviderProvide a list of groups which may view this widget. null indicates that there are no viewing restrictions on this widget.- Specified by:
getValidGroupsin interfaceLiveWidgetVisibilityProvider- Returns:
- the list of groups which may view this widget, null for no restrictions
-