@NotThreadSafe public final class BlockWorkerDataReader extends Object implements DataReader
GrpcDataReader
except that all communication with the local worker is via internal method call
instead of external RPC frameworks.Modifier and Type | Class and Description |
---|---|
static class |
BlockWorkerDataReader.Factory
Factory class to create
BlockWorkerDataReader s. |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
pos() |
DataBuffer |
readChunk()
Reads a chunk.
|
public DataBuffer readChunk() throws IOException
DataReader
readChunk
in interface DataReader
IOException
public long pos()
pos
in interface DataReader
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2023. All Rights Reserved.