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 Details

    • inflate

      TYPE inflate​(QueryProcessorConnection queryProcessorConnection)
      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

      static Object maybeInflate​(Object value, QueryProcessorConnection queryProcessorConnection)
      If value is an Inflatable, then inflate it.
      Parameters:
      value - the value to inflate
      queryProcessorConnection - the queryProcessorConnection over which we received the Inflatable
      Returns:
      the inflated value if value was Inflatable, otherwise the original value