Class DataBucket

java.lang.Object
org.nuxeo.ecm.core.bulk.message.DataBucket
All Implemented Interfaces:
Serializable

public class DataBucket extends Object implements Serializable
A generic message that contains a commandId and a number of processed docs
Since:
10.2
See Also:
  • Field Details

    • commandId

      protected String commandId
    • count

      protected long count
    • data

      protected byte[] data
  • Constructor Details

    • DataBucket

      protected DataBucket()
    • DataBucket

      public DataBucket(String commandId, long count, String data)
    • DataBucket

      public DataBucket(String commandId, long count, byte[] data)
    • DataBucket

      public DataBucket(String commandId, long count, String data, String header, String footer)
    • DataBucket

      public DataBucket(String commandId, long count, byte[] data, byte[] header, byte[] footer)
  • Method Details

    • getCommandId

      public String getCommandId()
    • getCount

      public long getCount()
    • getData

      public byte[] getData()
    • getHeader

      public byte[] getHeader()
    • getFooter

      public byte[] getFooter()
    • getDataAsString

      public String getDataAsString()
    • getHeaderAsString

      public String getHeaderAsString()
    • getFooterAsString

      public String getFooterAsString()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object