@PublicEvolving public class StatePartitionStreamProvider extends Object
TODO use bounded stream that fail fast if the limit is exceeded on corrupted reads.
Constructor and Description |
---|
StatePartitionStreamProvider(InputStream stream) |
StatePartitionStreamProvider(IOException creationException) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getStream()
Returns a stream with the data of one state partition.
|
public StatePartitionStreamProvider(IOException creationException)
public StatePartitionStreamProvider(InputStream stream)
public InputStream getStream() throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.