Interface ContentClaim
- All Superinterfaces:
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 Summary
Modifier and TypeMethodDescriptionlong
long
Methods inherited from interface java.lang.Comparable
compareTo
-
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
-