Example usage for org.apache.lucene.store BufferedIndexInput wrap

List of usage examples for org.apache.lucene.store BufferedIndexInput wrap

Introduction

In this page you can find the example usage for org.apache.lucene.store BufferedIndexInput wrap.

Prototype

public static BufferedIndexInput wrap(String sliceDescription, IndexInput other, long offset, long length) 

Source Link

Document

Wraps a portion of another IndexInput with buffering.

Usage

From source file:com.senseidb.clue.util.CustomBufferedIndexInput.java

License:Apache License

@Override
public IndexInput slice(String sliceDescription, long offset, long length) throws IOException {
    return BufferedIndexInput.wrap(sliceDescription, this, offset, length);
}