public static class HsFileDataIndex.ReadableRegion extends Object
For efficiency, the index may not remember offsets of all buffers. Thus, a region is
described as: starting from the offset
, skip the first numSkip
buffers and
include the next numReadable
buffers.
Modifier and Type | Field and Description |
---|---|
int |
numReadable
|
int |
numSkip
From the
offset , number of buffers to skip. |
long |
offset
The file offset to begin with.
|
Constructor and Description |
---|
ReadableRegion(int numSkip,
int numReadable,
long offset) |
public final int numSkip
offset
, number of buffers to skip.public final int numReadable
public final long offset
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.