Show / Hide Table of Contents

    Class Directory.IndexInputSlicer

    Allows to create one or more sliced 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.

    @lucene.internal

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    Directory.IndexInputSlicer
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class IndexInputSlicer : IDisposable

    Methods

    | Improve this Doc View Source

    Dispose()

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    Declaration
    protected abstract void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    OpenFullSlice()

    Returns an IndexInput slice starting at offset 0 with a length equal to the length of the underlying file

    Declaration
    public abstract IndexInput OpenFullSlice()
    Returns
    Type Description
    IndexInput
    | Improve this Doc View Source

    OpenSlice(String, Int64, Int64)

    Returns an IndexInput slice starting at the given offset with the given length.

    Declaration
    public abstract IndexInput OpenSlice(string sliceDescription, long offset, long length)
    Parameters
    Type Name Description
    System.String sliceDescription
    System.Int64 offset
    System.Int64 length
    Returns
    Type Description
    IndexInput
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)