Class TrackedSeekableChannelsProvider
java.lang.Object
com.illumon.iris.db.v2.locations.local.TrackedSeekableChannelsProvider
- All Implemented Interfaces:
io.deephaven.parquet.base.util.SeekableChannelsProvider
public class TrackedSeekableChannelsProvider extends Object implements io.deephaven.parquet.base.util.SeekableChannelsProvider
SeekableChannelsProvider
implementation that is constrained a Deephaven TrackedFileHandleFactory
.-
Constructor Summary
Constructors Constructor Description TrackedSeekableChannelsProvider(TrackedFileHandleFactory fileHandleFactory)
-
Method Summary
Modifier and Type Method Description static io.deephaven.parquet.base.util.SeekableChannelsProvider
getInstance()
SeekableByteChannel
getReadChannel(Path path)
SeekableByteChannel
getWriteChannel(Path filePath, boolean append)
-
Constructor Details
-
Method Details
-
getInstance
public static io.deephaven.parquet.base.util.SeekableChannelsProvider getInstance() -
getReadChannel
- Specified by:
getReadChannel
in interfaceio.deephaven.parquet.base.util.SeekableChannelsProvider
- Throws:
IOException
-
getWriteChannel
public final SeekableByteChannel getWriteChannel(@NotNull Path filePath, boolean append) throws IOException- Specified by:
getWriteChannel
in interfaceio.deephaven.parquet.base.util.SeekableChannelsProvider
- Throws:
IOException
-