Class SerializableIr

java.lang.Object
org.apache.beam.sdk.extensions.sbe.SerializableIr
All Implemented Interfaces:
Serializable

public final class SerializableIr extends Object implements Serializable
A wrapper around Ir that fulfils Java's Serializable contract.
See Also:
  • Method Details

    • fromIr

      public static SerializableIr fromIr(Ir ir)
      Creates a new instance from ir.
      Parameters:
      ir - the Ir to create the instance from
      Returns:
      a new SerializableIr that contains ir
    • ir

      public Ir ir()
      Returns the underlying Ir.

      Modifications made to the returned value, such as through Ir.addMessage(long, List), will be reflected in this instance.

      Returns:
      the underlying Ir