Interface ContentClaim

All Superinterfaces:
Comparable<ContentClaim>

public interface ContentClaim extends Comparable<ContentClaim>

A reference to a section of a ResourceClaim, which may or may not encompass the entire ResourceClaim. Multiple FlowFiles may reference the same content by both having the same content claim.

Must be thread safe

  • Method Details

    • getResourceClaim

      ResourceClaim getResourceClaim()
      Returns:
      the ResourceClaim that this ContentClaim references
    • getOffset

      long getOffset()
      Returns:
      the offset into the ResourceClaim where the content for this claim begins
    • getLength

      long getLength()
      Returns:
      the length of this ContentClaim