public class HollowBlobReader
extends java.lang.Object
HollowReadStateEngine
, via the consumption
of snapshot and delta blobs.Constructor and Description |
---|
HollowBlobReader(HollowReadStateEngine stateEngine) |
HollowBlobReader(HollowReadStateEngine stateEngine,
HollowBlobHeaderReader headerReader) |
Modifier and Type | Method and Description |
---|---|
void |
applyDelta(java.io.InputStream is)
Update the state engine using a delta (or reverse delta) blob from the provided InputStream.
|
void |
readSnapshot(java.io.InputStream is)
Initialize the state engine using a snapshot blob from the provided InputStream.
|
void |
readSnapshot(java.io.InputStream is,
HollowFilterConfig filter)
Initialize the state engine using a snapshot blob from the provided InputStream.
|
public HollowBlobReader(HollowReadStateEngine stateEngine)
public HollowBlobReader(HollowReadStateEngine stateEngine, HollowBlobHeaderReader headerReader)
public void readSnapshot(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void readSnapshot(java.io.InputStream is, HollowFilterConfig filter) throws java.io.IOException
Apply the provided HollowFilterConfig
to the state.
java.io.IOException
public void applyDelta(java.io.InputStream is) throws java.io.IOException
If a HollowFilterConfig
was applied at the time the HollowReadStateEngine
was initialized
with a snapshot, it will continue to be in effect after the state is updated.
java.io.IOException