Class RFileSource

java.lang.Object
org.apache.accumulo.core.client.rfile.RFileSource

public class RFileSource extends Object
RFile metadata is stored at the end of the file. Inorder to read an RFile, its length must be known. This provides a way to pass an InputStream and length for reading an RFile.
Since:
1.8.0
  • Constructor Details

    • RFileSource

      public RFileSource(InputStream in, long len)
    • RFileSource

      public RFileSource(InputStream in, long len, Range range)
      Since:
      4.0.0
  • Method Details

    • getInputStream

      public InputStream getInputStream()
    • getLength

      public long getLength()
    • getRange

      public Range getRange()
      Returns:
      The range of the RFileSource
      Since:
      4.0.0