public class FileChannelUtil extends Object
Constructor and Description |
---|
FileChannelUtil() |
Modifier and Type | Method and Description |
---|---|
static BlockChannelReader<MemorySegment> |
createBlockChannelReader(IOManager ioManager,
FileIOChannel.ID channel,
LinkedBlockingQueue<MemorySegment> bufferReturnQueue,
boolean compressionEnable,
BlockCompressionFactory compressionCodecFactory,
int compressionBlockSize,
int segmentSize) |
static BlockChannelWriter<MemorySegment> |
createBlockChannelWriter(IOManager ioManager,
FileIOChannel.ID channel,
LinkedBlockingQueue<MemorySegment> bufferReturnQueue,
boolean compressionEnable,
BlockCompressionFactory compressionCodecFactory,
int compressionBlockSize,
int segmentSize) |
static AbstractChannelReaderInputView |
createInputView(IOManager ioManager,
ChannelWithMeta channel,
List<FileIOChannel> channels,
boolean compressionEnabled,
BlockCompressionFactory compressionCodecFactory,
int compressionBlockSize,
int segmentSize) |
static AbstractChannelWriterOutputView |
createOutputView(IOManager ioManager,
FileIOChannel.ID channel,
boolean compressionEnabled,
BlockCompressionFactory compressionCodecFactory,
int compressionBlockSize,
int segmentSize) |
public static AbstractChannelReaderInputView createInputView(IOManager ioManager, ChannelWithMeta channel, List<FileIOChannel> channels, boolean compressionEnabled, BlockCompressionFactory compressionCodecFactory, int compressionBlockSize, int segmentSize) throws IOException
IOException
public static AbstractChannelWriterOutputView createOutputView(IOManager ioManager, FileIOChannel.ID channel, boolean compressionEnabled, BlockCompressionFactory compressionCodecFactory, int compressionBlockSize, int segmentSize) throws IOException
IOException
public static BlockChannelWriter<MemorySegment> createBlockChannelWriter(IOManager ioManager, FileIOChannel.ID channel, LinkedBlockingQueue<MemorySegment> bufferReturnQueue, boolean compressionEnable, BlockCompressionFactory compressionCodecFactory, int compressionBlockSize, int segmentSize) throws IOException
IOException
public static BlockChannelReader<MemorySegment> createBlockChannelReader(IOManager ioManager, FileIOChannel.ID channel, LinkedBlockingQueue<MemorySegment> bufferReturnQueue, boolean compressionEnable, BlockCompressionFactory compressionCodecFactory, int compressionBlockSize, int segmentSize) throws IOException
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.