public abstract class Directory.IndexInputSlicer
extends java.lang.Object
implements java.io.Closeable
IndexInput instances from a single
file handle. Some Directory implementations may be able to efficiently map slices of a file
into memory when only certain parts of a file are required.| Constructor and Description |
|---|
IndexInputSlicer() |
| Modifier and Type | Method and Description |
|---|---|
abstract IndexInput |
openFullSlice()
Deprecated.
Only for reading CFS files from 3.x indexes.
|
abstract IndexInput |
openSlice(java.lang.String sliceDescription,
long offset,
long length)
Returns an
IndexInput slice starting at the given offset with the given length. |
public abstract IndexInput openSlice(java.lang.String sliceDescription, long offset, long length) throws java.io.IOException
IndexInput slice starting at the given offset with the given length.java.io.IOException@Deprecated public abstract IndexInput openFullSlice() throws java.io.IOException
IndexInput slice starting at offset 0 with a
length equal to the length of the underlying filejava.io.IOExceptionCopyright © 2010 - 2024 Adobe. All Rights Reserved