Class AbstractTransientBlobComputation

java.lang.Object
org.nuxeo.lib.stream.computation.AbstractComputation
org.nuxeo.ecm.core.bulk.action.computation.AbstractTransientBlobComputation
All Implemented Interfaces:
Computation
Direct Known Subclasses:
ExposeBlob, MakeBlob, SortBlob, ZipBlob

public abstract class AbstractTransientBlobComputation extends AbstractComputation
Since:
10.3
  • Field Details

    • temp

      protected Path temp
    • id

      protected String id
  • Constructor Details

    • AbstractTransientBlobComputation

      public AbstractTransientBlobComputation(String name)
    • AbstractTransientBlobComputation

      public AbstractTransientBlobComputation(String name, int nbOutputStreams)
  • Method Details

    • init

      public void init(ComputationContext context)
      Description copied from interface: Computation
      Called when the framework has registered the computation successfully. Gives users a first opportunity to schedule timer callbacks and produce records. This method can be called multiple times.
      Specified by:
      init in interface Computation
      Overrides:
      init in class AbstractComputation
      Parameters:
      context - The computation context object provided by the system.
    • getTransientStoreKey

      protected String getTransientStoreKey(String commandId)
    • getBlob

      public Blob getBlob(String key, String storeName)
    • storeBlob

      protected void storeBlob(Blob blob, String commandId, String storeName)
    • createTemp

      protected Path createTemp(String commandId)