Class ParameterizedQueryClientImpl
java.lang.Object
io.deephaven.query.parameterized.impl.ParameterizedQueryClientImpl
- All Implemented Interfaces:
Deflatable<ParameterizedQueryClientImpl>
,ContextAwareLiveWidget<ParameterizedQueryClientImpl>
,LiveWidget<ParameterizedQueryClientImpl>
public class ParameterizedQueryClientImpl
extends Object
implements ContextAwareLiveWidget<ParameterizedQueryClientImpl>
This is the client portion of the ParameterisedQuery widget. It is simply a vessel for the parameters
required to compute the query result.
-
Method Summary
Modifier and TypeMethodDescriptionapplyParameters
(Map<String, String[]> paramValues) deflate
(ExportedObjectClient client) Convert this object into an Inflatable suitable for serialization.fetchResult
(String name) getComponent
(AsyncPanel dataPanel, String viewId, Object view, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log) Gets the UI component.getName()
Gets the name of the Live Widget.gets the processor connection.int
Gets the session ID for console widgets.getTelemetryInfo
(String tableName) int
void
Sets the name of the Live Widget.void
setProcessorConnection
(QueryProcessorConnection processorConnection) Sets the processor connection.void
setSessionId
(int sessionId) Sets the session ID for console widgets.updateTelemetryInfo
(TelemetryLogger.TelemetryInfo telemetry) May be updated by an implementation to be aware of TelemetryInfoMethods 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
-
Method Details
-
getComponent
public JComponent getComponent(AsyncPanel dataPanel, String viewId, Object view, String title, Object irisWidgetSupportObject, com.fishlib.io.logger.Logger log) Description copied from interface:LiveWidget
Gets the UI component.- Specified by:
getComponent
in interfaceLiveWidget<ParameterizedQueryClientImpl>
- Parameters:
dataPanel
- data panelviewId
- view idview
- viewtitle
- titleirisWidgetSupportObject
- widget support objectlog
- log- Returns:
- UI component
-
updateTelemetryInfo
public LiveWidget<ParameterizedQueryClientImpl> updateTelemetryInfo(TelemetryLogger.TelemetryInfo telemetry) Description copied from interface:LiveWidget
May be updated by an implementation to be aware of TelemetryInfo- Specified by:
updateTelemetryInfo
in interfaceLiveWidget<ParameterizedQueryClientImpl>
- Parameters:
telemetry
- TelemetryInfo for the widget- Returns:
- this LiveWidget instance
-
getTelemetryInfo
-
getUniverseId
public int getUniverseId() -
getParams
-
applyParameters
-
fetchResult
- Throws:
IOException
-
setName
Description copied from interface:ContextAwareLiveWidget
Sets the name of the Live Widget.- Specified by:
setName
in interfaceContextAwareLiveWidget<ParameterizedQueryClientImpl>
- Parameters:
name
- the name of the Live Widget
-
getName
Description copied from interface:ContextAwareLiveWidget
Gets the name of the Live Widget.- Specified by:
getName
in interfaceContextAwareLiveWidget<ParameterizedQueryClientImpl>
- Returns:
- the name of the Live Widget
-
setProcessorConnection
Description copied from interface:ContextAwareLiveWidget
Sets the processor connection.- Specified by:
setProcessorConnection
in interfaceContextAwareLiveWidget<ParameterizedQueryClientImpl>
- Parameters:
processorConnection
- the processor connection
-
getProcessorConnection
Description copied from interface:ContextAwareLiveWidget
gets the processor connection.- Specified by:
getProcessorConnection
in interfaceContextAwareLiveWidget<ParameterizedQueryClientImpl>
- Returns:
- the processor connection
-
setSessionId
public void setSessionId(int sessionId) Description copied from interface:ContextAwareLiveWidget
Sets the session ID for console widgets.- Specified by:
setSessionId
in interfaceContextAwareLiveWidget<ParameterizedQueryClientImpl>
- Parameters:
sessionId
- the session ID
-
getSessionId
public int getSessionId()Description copied from interface:ContextAwareLiveWidget
Gets the session ID for console widgets.- Specified by:
getSessionId
in interfaceContextAwareLiveWidget<ParameterizedQueryClientImpl>
- Returns:
- the session ID
-
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
-