public class ReferenceContainerArray.BLOBReducer extends java.lang.Object implements BLOB.Reducer
Modifier and Type | Field and Description |
---|---|
(package private) ReferenceContainerArray.ContainerReducer<ReferenceType> |
rewriter |
(package private) byte[] |
wordHash |
Constructor and Description |
---|
ReferenceContainerArray.BLOBReducer(byte[] wordHash,
ReferenceContainerArray.ContainerReducer<ReferenceType> rewriter) |
Modifier and Type | Method and Description |
---|---|
byte[] |
rewrite(byte[] b)
a rewrite method that is used in the replace functionality of a BLOB
the result of such a rewrite must be always smaller or equal in size
of the input
|
ReferenceContainerArray.ContainerReducer<ReferenceType extends Reference> rewriter
byte[] wordHash
public ReferenceContainerArray.BLOBReducer(byte[] wordHash, ReferenceContainerArray.ContainerReducer<ReferenceType> rewriter)
public byte[] rewrite(byte[] b) throws SpaceExceededException
BLOB.Rewriter
rewrite
in interface BLOB.Rewriter
SpaceExceededException