Class InflatableList<T>

java.lang.Object
com.illumon.iris.db.tables.remote.InflatableList<T>
Type Parameters:
T - the type of the object after inflation
All Implemented Interfaces:
Inflatable<List<T>>, Serializable

public class InflatableList<T> extends Object implements Inflatable<List<T>>
A list of inflatables; sent from the server to the client.
See Also:
  • Constructor Details

    • InflatableList

      public InflatableList(ExportedObjectClient client, List<? extends Deflatable<T>> deflatables)
      Creates an InflatableList by deflating the input list.
      Parameters:
      client - the client to perform deflation with
      deflatables - the list of deflatable objects
    • InflatableList

      public InflatableList(List<Inflatable<T>> inflatables)
      Creates an InflatableList from an underlying list of inflatables.
      Parameters:
      inflatables - the already deflated objects
  • Method Details

    • inflate

      public List<T> inflate(QueryProcessorConnection queryProcessorConnection)
      Description copied from interface: Inflatable
      Convert the inflatable into a local representation of the object. For example, Inflatable<Table> objects are converted into Table proxies.
      Specified by:
      inflate in interface Inflatable<T>
      Parameters:
      queryProcessorConnection - the queryProcessorConnection over which we received the Inflatable
      Returns:
      a local representation of the object