Class InputStreamIndexInput

java.lang.Object
java.io.InputStream
org.elasticsearch.common.lucene.store.InputStreamIndexInput
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public class InputStreamIndexInput
extends java.io.InputStream
  • Constructor Summary

    Constructors
    Constructor Description
    InputStreamIndexInput​(org.apache.lucene.store.IndexInput indexInput, long limit)  
  • Method Summary

    Modifier and Type Method Description
    long actualSizeToRead()  
    void mark​(int readlimit)  
    boolean markSupported()  
    int read()  
    int read​(byte[] b, int off, int len)  
    void reset()  

    Methods inherited from class java.io.InputStream

    available, close, nullInputStream, read, readAllBytes, readNBytes, readNBytes, skip, skipNBytes, transferTo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • InputStreamIndexInput

      public InputStreamIndexInput​(org.apache.lucene.store.IndexInput indexInput, long limit)
  • Method Details

    • actualSizeToRead

      public long actualSizeToRead()
    • read

      public int read​(byte[] b, int off, int len) throws java.io.IOException
      Overrides:
      read in class java.io.InputStream
      Throws:
      java.io.IOException
    • read

      public int read() throws java.io.IOException
      Specified by:
      read in class java.io.InputStream
      Throws:
      java.io.IOException
    • markSupported

      public boolean markSupported()
      Overrides:
      markSupported in class java.io.InputStream
    • mark

      public void mark​(int readlimit)
      Overrides:
      mark in class java.io.InputStream
    • reset

      public void reset() throws java.io.IOException
      Overrides:
      reset in class java.io.InputStream
      Throws:
      java.io.IOException