Interface Inflatable<TYPE>
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
CustomAction.Descriptor
,DBPlot.LiveJFreeChartWrapper
,ExportedTableDescriptorMessage
,ExportedTableMapHandleManager.Descriptor
,FetchQuery.ViewportPair.Descriptor
,FigureWidget.Descriptor
,InflatableList
,RemoteInputTableDescriptor.InputTableFromServer
,RemoteInputTableDescriptor.MutableInputTableReference
public interface Inflatable<TYPE> extends Serializable
An Inflatable is the on-wire representation of a
Deflatable
object.-
Method Summary
Modifier and Type Method Description TYPE
inflate(QueryProcessorConnection queryProcessorConnection)
Convert the inflatable into a local representation of the object.static Object
maybeInflate(Object value, QueryProcessorConnection queryProcessorConnection)
If value is an Inflatable, then inflate it.
-
Method Details
-
inflate
Convert the inflatable into a local representation of the object. For example, Inflatable<Table> objects are converted into Table proxies.- Parameters:
queryProcessorConnection
- the queryProcessorConnection over which we received the Inflatable- Returns:
- a local representation of the object
-
maybeInflate
If value is an Inflatable, then inflate it.- Parameters:
value
- the value to inflatequeryProcessorConnection
- the queryProcessorConnection over which we received the Inflatable- Returns:
- the inflated value if value was Inflatable, otherwise the original value
-