Package org.apache.parquet.io
Class ParquetFileRange
- java.lang.Object
-
- org.apache.parquet.io.ParquetFileRange
-
public class ParquetFileRange extends Object
Class to define a file range for a parquet file and to hold future data for any ongoing read for that range.
-
-
Constructor Summary
Constructors Constructor Description ParquetFileRange(long offset, int length)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<ByteBuffer>getDataReadFuture()intgetLength()longgetOffset()voidsetDataReadFuture(CompletableFuture<ByteBuffer> dataReadFuture)StringtoString()
-
-
-
Method Detail
-
getOffset
public long getOffset()
-
getLength
public int getLength()
-
getDataReadFuture
public CompletableFuture<ByteBuffer> getDataReadFuture()
-
setDataReadFuture
public void setDataReadFuture(CompletableFuture<ByteBuffer> dataReadFuture)
-
-